summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-09 12:34:10 -0700
committerJason Ekstrand <[email protected]>2017-05-09 15:07:47 -0700
commitd2fe804d1890774828a5481f5873743d71d37c2a (patch)
tree5c1e42ca4a774d7e96bb5d9a6b424f3adbd42eb4 /src/mesa/drivers
parentca4d1928023755d099578b7354bf763b8fa4a0f8 (diff)
i965/vec4: Set VERT_BIT_EDGEFLAG based on the VUE map
We also add a nice little comment to make it more clear exactly what happens with the edge flag copy. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index b1ea01a9add..b823a4dd5c6 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -213,10 +213,6 @@ brw_codegen_vs_prog(struct brw_context *brw,
prog_data.inputs_read = vp->program.info.inputs_read;
prog_data.double_inputs_read = vp->program.info.double_inputs_read;
- if (key->copy_edgeflag) {
- prog_data.inputs_read |= VERT_BIT_EDGEFLAG;
- }
-
brw_compute_vue_map(devinfo,
&prog_data.base.vue_map, outputs_written,
vp->program.nir->info.separate_shader);