turnip: fix emit_ibo
authorJonathan Marek <jonathan@marek.ca>
Sun, 15 Dec 2019 15:51:39 +0000 (10:51 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 21:04:42 +0000 (21:04 +0000)
commit718bd4f8b4239443c06d94e3a80368f4c27a53d9
tree43030abaf9ca560f5fc7694d206c2a7207240a4a
parent65007d438ca515031dbaf4194c05528005e9cc2a
turnip: fix emit_ibo

Based on the GL driver:
-Compute needs different opcode (this fixes a GPU hang problem)
-REG_A6XX_SP_IBO_LO/REG_A6XX_SP_CS_IBO_LO were swapped

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>
src/freedreno/vulkan/tu_cmd_buffer.c