summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-04-16 14:48:34 +0200
committerMarek Olšák <[email protected]>2016-04-22 01:30:39 +0200
commitc9e5a7df61d92aa5525dcc825bc3c6cb3a60f96b (patch)
treea33131633a962069528e19885232f0ae57cee07a /src/gallium/drivers
parentaf249a7da9bf2621ab836d5074ef692677b11bbf (diff)
gallium: remove helpers converting to/from TGSI_PROCESSOR_*
Acked-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 80247f7281a..52b9851e01e 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -1037,7 +1037,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx,
sel->so = state->stream_output;
tgsi_scan_shader(state->tokens, &sel->info);
- sel->type = util_pipe_shader_from_tgsi_processor(sel->info.processor);
+ sel->type = sel->info.processor;
p_atomic_inc(&sscreen->b.num_shaders_created);
/* Set which opcode uses which (i,j) pair. */