gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state
authorRoland Scheidegger <sroland@vmware.com>
Tue, 9 Feb 2010 20:23:27 +0000 (21:23 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 9 Feb 2010 20:23:27 +0000 (21:23 +0100)
commit1a859ecf4a4728cb321b1f68d51491cd285a3c03
treeb6f45938d009e46ff16226b9cd514cdb4b01c7a8
parent653a83445f94620673f747a4ace6847a2c7fdb4d
gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state

This will make driver's life a bit harder, however it makes sense that stencil
reference value is not part of the pipe_depth_stencil_alpha_state, because
it often (there are some algorithms which require this) changes more frequently
than the rest of the dsa state. This is also encouraged by some graphic APIs.
Treat it similar to pipe_blend_color.
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h
src/gallium/auxiliary/util/u_blitter.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_atom_depth.c