turnip: use common emit_xs_cntl to fill a6xx_sp_xs_ctrl_reg0
authorJonathan Marek <jonathan@marek.ca>
Sat, 6 Jun 2020 15:38:18 +0000 (11:38 -0400)
committerJonathan Marek <jonathan@marek.ca>
Mon, 8 Jun 2020 20:28:43 +0000 (16:28 -0400)
commitab72c07aefdac3dfcc6010ed357122d982771eee
treed6526ef8373e0707bed08b79dd86c2f744518489
parente16608e2338ded844a850c6242b08f65f43c1aed
turnip: use common emit_xs_cntl to fill a6xx_sp_xs_ctrl_reg0

Note this changes the value of SP_GS_CTRL_REG0, by using FOUR_QUADS and
setting MERGEDREGS. ir3 expects MERGEDREGS, and using FOUR_QUADS instead
of TWO_QUADS doesn't seem to hurt.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370>
src/freedreno/vulkan/tu_pipeline.c