mesa/src/amd
Pierre-Eric Pelloux-Prayer 3914bd457b amd/registers: fix fields conflict detection
The existing code handled the case where the new definition of the
same field was larger than the old one.
This commit adds a check to handle the reverse case: the new def
is smaller than the old one (= so writing using the merged macro
would affect the next fields).

The affected fields are:
* LGKM_CNT (in SQ_WAVE_IB_STS)
* DONUT_SPLIT (in VGT_TESS_DISTRIBUTION)
* HEAD_QUEUE (in GDS_GWS_RESOURCE)

DONUT_SPLIT is the only one used by radeonsi/radv.

Fixes: e6184b0892 ("amd/registers: scripts for processing register descriptions in JSON")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12063>
2021-07-30 08:50:38 +00:00
..
addrlib amd/addrlib: remove Meson debug message() 2021-06-22 23:47:19 +00:00
ci Revert "CI: Disable LAVA devices" 2021-07-22 08:42:40 +01:00
common radv, aco, ac/nir: Tweak position export scheduling for NGG culling. 2021-07-13 23:56:33 +00:00
compiler aco: implement VK_EXT_shader_atomic_float2 2021-07-27 08:44:31 +02:00
llvm amd: Don't handle nir_tex_src_ms_mcs 2021-07-23 15:53:57 +00:00
registers amd/registers: fix fields conflict detection 2021-07-30 08:50:38 +00:00
vulkan amd/registers: fix fields conflict detection 2021-07-30 08:50:38 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00