diff options
author | Pauli Nieminen <[email protected]> | 2012-06-12 21:39:01 +0300 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-08-01 15:57:12 -0700 |
commit | 204bfb904bd5d4dd9ce90fe4d3e8e48b0d01fdae (patch) | |
tree | 4a8d2c89392f1d47258ed218434ec4ff8fe6f61a /src/SConscript | |
parent | 676a563d5bdcd9c75e1e33d75e2fa16bedcf5e83 (diff) |
meta: Use sampler object in framebuffer blit
Framebuffer blit needs to setup texture sampling with no reference to the
user's texturing state, and a sampler object lets us avoid a bunch of changes
to the user's state setup.
We don't bother caching the sampler object since we're changing parameters in
it based on the filtering option to glBlitFramebuffer().
Fixes piglit GL_ARB_sampler_objects/framebufferblit and rendering in l4d2 (our
setting of srgb decode wasn't being respected due to the user's sampler object
being active).
Signed-off-by: Pauli Nieminen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions