summaryrefslogtreecommitdiff
path: root/src/gallium/tests/python/tests/texture_transfer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/python/tests/texture_transfer.py')
-rwxr-xr-xsrc/gallium/tests/python/tests/texture_transfer.py7
1 files changed, 4 insertions, 3 deletions
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,