dawn-cmake/src/tint/writer
Zhaoming Jiang 20cddbf04c tint: Implement modf and frexp built-ins for f16 types
This patch implement modf and frexp built-ins for f16 types, and also
simplify their implementation for f32 in MSL and HLSL, and clean up
deprecated code in GLSL writer. Corresponding unittests are also
implemented, but end-to-end tests for f16 are not implemented yet.

Bug: tint:1473, tint:1502
Change-Id: I12887ae5303c6dc032a51f619e1afeb19b4603b6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98102
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-08-05 15:11:44 +00:00
..
glsl tint: Implement modf and frexp built-ins for f16 types 2022-08-05 15:11:44 +00:00
hlsl tint: Implement modf and frexp built-ins for f16 types 2022-08-05 15:11:44 +00:00
msl tint: Implement modf and frexp built-ins for f16 types 2022-08-05 15:11:44 +00:00
spirv tint: Implement modf and frexp built-ins for f16 types 2022-08-05 15:11:44 +00:00
wgsl tint/writer: Handle static_asserts 2022-08-03 07:01:08 +00:00
append_vector.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
append_vector.h tint/sem: Remove TypeMappings for derived expressions 2022-07-07 17:15:01 +00:00
append_vector_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
array_length_from_uniform_options.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
array_length_from_uniform_options.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
flatten_bindings.cc Factor out code to flatten bindings for msl 2022-05-02 19:49:19 +00:00
flatten_bindings.h Factor out code to flatten bindings for msl 2022-05-02 19:49:19 +00:00
flatten_bindings_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
float_to_string.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
float_to_string.h Condense namespaces in tint/writer. 2022-04-07 14:43:05 +00:00
float_to_string_test.cc Fixup various warnings in Tint which were accidentally suppressed. 2022-06-29 14:38:15 +00:00
generate_external_texture_bindings.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
generate_external_texture_bindings.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
generate_external_texture_bindings_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
text.cc Condense namespaces in tint/writer. 2022-04-07 14:43:05 +00:00
text.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
text_generator.cc tint: Fix x86 build 2022-07-08 12:17:34 +00:00
text_generator.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
text_generator_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
writer.cc Condense namespaces in tint/writer. 2022-04-07 14:43:05 +00:00
writer.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00