summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_etc.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-02-24 16:23:02 -0800
committerChad Versace <[email protected]>2017-03-21 15:56:16 -0700
commit44ac618a4169c3ca35ec70dddac07d3e5346685a (patch)
tree62104c4b1235606a70d86e2f01968b36cae33943 /src/mesa/main/texcompress_etc.h
parentc2b706f8afed02f15ef6fd067e47d60e1f0987a5 (diff)
isl: Refactor row pitch calculation (v2)
The calculations of row_pitch, the row pitch's alignment, surface size, and base_alignment were mixed together. This patch moves the calculation of row_pitch and its alignment to occur before the calculation of surface_size and base_alignment. This simplifies a follow-on patch that adds a new member, 'row_pitch', to struct isl_surf_init_info. v2: - Also extract the row pitch alignment. - More helper functions that will later help validate the row pitch. Reviewed-by: Nanley Chery <[email protected]> (v2) Reviewed-by: Jason Ekstrand <[email protected]> (v2)
Diffstat (limited to 'src/mesa/main/texcompress_etc.h')
0 files changed, 0 insertions, 0 deletions