mesa/src/intel
Chad Versace 44ac618a41 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 <nanley.g.chery@intel.com> (v2)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
2017-03-21 15:56:16 -07:00
..
blorp i965: Drop AUB_TRACE_* stuff. 2017-03-21 13:49:18 -07:00
common intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
compiler nir: Rework conversion opcodes 2017-03-14 07:36:40 -07:00
genxml genxml: Make MI_STORE_DATA_IMM have a single 64-bit data field 2017-03-17 15:31:19 -07:00
isl isl: Refactor row pitch calculation (v2) 2017-03-21 15:56:16 -07:00
tools intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
vulkan i965: Drop AUB_TRACE_* stuff. 2017-03-21 13:49:18 -07:00
Android.blorp.mk i965: Move the back-end compiler to src/intel/compiler 2017-03-13 11:16:34 +00:00
Android.common.mk android: intel: fix include paths in new "common" library 2016-09-03 20:03:16 -07:00
Android.compiler.mk android: add src/intel/compiler to libmesa_intel_compiler includes 2017-03-14 07:48:22 +02:00
Android.genxml.mk android: intel: Flatten the makefile structure 2016-08-29 12:17:34 -07:00
Android.isl.mk i965: Move the back-end compiler to src/intel/compiler 2017-03-13 11:16:34 +00:00
Android.mk intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Android.vulkan.mk android: add '/vulkan' to libmesa_anv_entrypoints path 2017-03-14 07:48:30 +02:00
Makefile.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.compiler.am intel/compiler: link all tests again gtest, even test_eu_compact" 2017-03-13 11:16:35 +00:00
Makefile.genxml.am aubinator/genxml: use gzipped files to store embedded genxml 2017-03-13 13:36:31 +00:00
Makefile.isl.am intel/isl: Stop linking libi965_compiler.la into tests 2017-03-13 11:16:33 +00:00
Makefile.sources intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
Makefile.tools.am intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
Makefile.vulkan.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00