dawn-cmake/test/tint/builtins/gen/literal
dan sinclair 6cc183c85a Generic template and forward in stringstream.
This CL updates the templates in the StringStream to match more types.
All of the internal `operator<<` methods have been converted over to
StringStream. The precision was increased in order to better match the
precision needed to read back as a double.

Bug: tint:1686
Change-Id: Iaa15cf247f174967dd1014647ba5a74804997c22
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122080
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-02 21:28:45 +00:00
..
abs test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
acos Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
acosh Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
all Add const-eval for `all`. 2022-11-03 12:07:49 +00:00
any Add const-eval for `any`. 2022-10-29 16:21:24 +00:00
arrayLength Tint: Implement f16 in uniform and storage address space 2022-11-24 05:25:35 +00:00
asin Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
asinh Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
atan Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
atan2 Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
atanh Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
atomicAdd tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicAnd tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicCompareExchangeWeak tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicExchange tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicLoad tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicMax tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicMin tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicOr tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicStore tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicSub tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
atomicXor tint/transform: Inline HLSL uniform / storage buffers 2023-02-24 17:16:55 +00:00
ceil test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
clamp test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
cos test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
cosh test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
countLeadingZeros tint: const eval of countLeadingZeros 2022-10-29 14:02:38 +00:00
countOneBits tint: const eval of countOneBits 2022-10-31 18:44:15 +00:00
countTrailingZeros tint: const eval of countTrailingZeros 2022-10-29 14:02:38 +00:00
cross test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
degrees Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
determinant test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
distance test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
dot test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
dot4I8Packed tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
dot4U8Packed tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
dpdx test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
dpdxCoarse test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
dpdxFine test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
dpdy test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
dpdyCoarse test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
dpdyFine test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
exp Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
exp2 test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
extractBits tint: const eval of extractBits 2022-11-03 13:03:08 +00:00
faceForward test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
firstLeadingBit tint: const eval of firstLeadingBit 2022-10-31 20:34:36 +00:00
firstTrailingBit tint: const eval of firstTrailingBit 2022-10-31 22:57:14 +00:00
floor test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
fma test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
fract test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
frexp test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
fwidth test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
fwidthCoarse test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
fwidthFine test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
insertBits tint: const eval of insertBits 2022-11-02 20:40:23 +00:00
inverseSqrt test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
ldexp test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
length test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
log test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
log2 test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
max test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
min test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
mix test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
modf test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
normalize Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
pack2x16float Add const-eval for pack and unpack of 2x16float. 2022-11-09 20:04:37 +00:00
pack2x16snorm Implemement const-eval for some pack routines. 2022-11-07 14:32:16 +00:00
pack2x16unorm Implemement const-eval for some pack routines. 2022-11-07 14:32:16 +00:00
pack4x8snorm Implemement const-eval for some pack routines. 2022-11-07 14:32:16 +00:00
pack4x8unorm Implemement const-eval for some pack routines. 2022-11-07 14:32:16 +00:00
pow test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
quantizeToF16 tint: Implement const-eval of quantizeToF16 2022-11-02 17:29:48 +00:00
radians Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
reflect test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
refract test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
reverseBits tint: const eval of reverseBits 2022-11-04 13:48:26 +00:00
round Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
saturate test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
select test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
sign test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
sin Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
sinh Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
smoothstep test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
sqrt test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
step test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
storageBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
tan Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
tanh Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
textureDimensions Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
textureGather Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureGatherCompare Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureLoad Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
textureNumLayers tint: Add bgra8unorm storage texture support 2023-01-18 19:42:03 +00:00
textureNumLevels test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
textureNumSamples tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureSample Enable the 1D -> 2D texture transform in GLSL writer. 2023-01-07 17:19:21 +00:00
textureSampleBaseClampToEdge Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00
textureSampleBias Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureSampleCompare Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureSampleCompareLevel Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureSampleGrad Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureSampleLevel Update GLSL test results. 2022-12-15 16:42:28 +00:00
textureStore tint: Add bgra8unorm storage texture support 2023-01-18 19:42:03 +00:00
transpose test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
trunc test/tint: Update SKIP "expectations" 2023-03-02 09:25:40 +00:00
unpack2x16float Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
unpack2x16snorm Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
unpack2x16unorm Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
unpack4x8snorm Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
unpack4x8unorm Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
workgroupBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
workgroupUniformLoad Move tint::transform::Robustness to a santizier transform 2023-03-02 20:48:48 +00:00