diff options
author | Chad Versace <[email protected]> | 2015-10-16 20:03:46 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-20 11:40:24 -0700 |
commit | 4d4e559b6a26d2942c2a24cc81588adc2482f415 (patch) | |
tree | c86e288995b886796d676a2af40d01e66a4c53ae /src/vulkan/anv_pipeline.c | |
parent | 2484d1a01fff6127b45280ee9bfbd1bbfaa425db (diff) |
vk: Use consistent names for anv_cmd_state dirty bits
Prefix all anv_cmd_state dirty bit tokens with ANV_CMD_DIRTY. For
example:
old -> new
ANV_DYNAMIC_VIEWPORT_DIRTY -> ANV_CMD_DIRTY_DYNAMIC_VIEWPORT
ANV_CMD_BUFFER_PIPELINE_DIRTY -> ANV_CMD_DIRTY_PIPELINE
Change type of anv_cmd_state::dirty and ::compute_dirty from uint32_t to
the self-documenting type anv_cmd_dirty_mask_t.
Diffstat (limited to 'src/vulkan/anv_pipeline.c')
-rw-r--r-- | src/vulkan/anv_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c index 41a4d06403b..fda382eee19 100644 --- a/src/vulkan/anv_pipeline.c +++ b/src/vulkan/anv_pipeline.c @@ -181,7 +181,7 @@ static void anv_pipeline_init_dynamic_state(struct anv_pipeline *pipeline, const VkGraphicsPipelineCreateInfo *pCreateInfo) { - uint32_t states = ANV_DYNAMIC_STATE_DIRTY_MASK; + anv_cmd_dirty_mask_t states = ANV_CMD_DIRTY_DYNAMIC_ALL; ANV_FROM_HANDLE(anv_render_pass, pass, pCreateInfo->renderPass); struct anv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; |