summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-04 19:14:48 -0800
committerJason Ekstrand <[email protected]>2016-03-04 19:18:20 -0800
commitc1436e80efee072f1fc3e3b4af0d5e7ad9dd3fb7 (patch)
tree56d0a46d0661c40214d52551e7fdf04d1e99a3a1 /src/intel/vulkan
parentcc57efc67abb5b81ebc2648775d8829ab27b7df8 (diff)
anv/meta_clear: Set the right number of dynamic states
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_meta_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta_clear.c b/src/intel/vulkan/anv_meta_clear.c
index c052b8b11f6..8f92a9d755c 100644
--- a/src/intel/vulkan/anv_meta_clear.c
+++ b/src/intel/vulkan/anv_meta_clear.c
@@ -192,7 +192,7 @@ create_pipeline(struct anv_device *device,
* we need only restore dynamic state was vkCmdSet.
*/
.sType = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO,
- .dynamicStateCount = 9,
+ .dynamicStateCount = 8,
.pDynamicStates = (VkDynamicState[]) {
/* Everything except stencil write mask */
VK_DYNAMIC_STATE_VIEWPORT,