diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-07-24 11:17:29 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-08-04 13:53:06 +0200 |
commit | e7689303a8e4790c38cc69ae7a197712f98e8f5b (patch) | |
tree | 28a040134bba4ef8d01bfec7f450c4c484604087 /src/gallium/auxiliary/cso_cache/cso_context.h | |
parent | cd97a5f660399212a23b6dcd02906231f2dc5525 (diff) | |
download | external_mesa3d-e7689303a8e4790c38cc69ae7a197712f98e8f5b.zip external_mesa3d-e7689303a8e4790c38cc69ae7a197712f98e8f5b.tar.gz external_mesa3d-e7689303a8e4790c38cc69ae7a197712f98e8f5b.tar.bz2 |
gallium: set sample mask to ~0 for clear, blit and gen_mipmap
The sample mask affects single-sampled rendering too (it's orthogonal
to the color mask).
Reviewed-by: Brian Paul <brianp@vmware.com>
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 f01a0f2..f49b2b7 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -161,6 +161,8 @@ enum pipe_error cso_set_blend_color(struct cso_context *cso, enum pipe_error cso_set_sample_mask(struct cso_context *cso, unsigned stencil_mask); +void cso_save_sample_mask(struct cso_context *ctx); +void cso_restore_sample_mask(struct cso_context *ctx); enum pipe_error cso_set_stencil_ref(struct cso_context *cso, const struct pipe_stencil_ref *sr); |