freedreno/a6xx: Cleanup SP_XS_CTRL_REG0 definitions
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 9 Mar 2021 14:53:06 +0000 (15:53 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 20:58:39 +0000 (20:58 +0000)
commitee1f140fd9b295f2494606f803b4420bf752c112
tree8761d9c2e3ea689366d15d27db6161b968214310
parent9a5596d6798c587552e26d53fa6f0acbd649f937
freedreno/a6xx: Cleanup SP_XS_CTRL_REG0 definitions

The registers were actually different per-stage even though we used the
same type, which resulted in a bunch of incorrectly programmed fields
and confusion. Move the stage-specific values to the registers
themselves, which makes things much less confusing and makes it possible
to set "mergedregs" correctly.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9493>
src/freedreno/.gitlab-ci/reference/crash.log
src/freedreno/.gitlab-ci/reference/dEQP-VK.draw.indirect_draw.indexed.indirect_draw_count.triangle_list.log
src/freedreno/.gitlab-ci/reference/fd-clouds.log
src/freedreno/computerator/a6xx.c
src/freedreno/registers/adreno/a6xx.xml
src/freedreno/vulkan/tu_pipeline.c
src/gallium/drivers/freedreno/a6xx/fd6_compute.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c