dawn-cmake/src/tint/writer/spirv
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
..
binary_writer.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
binary_writer.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
binary_writer_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
builder.cc tint/writer: Handle static_asserts 2022-08-03 07:01:08 +00:00
builder.h tint/ast: Rename Builtin to BuiltinValue 2022-07-27 18:48:06 +00:00
builder_accessor_expression_test.cc tint: const eval of binary add 2022-08-04 19:48:27 +00:00
builder_assign_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_binary_expression_test.cc tint: const eval of binary add 2022-08-04 19:48:27 +00:00
builder_bitcast_expression_test.cc tint: Replace all ProgramBuilder float literals with '_f' suffix 2022-05-10 17:30:15 +00:00
builder_block_test.cc tint: Replace all ProgramBuilder float literals with '_f' suffix 2022-05-10 17:30:15 +00:00
builder_builtin_test.cc tint: Implement modf and frexp built-ins for f16 types 2022-08-05 15:11:44 +00:00
builder_builtin_texture_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_call_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_constructor_expression_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_discard_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
builder_entry_point_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_format_conversion_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
builder_function_attribute_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_function_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_function_variable_test.cc tint: const eval of binary add 2022-08-04 19:48:27 +00:00
builder_global_variable_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_ident_expression_test.cc tint/writer: Handle and emit 'const' variables 2022-06-28 12:44:16 +00:00
builder_if_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_literal_test.cc tint/writer/spirv: Support for F16 type, constructor, and convertor 2022-07-12 12:35:09 +00:00
builder_loop_test.cc tint: Rename Global() -> GlobalVar() 2022-06-25 08:12:59 +00:00
builder_return_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_static_assert_test.cc tint/writer: Handle static_asserts 2022-08-03 07:01:08 +00:00
builder_switch_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_test.cc tint: Implement DP4a on SPIR-V writer 2022-05-26 00:25:04 +00:00
builder_type_test.cc tint/ast: Migrate to utils::Vector 2022-08-02 17:03:35 +00:00
builder_unary_op_expression_test.cc tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
function.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
function.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
generator.cc tint/writer: Do not attempt to use invalid programs 2022-05-20 19:41:50 +00:00
generator.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
generator_bench.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
generator_impl.cc tint: Implement acosh, asinh, atanh 2022-06-28 15:27:44 +00:00
generator_impl.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
instruction.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
instruction.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
instruction_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
operand.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
operand.h Remove NOLINT lines from c++17 headers 2022-06-18 14:34:00 +00:00
operand_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
scalar_constant.h tint/writer/spirv: Support for F16 type, constructor, and convertor 2022-07-12 12:35:09 +00:00
scalar_constant_test.cc tint/writer/spirv: Support for F16 type, constructor, and convertor 2022-07-12 12:35:09 +00:00
spv_dump.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
spv_dump.h Condense namespaces in tint/writer/spirv. 2022-04-07 14:16:34 +00:00
test_helper.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00