X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Ftests%2Fpython%2Ftests%2Ftexture_transfer.py;fp=src%2Fgallium%2Ftests%2Fpython%2Ftests%2Ftexture_transfer.py;h=65c919bc64d72ad4ca8e8f88b0b2c3fa3613ce56;hb=8bd87b662f70070686fdfbea36f3660bd2586e32;hp=4aa3d6c709bd8a39e3b89008e1558952a852a03e;hpb=eb2b668b3705f8091df716f342d72d32d9f31aea;p=mesa.git diff --git a/src/gallium/tests/python/tests/texture_transfer.py b/src/gallium/tests/python/tests/texture_transfer.py index 4aa3d6c709b..65c919bc64d 100755 --- a/src/gallium/tests/python/tests/texture_transfer.py +++ b/src/gallium/tests/python/tests/texture_transfer.py @@ -71,12 +71,13 @@ class TextureTest(TestCase): face = self.face level = self.level zslice = self.zslice - + bind = PIPE_BIND_SAMPLER_VIEW geom_flags = 0 - if not dev.is_format_supported(format, target, bind, geom_flags): + sample_count = 0 + if not dev.is_format_supported(format, target, sample_count, bind, geom_flags): raise TestSkip - + # textures texture = dev.resource_create( target = target,