ac,radv: remove the vec3 restriction with LLVM 9+
[mesa.git] / src / amd / vulkan / radv_meta.c
index 721c703983054dc120f5f31e9e480c2da8ed8ac0..3bfe49b4dab515da9fc85586700771be3ce1cb3a 100644 (file)
@@ -127,8 +127,8 @@ radv_meta_restore(const struct radv_meta_saved_state *state,
                             state->scissor.scissors,
                             MAX_SCISSORS);
 
-               cmd_buffer->state.dirty |= 1 << VK_DYNAMIC_STATE_VIEWPORT |
-                                          1 << VK_DYNAMIC_STATE_SCISSOR;
+               cmd_buffer->state.dirty |= RADV_CMD_DIRTY_DYNAMIC_VIEWPORT |
+                                          RADV_CMD_DIRTY_DYNAMIC_SCISSOR;
        }
 
        if (state->flags & RADV_META_SAVE_COMPUTE_PIPELINE) {