Mesa (master): python/tests: We' re using a rgba8 rendertarget so sample only in the [0, 1] range.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu Apr 1 16:48:21 UTC 2010
Module: Mesa
Branch: master
Commit: 675fcb6cae9bbcd5a7b2e7b2edf3871f82beb6cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=675fcb6cae9bbcd5a7b2e7b2edf3871f82beb6cf
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 1 17:36:37 2010 +0100
python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range.
---
progs/gallium/python/tests/texture_blit.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/progs/gallium/python/tests/texture_blit.py b/progs/gallium/python/tests/texture_blit.py
index 385cf16..a68c081 100755
--- a/progs/gallium/python/tests/texture_blit.py
+++ b/progs/gallium/python/tests/texture_blit.py
@@ -191,7 +191,7 @@ class TextureColorSampleTest(TestCase):
zslice = zslice,
)
- ctx.surface_sample_rgba(surface, expected_rgba)
+ ctx.surface_sample_rgba(surface, expected_rgba, True)
ctx.set_fragment_sampler_texture(0, texture)
@@ -428,7 +428,7 @@ class TextureDepthSampleTest(TestCase):
zslice = zslice,
)
- ctx.surface_sample_rgba(surface, expected_rgba)
+ ctx.surface_sample_rgba(surface, expected_rgba, True)
ctx.set_fragment_sampler_texture(0, texture)
More information about the mesa-commit
mailing list