diff options
author | Michel Dänzer <[email protected]> | 2012-08-23 17:10:37 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-08-27 11:51:41 +0200 |
commit | d1e40b3d40b2e90ad4f275565f1ae27fe6f964cc (patch) | |
tree | 41a93fa06f09fad3ba0ae3071a4997c58c0406e6 /src/gallium/drivers/radeonsi/radeonsi_pipe.h | |
parent | 84fdda280f4361add3802476ce9a30ac1c0b4c69 (diff) |
radeonsi: Maintain cache of pixel shader variants according to contxt state.
Mostly inspired by r600g commit 4acf71f01ea1edb253cd38cc059d4af1a2a40bf4
('r600g: cache shader variants instead of rebuilding v3').
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index bec2939d3f7..989bb49cbee 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -126,8 +126,8 @@ struct r600_context { unsigned pa_cl_vs_out_cntl; /* for saving when using blitter */ struct pipe_stencil_ref stencil_ref; - struct si_pipe_shader *ps_shader; - struct si_pipe_shader *vs_shader; + struct si_pipe_shader_selector *ps_shader; + struct si_pipe_shader_selector *vs_shader; struct pipe_query *current_render_cond; unsigned current_render_cond_mode; struct pipe_query *saved_render_cond; |