anv/meta_clear: Set the right number of dynamic states

This commit is contained in:
Jason Ekstrand 2016-03-04 19:14:48 -08:00
parent cc57efc67a
commit c1436e80ef
1 changed files with 1 additions and 1 deletions

View 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,