mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 19:10:12 +01:00
It is broken and clang uses fp32 for float constants if the fp64 extension isn't enabled anyway. SPIRVs can't use fp64 constants with printf unless they enable the Float64 cap, which also requires cl_khr_fp64 to be supported. So just remove it and rely on clang handling -cl-single-precision-constant correctly, which at the moment doesn't seem to be the case, but we can think about that once we plan to support cl_khr_fp64. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26541> |
||
|---|---|---|
| .. | ||
| clc_compiler.c | ||
| clc_compiler.h | ||
| clc_compiler_test.cpp | ||
| clc_nir.c | ||
| clc_nir.h | ||
| clon12compiler.def | ||
| compute_test.cpp | ||
| compute_test.h | ||
| meson.build | ||