dawn-cmake/src
dan sinclair 8feb9b847f Update the rounding modes to match the spec.
The spec was clarified that a value of .5 rounds towards the even value.
This matches the HLSL `round` method. This CL updates SPIR-V to use the
`RoundEven` GLSL450 call and the `rint` MSL call so they match the spec
requirements.

Change-Id: I97ce2e29b9639ad72b6846b32dbe3abb8d9f6cff
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/42421
Auto-Submit: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2021-02-24 18:01:54 +00:00
..
ast Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00
diagnostic Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
inspector Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00
reader wgsl::ParserImpl: Use sync() for postfix_expr() 2021-02-24 14:21:52 +00:00
semantic TypeDeterminer: Resolve swizzles 2021-02-24 14:15:02 +00:00
transform transform: API cleanup 2021-02-24 15:55:24 +00:00
type Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00
utils Add tint_unittest flags for enabling DXC validation 2021-02-19 12:39:25 +00:00
validator Add TINT_UNREACHABLE() and TINT_ICE() helper macros 2021-02-17 20:13:34 +00:00
writer Update the rounding modes to match the spec. 2021-02-24 18:01:54 +00:00
CMakeLists.txt Fix infinite spin in wgsl parser 2021-02-19 20:01:43 +00:00
block_allocator.h Add tint::BlockAllocator<T> 2021-01-21 15:30:10 +00:00
block_allocator_test.cc Add tint::BlockAllocator<T> 2021-01-21 15:30:10 +00:00
castable.cc Add ClassID::Unique template and TINT_INSTANTIATE_CLASS_ID 2020-12-02 18:19:28 +00:00
castable.h ClassID: Support use as unordered map / set keys 2021-02-24 13:51:32 +00:00
castable_test.cc Castable: Minor tweaks 2020-12-03 17:44:19 +00:00
clone_context.cc Add TINT_UNREACHABLE() and TINT_ICE() helper macros 2021-02-17 20:13:34 +00:00
clone_context.h ICE macros: Use '<<' for error message 2021-02-18 16:33:38 +00:00
clone_context_test.cc Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
debug.cc Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
debug.h Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
debug_test.cc Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
demangler.cc Simplify calls to ast::Node::[to_]str() 2021-01-29 11:22:40 +00:00
demangler.h Simplify calls to ast::Node::[to_]str() 2021-01-29 11:22:40 +00:00
demangler_test.cc Demangler: Change signature of primary Demangle() function 2021-01-26 16:57:10 +00:00
intrinsic_table.cc Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00
intrinsic_table.h Add TINT_UNREACHABLE() and TINT_ICE() helper macros 2021-02-17 20:13:34 +00:00
intrinsic_table_test.cc Remove references 1D Array texture dimension 2021-02-24 05:05:21 +00:00
namer.cc Namer: Take a SymbolTable instead of a Program 2021-01-26 16:57:10 +00:00
namer.h Namer: Take a SymbolTable instead of a Program 2021-01-26 16:57:10 +00:00
namer_test.cc Namer: Take a SymbolTable instead of a Program 2021-01-26 16:57:10 +00:00
program.cc Program: Fix move of diagnostics. 2021-02-24 13:51:13 +00:00
program.h Have Program::IsValid() return false unless built 2021-02-19 19:04:18 +00:00
program_builder.cc Fix TypesBuilder::builder pointer initialization 2021-02-17 16:23:52 +00:00
program_builder.h TypeDeterminer: Resolve swizzles 2021-02-24 14:15:02 +00:00
program_builder_test.cc Have ProgramBuilder::Func() register the function 2021-02-02 14:29:15 +00:00
program_test.cc Program: Fix move of diagnostics. 2021-02-24 13:51:13 +00:00
scope_stack.h Add std::hash<tint::Symbol> specialization 2021-01-11 22:02:42 +00:00
scope_stack_test.cc ProgramBuilder: Swap parameter order for Var and Const 2021-02-16 23:57:01 +00:00
source.cc Source: Restructure Source::File 2021-02-18 21:40:19 +00:00
source.h TypeDeterminer: Resolve swizzles 2021-02-24 14:15:02 +00:00
symbol.cc Add a symbol table. 2020-12-10 16:56:02 +00:00
symbol.h Add std::hash<tint::Symbol> specialization 2021-01-11 22:02:42 +00:00
symbol_table.cc Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_table.h Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_table_test.cc Add SymbolTable::New() 2021-02-11 14:54:41 +00:00
symbol_test.cc Add a symbol table. 2020-12-10 16:56:02 +00:00
test_main.cc Add tint_unittest flags for enabling DXC validation 2021-02-19 12:39:25 +00:00
traits.h Split Program into Program and ProgramBuilder 2021-01-26 16:57:10 +00:00
traits_test.cc Move CloneContext and Traits from src/ast to src/ 2021-01-21 16:20:40 +00:00
type_determiner.cc TypeDeterminer: Resolve swizzles 2021-02-24 14:15:02 +00:00
type_determiner.h Remove deprecated APIs 2021-02-17 20:15:25 +00:00
type_determiner_test.cc TypeDeterminer: Resolve swizzles 2021-02-24 14:15:02 +00:00