summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-07-18 13:19:46 -0700
committerKenneth Graunke <[email protected]>2014-07-21 14:59:13 -0700
commit29af97f2804442e7952b98f8cea8e8ff740d196e (patch)
tree32c18bd5d2c33f3377fafbc68eb9e60799b4b9e2 /src/mesa/drivers/dri/i965
parent38ffef7840edddada23bac48f669d2070e6f158c (diff)
i965/fs: Fix gl_SampleMask handling for SIMD16 on Gen8+.
We actually want to use mov(16), not mov(8). Fixes 7 Piglit tests: ARB_sample_shading/builtin-gl-sample-mask [2468] and ARB_sample_shading/builtin-gl-sample-mask-simple [468]. Signed-off-by: Kenneth Graunke <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80991 Reviewed-by: Matt Turner <[email protected]> Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/gen8_fs_generator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp b/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp
index 2924820347f..2d745fd374f 100644
--- a/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/gen8_fs_generator.cpp
@@ -715,13 +715,8 @@ gen8_fs_generator::generate_set_omask(fs_inst *inst,
mask.hstride == BRW_HORIZONTAL_STRIDE_0);
}
- unsigned save_exec_size = default_state.exec_size;
- default_state.exec_size = BRW_EXECUTE_8;
-
gen8_instruction *mov = MOV(dst, retype(mask, dst.type));
gen8_set_mask_control(mov, BRW_MASK_DISABLE);
-
- default_state.exec_size = save_exec_size;
}
/**