aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_extensions.py
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-04-02 18:17:55 +0200
committerSamuel Pitoiset <[email protected]>2018-04-03 14:05:46 +0200
commitacf60abc54fa86378c57d9c44890a9b6f3d6ed5c (patch)
treeac3dc177385a81713e7a7b53d9fd6b368a750266 /src/amd/vulkan/radv_extensions.py
parent51888bf07dd2f9942708f9a265b18a129ee625f1 (diff)
radv: enable VK_EXT_shader_viewport_index_layer
The driver already supports exporting the Layer and ViewportIndex built-ins from vertex or tessellation shaders. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_extensions.py')
-rw-r--r--src/amd/vulkan/radv_extensions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index cbb02f138a1..8cb0b7aa7d5 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -92,6 +92,7 @@ EXTENSIONS = [
Extension('VK_EXT_external_memory_host', 1, 'device->rad_info.has_userptr'),
Extension('VK_EXT_global_priority', 1, 'device->rad_info.has_ctx_priority'),
Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= CIK'),
+ Extension('VK_EXT_shader_viewport_index_layer', 1, True),
Extension('VK_AMD_draw_indirect_count', 1, True),
Extension('VK_AMD_gcn_shader', 1, True),
Extension('VK_AMD_rasterization_order', 1, 'device->rad_info.chip_class >= VI && device->rad_info.max_se >= 2'),