diff options
author | Brian Paul <[email protected]> | 2014-10-21 10:30:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-10-22 17:33:40 -0600 |
commit | c9a6ec197816d988f6301f84a6a2b09b1f2dde78 (patch) | |
tree | 353ac748d51291ab67f85a52bfabf9636ba87936 /src | |
parent | f82a84c09771da63b68464b9653cae421c0ae482 (diff) |
u_blitter: put a comment on util_blitter_cache_all_shaders()
Trivial.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index ea9094eae11..e59fa04818c 100644 --- 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; |