diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-01-29 23:07:10 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-02-01 01:09:34 +0100 |
commit | 798ae37cc937c5ea92709fc0cc999590925fca61 (patch) | |
tree | d979108693c3939d26cf68c349e60a77f1fe2be9 | |
parent | 441ee1e65b041866a37885bd0ed717709ee0be1a (diff) |
radv: Enable Float64 support.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 1 |
2 files changed, 2 insertions, 1 deletions
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, |