anv: Disable transform feedback on gen7
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 25 Jul 2019 19:54:20 +0000 (14:54 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 25 Jul 2019 19:58:14 +0000 (14:58 -0500)
It's totally implementable, it's just that the plumbing is a bit
different and we never hooked it up.  Don't advertise a broken feature.

Fixes: 36ee2fd61c8 "anv: Implement the basic form of VK_EXT_transform_feedback"
src/intel/vulkan/anv_extensions.py

index 9956631eb26d7fdb551d0d81d259154866df596d..7d3bebe0948014bb4d46f0088c978be02b9348b8 100644 (file)
@@ -149,7 +149,7 @@ EXTENSIONS = [
     Extension('VK_EXT_shader_viewport_index_layer',       1, True),
     Extension('VK_EXT_subgroup_size_control',             1, True),
     Extension('VK_EXT_texel_buffer_alignment',            1, True),
-    Extension('VK_EXT_transform_feedback',                1, True),
+    Extension('VK_EXT_transform_feedback',                1, 'device->info.gen >= 8'),
     Extension('VK_EXT_vertex_attribute_divisor',          3, True),
     Extension('VK_EXT_ycbcr_image_arrays',                1, True),
     Extension('VK_ANDROID_external_memory_android_hardware_buffer', 3, 'ANDROID'),