freedreno/ir3: fix 16-bit ssbo access
authorJonathan Marek <jonathan@marek.ca>
Thu, 23 Apr 2020 03:20:26 +0000 (23:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 13:11:58 +0000 (13:11 +0000)
commitedc35c1f54a0f72b6c0f01b2156c10c904459b4f
tree76b307526af37c05c7bb664802b0ee9c85789fc5
parentede1c171c550a48a7957af091e7ac84e088bc6ba
freedreno/ir3: fix 16-bit ssbo access

Update cat6 instruction type, and shift 1 in lower_offset_for_ssbo.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4708>
src/freedreno/ir3/disasm-a3xx.c
src/freedreno/ir3/ir3_a6xx.c
src/freedreno/ir3/ir3_nir_lower_io_offsets.c