From: Bas Nieuwenhuizen Date: Sun, 29 Jan 2017 22:07:10 +0000 (+0100) Subject: radv: Enable Float64 support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=798ae37cc937c5ea92709fc0cc999590925fca61;p=mesa.git radv: Enable Float64 support. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index da67b65ef43..0026de5a0e0 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -463,7 +463,7 @@ void radv_GetPhysicalDeviceFeatures( .shaderStorageImageWriteWithoutFormat = false, .shaderClipDistance = true, .shaderCullDistance = true, - .shaderFloat64 = false, + .shaderFloat64 = true, .shaderInt64 = false, .shaderInt16 = false, .alphaToOne = true, diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 279a0767efd..bf3007ba2de 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -207,6 +207,7 @@ radv_shader_compile_to_nir(struct radv_device *device, } } const struct nir_spirv_supported_extensions supported_ext = { + .float64 = true }; entry_point = spirv_to_nir(spirv, module->size / 4, spec_entries, num_spec_entries,