r600: fix buffer resinfo opcode translation.
authorDave Airlie <airlied@redhat.com>
Thu, 1 Feb 2018 00:32:10 +0000 (10:32 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Feb 2018 01:59:55 +0000 (11:59 +1000)
commitdf155a73f4ba43fcc720c7b70b375ec9ed41bb89
tree19e41f8805ccc306f1c25de3468297c5d5e47cb8
parent679e4e7a46c5b37004f8363fb273afcd47e1b1da
r600: fix buffer resinfo opcode translation.

The vtx operations never got translated, so things worked by
0 being equal to 0, translate them so we can use the proper buffer
resinfo code.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c