projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63fe65
)
anv: Only set 3DSTATE_PS::VectorMaskEnable on gen8+
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 13 Mar 2019 22:27:39 +0000
(17:27 -0500)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 Mar 2019 17:22:20 +0000
(12:22 -0500)
We don't set it on HSW and earlier in i965 and disabling it appears to
make derivatives somewhat more reliable.
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/genX_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/genX_pipeline.c
b/src/intel/vulkan/genX_pipeline.c
index 975052deb799d9785db86b139b0cadbf102c56d0..3767e5033c575bc6118b6ed6833b47abbbc2718d 100644
(file)
--- a/
src/intel/vulkan/genX_pipeline.c
+++ b/
src/intel/vulkan/genX_pipeline.c
@@
-1761,7
+1761,7
@@
emit_3dstate_ps(struct anv_pipeline *pipeline,
brw_wm_prog_data_prog_offset(wm_prog_data, ps, 2);
ps.SingleProgramFlow = false;
- ps.VectorMaskEnable =
true
;
+ ps.VectorMaskEnable =
GEN_GEN >= 8
;
/* WA_1606682166 */
ps.SamplerCount = GEN_GEN == 11 ? 0 : get_sampler_count(fs_bin);
/* Gen 11 workarounds table #2056 WABTPPrefetchDisable */