summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorPauli Nieminen <pauli.nieminen@linux.intel.com>2012-06-12 21:39:01 +0300
committerEric Anholt <eric@anholt.net>2012-08-01 15:57:12 -0700
commit204bfb904bd5d4dd9ce90fe4d3e8e48b0d01fdae (patch)
tree4a8d2c89392f1d47258ed218434ec4ff8fe6f61a /scons/gallium.py
parent676a563d5bdcd9c75e1e33d75e2fa16bedcf5e83 (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 <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'scons/gallium.py')
0 files changed, 0 insertions, 0 deletions