summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-02-11 19:01:10 +0100
committerRoland Scheidegger <[email protected]>2010-02-11 19:01:10 +0100
commited0f3b08b65679452132a9caeef1509a8dac23b9 (patch)
tree00a8193f0c860da94f10eccef85011089b30fe61 /src/gallium/drivers/r300/r300_blit.c
parentbf4b0773c570017c1c3ec80da769bf5c39a685b2 (diff)
gallium: make u_blitter code save/restore stencil ref values
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index cdedb302209..faaf9523cb2 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -27,6 +27,7 @@ static void r300_blitter_save_states(struct r300_context* r300)
{
util_blitter_save_blend(r300->blitter, r300->blend_state.state);
util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state);
+ util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref));
util_blitter_save_rasterizer(r300->blitter, r300->rs_state.state);
util_blitter_save_fragment_shader(r300->blitter, r300->fs);
util_blitter_save_vertex_shader(r300->blitter, r300->vs);