summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-31 21:09:20 +0100
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-11-02 12:36:31 +0100
commit7225a25ff195b94f2cf5a32ffd9a2ec883bcbfc8 (patch)
treec003618a52a932cbd8935286c64f02c00c6ac39c
parent92ff37666d457ef4a467c41fd9c931a532198ac9 (diff)
radeonsi: si_shader_vs only depends on the GS selector
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 69711587c1..ebe7a75a2f 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -524,7 +524,7 @@ static void si_shader_gs(struct si_shader *shader)
* is the copy shader.
*/
static void si_shader_vs(struct si_screen *sscreen, struct si_shader *shader,
- struct si_shader *gs)
+ struct si_shader_selector *gs)
{
struct si_pm4_state *pm4;
unsigned num_user_sgprs;
@@ -836,7 +836,7 @@ static void si_shader_init_pm4_state(struct si_screen *sscreen,
break;
case PIPE_SHADER_GEOMETRY:
si_shader_gs(shader);
- si_shader_vs(sscreen, shader->gs_copy_shader, shader);
+ si_shader_vs(sscreen, shader->gs_copy_shader, shader->selector);
break;
case PIPE_SHADER_FRAGMENT:
si_shader_ps(shader);