radv: Enable Float64 support.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user