summaryrefslogtreecommitdiffstats
path: root/progs/gallium/python/tests
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-01 17:36:37 +0100
committerJosé Fonseca <[email protected]>2010-04-01 17:46:59 +0100
commit675fcb6cae9bbcd5a7b2e7b2edf3871f82beb6cf (patch)
tree7806decf2390b9fdd526d189b028ec897c747ca8 /progs/gallium/python/tests
parentf14c5adbc78b010d1b07eee9f0f65a99d0df4248 (diff)
python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range.
Diffstat (limited to 'progs/gallium/python/tests')
-rwxr-xr-xprogs/gallium/python/tests/texture_blit.py4
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 385cf16cd5e..a68c0819313 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)