mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
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> |
||
|---|---|---|
| .. | ||
| gen_batch_decoder.c | ||
| gen_clflush.h | ||
| gen_debug.c | ||
| gen_debug.h | ||
| gen_decoder.c | ||
| gen_decoder.h | ||
| gen_defines.h | ||
| gen_disasm.c | ||
| gen_disasm.h | ||
| gen_gem.h | ||
| gen_l3_config.c | ||
| gen_l3_config.h | ||
| gen_sample_positions.h | ||
| gen_urb_config.c | ||
| intel_log.c | ||
| intel_log.h | ||
| meson.build | ||