summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state_shaders.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-24 17:30:16 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:40 +0200
commitb49c2c9fa39f5a24d0c28863438d7e428aa564df (patch)
treef67da27eaf4ded727373cd3ce5806acbbc1486b1 /src/gallium/drivers/radeonsi/si_state_shaders.c
parent9061dca8724846f88fffd2da67099c5c626f2c9f (diff)
radeonsi/nir: perform lowering of input/output driver locations
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_shaders.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 5a0ead1313a..8a795c0faef 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -1989,6 +1989,8 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
sel->nir = state->ir.nir;
si_nir_scan_shader(sel->nir, &sel->info);
+
+ si_lower_nir(sel);
}
sel->type = sel->info.processor;