From: Jason Ekstrand Date: Sat, 5 Mar 2016 03:14:48 +0000 (-0800) Subject: anv/meta_clear: Set the right number of dynamic states X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1436e80efee072f1fc3e3b4af0d5e7ad9dd3fb7;p=mesa.git anv/meta_clear: Set the right number of dynamic states --- 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,