projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9954e4
)
r600g: increase array base for exported parameters
author
Dave Airlie
<airlied@redhat.com>
Tue, 28 Jan 2014 00:21:03 +0000
(10:21 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 5 Feb 2014 00:49:38 +0000
(10:49 +1000)
Trivial fix to Vadim's code.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 5d3f7c89406bab6ab5440702da90d3a87f9dce64..f4a3194fe593ca10e7edd999fa08383d6b805a63 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-1221,6
+1221,9
@@
static int generate_gs_copy_shader(struct r600_context *rctx,
output.swizzle_z = 4; /* 0 */
output.swizzle_w = 5; /* 1 */
break;
+ default:
+ output.array_base = next_param++;
+ break;
}
r600_bytecode_add_output(ctx.bc, &output);
if (output.type == V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM)