summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index d0c987ae269..c10f65d4f06 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1691,6 +1691,8 @@ struct anv_cmd_pipeline_state {
*/
struct anv_cmd_graphics_state {
struct anv_cmd_pipeline_state base;
+
+ anv_cmd_dirty_mask_t dirty;
};
/** State tracking for compute pipeline
@@ -1702,6 +1704,8 @@ struct anv_cmd_graphics_state {
*/
struct anv_cmd_compute_state {
struct anv_cmd_pipeline_state base;
+
+ bool pipeline_dirty;
};
/** State required while building cmd buffer */
@@ -1714,8 +1718,6 @@ struct anv_cmd_state {
struct anv_cmd_compute_state compute;
uint32_t vb_dirty;
- anv_cmd_dirty_mask_t dirty;
- anv_cmd_dirty_mask_t compute_dirty;
enum anv_pipe_bits pending_pipe_bits;
uint32_t num_workgroups_offset;
struct anv_bo *num_workgroups_bo;