mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 18:00:13 +01:00
radv: Enable Float64 support.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
441ee1e65b
commit
798ae37cc9
2 changed files with 2 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ void radv_GetPhysicalDeviceFeatures(
|
||||||
.shaderStorageImageWriteWithoutFormat = false,
|
.shaderStorageImageWriteWithoutFormat = false,
|
||||||
.shaderClipDistance = true,
|
.shaderClipDistance = true,
|
||||||
.shaderCullDistance = true,
|
.shaderCullDistance = true,
|
||||||
.shaderFloat64 = false,
|
.shaderFloat64 = true,
|
||||||
.shaderInt64 = false,
|
.shaderInt64 = false,
|
||||||
.shaderInt16 = false,
|
.shaderInt16 = false,
|
||||||
.alphaToOne = true,
|
.alphaToOne = true,
|
||||||
|
|
|
||||||
|
|
@ -207,6 +207,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const struct nir_spirv_supported_extensions supported_ext = {
|
const struct nir_spirv_supported_extensions supported_ext = {
|
||||||
|
.float64 = true
|
||||||
};
|
};
|
||||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||||
spec_entries, num_spec_entries,
|
spec_entries, num_spec_entries,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue