projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82a84c
)
u_blitter: put a comment on util_blitter_cache_all_shaders()
author
Brian Paul
<brianp@vmware.com>
Tue, 21 Oct 2014 16:30:22 +0000
(10:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 22 Oct 2014 23:33:40 +0000
(17:33 -0600)
Trivial.
src/gallium/auxiliary/util/u_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index ea9094eae11d47ebda58a16a85b19b1b4f28963d..e59fa04818c319ed33956b9bd974449e46b0466a 100644
(file)
--- a/
src/gallium/auxiliary/util/u_blitter.c
+++ b/
src/gallium/auxiliary/util/u_blitter.c
@@
-1009,6
+1009,13
@@
void *blitter_get_fs_texfetch_stencil(struct blitter_context_priv *ctx,
}
}
+
+/**
+ * Generate and save all fragment shaders that we will ever need for
+ * blitting. Drivers which use the 'draw' fallbacks will typically use
+ * this to make sure we generate/use shaders that don't go through the
+ * draw module's wrapper functions.
+ */
void util_blitter_cache_all_shaders(struct blitter_context *blitter)
{
struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter;