diff options
author | Kenneth Graunke <[email protected]> | 2016-10-03 23:36:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-11-19 12:30:25 -0800 |
commit | 19c652b29ce7271374cd0951bdadc9840964e78e (patch) | |
tree | 1a23f9e5703d4da0fcd972ad4a3568c102c240a4 /src/mesa/drivers/dri/i965/brw_gs.c | |
parent | c447ca64c13f386474e518e0e8dd523ee24507fe (diff) |
i965: Use shader_info for brw_vue_prog_data::cull_distance_mask.
This also allows us to move it from a GL specific location to a
part of the compiler shared by both GL and Vulkan.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index b83fdb4bae8..a11ef73d9db 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -136,10 +136,6 @@ brw_codegen_gs_prog(struct brw_context *brw, uint64_t outputs_written = gp->program.info.outputs_written; - prog_data.base.cull_distance_mask = - ((1 << gp->program.CullDistanceArraySize) - 1) << - gp->program.ClipDistanceArraySize; - brw_compute_vue_map(devinfo, &prog_data.base.vue_map, outputs_written, prog->SeparateShader); |