projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deeb1e9
)
anv/gen7_pipeline: Set sample mask field in 3DSTATE_PS
author
Anuj Phogat
<anuj.phogat@gmail.com>
Mon, 26 Sep 2016 18:40:00 +0000
(11:40 -0700)
committer
Anuj Phogat
<anuj.phogat@gmail.com>
Tue, 4 Oct 2016 20:20:35 +0000
(13:20 -0700)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/gen7_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/gen7_pipeline.c
b/src/intel/vulkan/gen7_pipeline.c
index 8de9749043dd6414b44373a5a23ad5a33cf20035..d4d494f6210dd01b4228bf74ebb2396d0334b2f1 100644
(file)
--- a/
src/intel/vulkan/gen7_pipeline.c
+++ b/
src/intel/vulkan/gen7_pipeline.c
@@
-237,6
+237,9
@@
genX(graphics_pipeline_create)(
/* Haswell requires the sample mask to be set in this packet as well as
* in 3DSTATE_SAMPLE_MASK; the values should match. */
/* _NEW_BUFFERS, _NEW_MULTISAMPLE */
+#if GEN_IS_HASWELL
+ ps.SampleMask = 0xff;
+#endif
}
uint32_t samples = pCreateInfo->pMultisampleState ?