r600g: clarify const buffer numbering and handling
authorDave Airlie <airlied@redhat.com>
Tue, 6 Nov 2012 05:31:41 +0000 (15:31 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Nov 2012 23:24:40 +0000 (09:24 +1000)
commit7356579540cf22743ce93a080a41bc2dc2bb150b
tree5f6844b547a529804412157f41b0c2fd5e4b565e
parent2fcaf4eae890930fc591df2dc9ad4f6422e8eed0
r600g: clarify const buffer numbering and handling

For cube map arrays I'll need another driver private constant
buffer, and looking forward to UBOs. So clean up with some
defines, that can be modified when adding cube map array and ubos
later.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state_common.c