summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2013-08-18 02:34:23 +0200
committerMarek Olšák <marek.olsak@amd.com>2013-09-13 01:04:44 +0200
commit2993ccab389d6887b5f1b55981b21d9070e8f4b8 (patch)
tree4957fb0a77c61bb5437b6a1ecf109c217695a8e3 /src/gallium/drivers/radeonsi/radeonsi_shader.c
parente4c5d3ee27e125a20b4899b0c95f517d4e2f07e9 (diff)
downloadexternal_mesa3d-2993ccab389d6887b5f1b55981b21d9070e8f4b8.zip
external_mesa3d-2993ccab389d6887b5f1b55981b21d9070e8f4b8.tar.gz
external_mesa3d-2993ccab389d6887b5f1b55981b21d9070e8f4b8.tar.bz2
radeonsi: bind streamout buffers to VGT and the vertex shader
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c
index 77915ae..335cd79 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_shader.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c
@@ -1364,6 +1364,7 @@ static void create_function(struct si_shader_context *si_shader_ctx)
switch (si_shader_ctx->type) {
case TGSI_PROCESSOR_VERTEX:
params[SI_PARAM_VERTEX_BUFFER] = params[SI_PARAM_CONST];
+ params[SI_PARAM_SO_BUFFER] = params[SI_PARAM_CONST];
params[SI_PARAM_START_INSTANCE] = i32;
last_sgpr = SI_PARAM_START_INSTANCE;
params[SI_PARAM_VERTEX_ID] = i32;