mesa/src/microsoft/clc
Karol Herbst 36012af17f nir/printf: remove treat_doubles_as_floats
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>
2024-01-18 13:16:13 +01:00
..
clc_compiler.c nir/printf: remove treat_doubles_as_floats 2024-01-18 13:16:13 +01:00
clc_compiler.h microsoft/clc: Add shader model / validator to compiler API 2023-03-31 00:37:19 +00:00
clc_compiler_test.cpp microsoft/clc: Add a test which sinks image derefs 2023-12-06 01:07:24 +00:00
clc_nir.c treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
clc_nir.h nir: extract the clc inline sampler dedup pass from clc 2022-08-04 23:53:50 +00:00
clon12compiler.def Move a bunch of the CLC stuff from src/microsoft to common code 2021-09-30 07:09:08 +00:00
compute_test.cpp treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
compute_test.h microsoft/clc: fixup indentation 2022-04-29 07:08:57 +00:00
meson.build micosoft: decouple microsoft vulkan driver and compiler from gallium 2023-11-04 00:02:59 +00:00