Re: [Mesa-dev] [PATCH] r600: fix buffer resinfo opcode translation.

2018-01-31 Thread Roland Scheidegger
Ah I see now how that's supposed to work... Previous to adding GET_BUFFER_RESINFO the op was just a fixed zero, and the op for this is the same on eg/cm (and we should not hit it with r600). But indeed that looks more like the code elsewhere... Reviewed-by: Roland Scheidegger

[Mesa-dev] [PATCH] r600: fix buffer resinfo opcode translation.

2018-01-31 Thread Dave Airlie
From: Dave Airlie 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. Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_asm.c| 2 +-