aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-03 17:05:05 +0100
committerMarek Olšák <[email protected]>2016-01-07 18:26:06 +0100
commitb0df5f4c19f2c084fe65b13f5712433c91ad83d0 (patch)
tree42040daf528569f9390127623b8fe28cf96efcc7 /src/gallium/drivers/radeonsi/si_shader.c
parentc9c031f3d0ed28a65b78748ed1e6e2ec29336451 (diff)
radeonsi: inline si_shader_binary_read
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index ccb179c1f67..36b0364a204 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -3885,12 +3885,6 @@ void si_shader_dump(struct si_screen *sscreen,
si_shader_dump_stats(sscreen, conf, binary->code_size, debug, processor);
}
-void si_shader_binary_read(struct radeon_shader_binary *binary,
- struct si_shader_config *conf)
-{
- si_shader_binary_read_config(binary, conf, 0);
-}
-
int si_compile_llvm(struct si_screen *sscreen,
struct radeon_shader_binary *binary,
struct si_shader_config *conf,
@@ -3917,7 +3911,7 @@ int si_compile_llvm(struct si_screen *sscreen,
return r;
}
- si_shader_binary_read(binary, conf);
+ si_shader_binary_read_config(binary, conf, 0);
si_shader_dump(sscreen, binary, conf, debug, processor);
FREE(binary->config);