diff options
author | Michal Krol <michal@vmware.com> | 2010-03-12 14:36:23 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-03-12 14:38:23 +0100 |
commit | 08f89988c8738029c60e89c61c9da0522bd53087 (patch) | |
tree | bec0fa89e9a01587a3a91eb916838e47e5c39848 /src/gallium/auxiliary/cso_cache/cso_context.h | |
parent | a671a9eed08e63e97ec4257adea2c09dd7d2b4e2 (diff) | |
download | external_mesa3d-08f89988c8738029c60e89c61c9da0522bd53087.zip external_mesa3d-08f89988c8738029c60e89c61c9da0522bd53087.tar.gz external_mesa3d-08f89988c8738029c60e89c61c9da0522bd53087.tar.bz2 |
cso: Add entry points for vertex/fragment sampler views.
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index 9c16abd..e476cf4 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -198,6 +198,34 @@ void cso_restore_clip(struct cso_context *cso); +/* fragment sampler view state */ + +void +cso_set_fragment_sampler_views(struct cso_context *cso, + uint count, + struct pipe_sampler_view **views); + +void +cso_save_fragment_sampler_views(struct cso_context *cso); + +void +cso_restore_fragment_sampler_views(struct cso_context *cso); + + +/* vertex sampler view state */ + +void +cso_set_vertex_sampler_views(struct cso_context *cso, + uint count, + struct pipe_sampler_view **views); + +void +cso_save_vertex_sampler_views(struct cso_context *cso); + +void +cso_restore_vertex_sampler_views(struct cso_context *cso); + + #ifdef __cplusplus } #endif |