diff options
author | Jason Ekstrand <[email protected]> | 2017-05-29 22:12:36 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-06-01 15:33:37 -0700 |
commit | 58051ad22046253d4ed9644407d5c2ee8a22aa31 (patch) | |
tree | 1171d5f888f6f5e84e1ced5e113af9cf90c55ea4 /src/intel/compiler/brw_fs_copy_propagation.cpp | |
parent | fe13c59c1b0e06b7ce447e165297b646a7aa5763 (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/compiler/brw_fs_copy_propagation.cpp')
0 files changed, 0 insertions, 0 deletions