summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.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_pipe.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_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 00d03beb73a..4b223b48d36 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -39,13 +39,13 @@
#define SI_MAX_DRAW_CS_DWORDS 18
-struct si_pipe_compute;
+struct si_compute;
struct si_screen {
struct r600_common_screen b;
};
-struct si_pipe_sampler_view {
+struct si_sampler_view {
struct pipe_sampler_view base;
struct list_head list;
struct r600_resource *resource;
@@ -53,13 +53,13 @@ struct si_pipe_sampler_view {
uint32_t fmask_state[8];
};
-struct si_pipe_sampler_state {
+struct si_sampler_state {
uint32_t val[4];
uint32_t border_color[4];
};
struct si_cs_shader_state {
- struct si_pipe_compute *program;
+ struct si_compute *program;
};
struct si_textures_info {
@@ -118,9 +118,10 @@ struct si_context {
unsigned pa_su_sc_mode_cntl;
/* for saving when using blitter */
struct pipe_stencil_ref stencil_ref;
- struct si_pipe_shader_selector *ps_shader;
- struct si_pipe_shader_selector *gs_shader;
- struct si_pipe_shader_selector *vs_shader;
+ /* shaders */
+ struct si_shader_selector *ps_shader;
+ struct si_shader_selector *gs_shader;
+ struct si_shader_selector *vs_shader;
struct si_cs_shader_state cs_shader_state;
/* shader information */
unsigned sprite_coord_enable;