intel/isl: Add a unit suffixes to some struct fields and variables
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Sep 2018 19:02:12 +0000 (14:02 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 26 Sep 2018 13:52:26 +0000 (08:52 -0500)
commitb3f477ef7aa96a22be3c72d321b55b2fcf70487c
tree39d757ae4cdd1b0880c577e96f8394aad7508d29
parent0d495bec25bd7584de4e988c2b4528c1996bc1d0
intel/isl: Add a unit suffixes to some struct fields and variables

I was about to make the claim to someone that every field in isl_surf
is either an enum or has explicit units.  Then I looked at isl_surf and
discovered this claim was wrong.  We should fix that.  This commit does
a few refactors:

 * Add _B suffixes to some struct fields
 * Add _B to some variables and parameters
 * Rename row_pitch_tiles -> row_pitch_tl

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
22 files changed:
src/intel/blorp/blorp_blit.c
src/intel/blorp/blorp_clear.c
src/intel/isl/isl.c
src/intel/isl/isl.h
src/intel/isl/isl_emit_depth_stencil.c
src/intel/isl/isl_storage_image.c
src/intel/isl/isl_surface_state.c
src/intel/isl/tests/isl_surf_get_image_offset_test.c
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_blit.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_tex_image.c