diff --git a/.pick_status.json b/.pick_status.json index 0b51d04f417..570e6567e87 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2824,7 +2824,7 @@ "description": "anv: check for pending_db_mode when dirtying descriptor mode", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "ab7641b8dcbfee419b761abb27fe6fed476b4e05", "notes": null diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index d239ae32008..78465b4c2d9 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -762,7 +762,7 @@ static void anv_cmd_buffer_maybe_dirty_descriptor_mode(struct anv_cmd_buffer *cmd_buffer, enum anv_cmd_descriptor_buffer_mode new_mode) { - if (cmd_buffer->state.current_db_mode == new_mode) + if (cmd_buffer->state.pending_db_mode == new_mode) return; /* Ensure we program the STATE_BASE_ADDRESS properly at least once */