From: José Fonseca Date: Thu, 1 Apr 2010 16:36:37 +0000 (+0100) Subject: python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=675fcb6cae9bbcd5a7b2e7b2edf3871f82beb6cf;p=mesa.git python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range. --- 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)