diff options
author | Daniel Schürmann <[email protected]> | 2018-02-23 13:55:01 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 23:09:58 +0100 |
commit | ffbf75cde4c5875a6581c997ed5fd57ae8059c9c (patch) | |
tree | 1a618839fbb0200870e6c007b39af33f2444cd80 /src/amd/vulkan | |
parent | 18c7f1e041b350805a3d940a6b966009e0631604 (diff) |
radv: enable AMD_gcn_shader extension
Signed-off-by: Daniel Schürmann <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_extensions.py | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 58189484171..469b09a160d 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -91,6 +91,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_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'), Extension('VK_AMD_shader_info', 1, True), ] diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index dd7e0e0af6d..85672e600d7 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -215,6 +215,9 @@ radv_shader_compile_to_nir(struct radv_device *device, .subgroup_basic = true, .variable_pointers = true, }, + .exts = { + .AMD_gcn_shader = true, + }, }; entry_point = spirv_to_nir(spirv, module->size / 4, spec_entries, num_spec_entries, |