radv: Enable VK_KHR_shader_draw_parameters.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
@@ -124,6 +124,10 @@ static const VkExtensionProperties common_device_extensions[] = {
|
||||
.extensionName = VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME,
|
||||
.specVersion = 1,
|
||||
},
|
||||
{
|
||||
.extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME,
|
||||
.specVersion = 1,
|
||||
},
|
||||
};
|
||||
|
||||
static VkResult
|
||||
|
@@ -207,6 +207,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
||||
}
|
||||
}
|
||||
const struct nir_spirv_supported_extensions supported_ext = {
|
||||
.draw_parameters = true,
|
||||
.float64 = true
|
||||
};
|
||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||
|
Reference in New Issue
Block a user