summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-29 22:12:36 -0700
committerJason Ekstrand <[email protected]>2017-06-01 15:33:37 -0700
commit58051ad22046253d4ed9644407d5c2ee8a22aa31 (patch)
tree1171d5f888f6f5e84e1ced5e113af9cf90c55ea4 /src/intel/vulkan/anv_wsi.c
parentfe13c59c1b0e06b7ce447e165297b646a7aa5763 (diff)
intel/isl: Refactor isl_calc_array_pitch_el_rows
Over 90% of the function only applies to ISL_DIM_LAYOUT_GEN4_2D anyway so we can just handle the other two as special cases at the top. The two "generic" cases below the switch only apply on gen9 and above and only to 3D or CCS surfaces. This implies that they only apply to surfaces with ISL_DIM_LAYOUT_GEN4_2D. Making them look generic is a lie. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.c')
0 files changed, 0 insertions, 0 deletions