dawn-cmake/test/tint/builtins
James Price 506b4f05d0 [spirv-reader] Use type inference for var and let
When an initializer is present, use type inference instead of
explicitly typing `var` and `let` declarations. This reduces the size
of the generated WGSL and improves readability.

Change-Id: I241ee2108279b550735945940f2b62bbbd493708
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132142
Commit-Queue: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: David Neto <dneto@google.com>
2023-05-23 18:28:44 +00:00
..
arrayLength [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
atomicStore [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
atomics/from_gen [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
extractBits [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
frexp tint/hlsl: fix frexp always returning positive values for fractional part 2023-03-16 21:31:15 +00:00
gen tint/hlsl+glsl: fix workgroupUniformLoad polyfills 2023-05-03 15:30:54 +00:00
insertBits [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
modf tint/transform: fix PromoteInitializersToLet for constant expressions 2022-12-09 12:34:36 +00:00
textureDimensions [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
textureGather tint/writer/glsl: Set default precision to highp 2023-03-09 19:58:23 +00:00
textureLoad [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
textureNumSamples [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
textureStore [tint] do not emit space for binding group 0 2023-03-31 17:55:19 +00:00
workgroupUniformLoad tint/hlsl+glsl: fix workgroupUniformLoad polyfills 2023-05-03 15:30:54 +00:00
degrees.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
degrees.spvasm.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
degrees.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
degrees.spvasm.expected.wgsl [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
frexp.wgsl tint: Rename `frexp().sig` to `frexp().fract` 2022-11-14 15:29:29 +00:00
frexp.wgsl.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
frexp.wgsl.expected.spvasm tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
frexp.wgsl.expected.wgsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
radians.spvasm.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
radians.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
radians.spvasm.expected.wgsl [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
repeated_use.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.dxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.fxc.hlsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.glsl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.msl Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
repeated_use.wgsl.expected.spvasm Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
repeated_use.wgsl.expected.wgsl Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00