diff options
author | Dave Airlie <[email protected]> | 2012-11-06 15:31:41 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-11-09 09:24:40 +1000 |
commit | 7356579540cf22743ce93a080a41bc2dc2bb150b (patch) | |
tree | 5f6844b547a529804412157f41b0c2fd5e4b565e /src/gallium/drivers/r600/r600_shader.c | |
parent | 2fcaf4eae890930fc591df2dc9ad4f6422e8eed0 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 8862d0ee70b..782fa4c469c 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1516,7 +1516,7 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen, alu.src[0].chan = j; alu.src[1].sel = 512 + i; - alu.src[1].kc_bank = 1; + alu.src[1].kc_bank = R600_UCP_CONST_BUFFER; alu.src[1].chan = j; alu.dst.sel = ctx.temp_reg + oreg; |