mesa/src/compiler
Iván Briano 987749430d nir: round f2f16{_rtne/_rtz} correctly for constant expressions
As noted in the previous commit, the intermediate cast to float from
double can produce wrong results.

Fixes upcoming Vulkan CTS tests:
dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up
dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up_nostorage
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up_vert
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up_nostorage_vert
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up_frag
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.fp16.input_args.rounding_rte_sconst_conv_from_fp64_up_nostorage_frag

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25281>
2023-10-09 23:37:52 +00:00
..
clc meson: Remove unnecessary inc_compiler mentions 2023-09-22 14:52:50 +00:00
glsl glsl: remove now unused varying linker code 2023-09-28 13:55:16 +00:00
isaspec isaspec: Add BitSetEnumValue object 2023-10-03 12:07:04 +00:00
nir nir: round f2f16{_rtne/_rtz} correctly for constant expressions 2023-10-09 23:37:52 +00:00
spirv spirv: Track when a shader has a cooperative matrix 2023-09-28 07:35:02 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py compiler/types: Use a string table for builtin type names 2023-09-16 15:17:01 +00:00
builtin_types_cpp_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
glsl_types.cpp compiler/types: Flip wrapping of convenience accessors for vector types 2023-10-07 00:42:54 +00:00
glsl_types.h compiler/types: Flip wrapping of basic "get type" functions 2023-10-07 00:42:55 +00:00
glsl_types_impl.h compiler/types: Flip wrapping of convenience accessors for vector types 2023-10-07 00:42:54 +00:00
meson.build compiler/types: Move the C++ inline functions in glsl_type out of the struct body 2023-10-07 00:42:54 +00:00
nir_gl_types.h mesa: #include "util/glheader.h" instead GL/gl.h in shared code 2022-11-03 16:07:31 +00:00
nir_types.cpp compiler/types: Flip wrapping of basic "get type" functions 2023-10-07 00:42:55 +00:00
nir_types.h compiler/types: Move C declarations into glsl_types.h 2023-10-07 00:42:54 +00:00
shader_enums.c nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00
shader_enums.h nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00
shader_info.h nir: gather dual slot input information 2023-10-07 11:18:40 +00:00