diff options
author | Samuel Pitoiset <[email protected]> | 2017-11-14 17:27:27 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-11-15 09:01:01 +0100 |
commit | 8fd213277f390068d91467c111bdbca9eb2c349b (patch) | |
tree | 759679ada22ad2d3d85155bf55860bcf88d3efaa /src/amd/vulkan | |
parent | f697365058c7bdf6e2fff6de78986974e5b2149c (diff) |
radv: drop radv_cmd_dirty_mask_t typedef
I don't think we will need a 64-bit unsigned integer for the
dirty flags in the future, and there is still 20 bits left.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index f006dc98c05..faffca83308 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1019,7 +1019,7 @@ static void radv_pipeline_init_dynamic_state(struct radv_pipeline *pipeline, const VkGraphicsPipelineCreateInfo *pCreateInfo) { - radv_cmd_dirty_mask_t states = RADV_CMD_DIRTY_DYNAMIC_ALL; + uint32_t states = RADV_CMD_DIRTY_DYNAMIC_ALL; RADV_FROM_HANDLE(radv_render_pass, pass, pCreateInfo->renderPass); struct radv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 8b03591b5cb..a416f38a730 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -702,7 +702,6 @@ enum radv_cmd_dirty_bits { RADV_CMD_DIRTY_INDEX_BUFFER = 1 << 10, RADV_CMD_DIRTY_FRAMEBUFFER = 1 << 11, }; -typedef uint32_t radv_cmd_dirty_mask_t; enum radv_cmd_flush_bits { RADV_CMD_FLAG_INV_ICACHE = 1 << 0, @@ -817,7 +816,7 @@ struct radv_cmd_state { bool push_descriptors_dirty; bool predicating; - radv_cmd_dirty_mask_t dirty; + uint32_t dirty; struct radv_pipeline * pipeline; struct radv_pipeline * emitted_pipeline; |