summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-09-16 18:45:33 +0200
committerMarek Olšák <[email protected]>2014-09-24 14:48:02 +0200
commit2774abd4cec70d95cb73f83c2c150e9f5171c50d (patch)
treeef253461747c416a541fe5e12df3db3f71eb6857 /src/gallium/drivers/radeonsi/si_shader.h
parent8c37c16cbc4fd84bbb648cac2189b02633e3f806 (diff)
radeonsi: shorten si_pipe_* prefixes to si_*
This was the original naming convention in r600g and it somehow crept into radeonsi. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 3cc77570c31..1f1cc32bc9c 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -112,7 +112,7 @@ struct si_shader_output {
struct si_shader;
-struct si_pipe_shader_selector {
+struct si_shader_selector {
struct si_shader *current;
struct tgsi_token *tokens;
@@ -147,7 +147,7 @@ union si_shader_key {
};
struct si_shader {
- struct si_pipe_shader_selector *selector;
+ struct si_shader_selector *selector;
struct si_shader *next_variant;
struct si_shader *gs_copy_shader;
@@ -196,10 +196,10 @@ static inline struct si_shader* si_get_vs_state(struct si_context *sctx)
}
/* radeonsi_shader.c */
-int si_pipe_shader_create(struct pipe_context *ctx, struct si_shader *shader);
-int si_pipe_shader_create(struct pipe_context *ctx, struct si_shader *shader);
+int si_shader_create(struct pipe_context *ctx, struct si_shader *shader);
+int si_shader_create(struct pipe_context *ctx, struct si_shader *shader);
int si_compile_llvm(struct si_context *sctx, struct si_shader *shader,
LLVMModuleRef mod);
-void si_pipe_shader_destroy(struct pipe_context *ctx, struct si_shader *shader);
+void si_shader_destroy(struct pipe_context *ctx, struct si_shader *shader);
#endif