anv/meta_clear: Set the right number of dynamic states
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Mar 2016 03:14:48 +0000 (19:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Mar 2016 03:18:20 +0000 (19:18 -0800)
src/intel/vulkan/anv_meta_clear.c

index c052b8b11f6d43e11755d7669584f579f00a72c6..8f92a9d755c9920a7e364fe685d83943db8b7f1c 100644 (file)
@@ -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,