mesa/src/intel/common
Jason Ekstrand 2abd7ae189 intel/decoder: Clean up field iteration and fix sub-dword fields
First of all, setting iter->name in advance_field is unnecessary because
it gets set by gen_decode_field which gets called immediately after
gen_decode_field in the one call-site.  Second, we weren't properly
initializing start_bit and end_bit in the initial condition of
gen_field_iterator_next so the first field of a struct would get printed
wrong if it doesn't start on the first bit.  This is fixed by adding a
iter_start_field helper which sets the field and also sets up the other
bits we need.  This fixes decoding of 3DSTATE_SBE_SWIZ.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-08-25 07:50:36 -05:00
..
gen_batch_decoder.c intel/batch-decoder: replace local ARRAY_LENGTH() macro with global ARRAY_SIZE() 2018-08-16 17:38:31 +01:00
gen_clflush.h intel: Fix clflushing on modern (Baytrail+) Atom CPUs. 2017-07-10 15:55:26 -07:00
gen_debug.c i965: add a debug option to disable oa config loading 2017-11-28 13:34:04 +00:00
gen_debug.h i965: Disable shader cache with INTEL_DEBUG=shader_time 2018-08-01 23:30:49 -07:00
gen_decoder.c intel/decoder: Clean up field iteration and fix sub-dword fields 2018-08-25 07:50:36 -05:00
gen_decoder.h intel: decoder: remove unused variable 2018-08-04 09:38:58 +01:00
gen_defines.h intel: add new common header gen_defines.h 2018-02-28 14:36:57 +02:00
gen_disasm.c intel: Make the disassembler take a const pointer to the assembly. 2018-07-24 11:04:56 -07:00
gen_disasm.h intel: Make the disassembler take a const pointer to the assembly. 2018-07-24 11:04:56 -07:00
gen_gem.h intel: common: add missing stdint include 2018-08-04 09:39:01 +01:00
gen_l3_config.c intel/common/icl: Add L3 config 2018-03-22 09:56:09 -07:00
gen_l3_config.h intel: Split gen_device_info out into libintel_dev 2018-03-05 09:47:37 -08:00
gen_sample_positions.h intel: Switch the order of the 2x MSAA sample positions 2018-08-11 10:58:12 -05:00
gen_urb_config.c mesa: include mtypes.h less 2018-04-12 19:31:30 -04:00
intel_log.c intel: Add simple logging façade for Android (v2) 2017-10-17 11:08:26 -07:00
intel_log.h intel: Add simple logging façade for Android (v2) 2017-10-17 11:08:26 -07:00
meson.build anv: move canonical_address calculation into a separate function 2018-05-27 19:24:33 -07:00