projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab79d2b
)
gallium/cso: Put the comment about shader in the code for future reference.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 22 Feb 2012 08:41:19 +0000
(08:41 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 22 Feb 2012 08:41:19 +0000
(08:41 +0000)
src/gallium/auxiliary/cso_cache/cso_context.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/cso_cache/cso_context.h
b/src/gallium/auxiliary/cso_cache/cso_context.h
index aabf70c7a747439816469c6feb91284cd94fcc0f..8cc1bbf9de708e30c423e5beef5988e2783eeb99 100644
(file)
--- 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,