diff options
author | Roland Scheidegger <sroland@vmware.com> | 2010-02-11 18:15:10 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2010-02-11 18:15:10 +0100 |
commit | 263406addb90ca7599ddfb210944ab0dd63b973c (patch) | |
tree | 161c0104195ee4f6f7fe1f0ae6e8c6fa983dd466 /src/gallium/auxiliary/cso_cache/cso_context.h | |
parent | b75adabc89e34083ac302ac9bafc8d80b62ac14c (diff) |
gallium: give pipe_stencil_ref its own cso_save/restore functions
seems cleaner, and other dynamic state like viewport is handled that way too
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index 3a6fff21e2..707b3c2cee 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -176,6 +176,8 @@ enum pipe_error cso_set_blend_color(struct cso_context *cso, enum pipe_error cso_set_stencil_ref(struct cso_context *cso, const struct pipe_stencil_ref *sr); +void cso_save_stencil_ref(struct cso_context *cso); +void cso_restore_stencil_ref(struct cso_context *cso); #ifdef __cplusplus |