summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_extensions.py
diff options
context:
space:
mode:
authorJose Maria Casanova Crespo <[email protected]>2017-11-20 23:28:45 +0100
committerJason Ekstrand <[email protected]>2018-02-28 21:37:40 -0800
commit994d21042996232998a51bfabaab6f4970f0ea5a (patch)
tree8f5cb2179ab0bd423479604cd0a1587273888cd6 /src/intel/vulkan/anv_extensions.py
parent69be3a82ca6f3247c75d76ae97429462c8909a3c (diff)
anv: Enable VK_KHR_16bit_storage for SSBO and UBO
Enables storageBuffer16BitAccess and uniformAndStorageBuffer16BitAccesss features of VK_KHR_16bit_storage for Gen8+. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_extensions.py')
-rw-r--r--src/intel/vulkan/anv_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
index 6194eb0ad62..8d39038c43a 100644
--- a/src/intel/vulkan/anv_extensions.py
+++ b/src/intel/vulkan/anv_extensions.py
@@ -49,7 +49,7 @@ class Extension:
# and dEQP-VK.api.info.device fail due to the duplicated strings.
EXTENSIONS = [
Extension('VK_ANDROID_native_buffer', 5, 'ANDROID'),
- Extension('VK_KHR_16bit_storage', 1, False),
+ Extension('VK_KHR_16bit_storage', 1, 'device->info.gen >= 8'),
Extension('VK_KHR_bind_memory2', 1, True),
Extension('VK_KHR_dedicated_allocation', 1, True),
Extension('VK_KHR_descriptor_update_template', 1, True),