vk: Use consistent names for anv_cmd_state dirty bits
authorChad Versace <chad.versace@intel.com>
Sat, 17 Oct 2015 03:03:46 +0000 (20:03 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 20 Oct 2015 18:40:24 +0000 (11:40 -0700)
commit4d4e559b6a26d2942c2a24cc81588adc2482f415
treec86e288995b886796d676a2af40d01e66a4c53ae
parent2484d1a01fff6127b45280ee9bfbd1bbfaa425db
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.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_meta.c
src/vulkan/anv_pipeline.c
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c