nvc0: use a different offset for buffers and surfaces
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Mar 2016 10:43:01 +0000 (12:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Mar 2016 22:47:28 +0000 (00:47 +0200)
commitb8b3af2932039c6105d61f6922157a250ed8b79a
tree5dc74270a0b5b665fda2f8c934ef79f1c0890a45
parent60d6a8989ab44cf47accee6bc692ba6fb98f6a9f
nvc0: use a different offset for buffers and surfaces

To not overwrite buffers and surfaces information, we need to use
a different offset in the driver constant buffer. Currently, OP_SUQ
is only supported for buffers but this will be slightly updated for
images support.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
src/gallium/drivers/nouveau/nvc0/nvc0_program.c