diff options
author | José Fonseca <[email protected]> | 2012-02-22 08:41:19 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-02-22 08:41:19 +0000 |
commit | 3dd7b53178cb085a1ff3d87844fa51487f8892fc (patch) | |
tree | 7a1e3dd8369f51e26ca132e486ef950e4a8f133c /src | |
parent | ab79d2be2e1288d4044a8b4ef356991625a176f5 (diff) |
gallium/cso: Put the comment about shader in the code for future reference.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index aabf70c7a74..8cc1bbf9de7 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -185,6 +185,13 @@ cso_restore_clip(struct cso_context *cso); /* fragment sampler view state */ +/* + * We don't provide shader caching in CSO. Most of the time the api provides + * object semantics for shaders anyway, and the cases where it doesn't + * (eg mesa's internally-generated texenv programs), it will be up to + * the state tracker to implement their own specialized caching. + */ + void cso_set_fragment_sampler_views(struct cso_context *cso, uint count, |