dawn-cmake/test/tint/builtins/gen/literal
dan sinclair 1bdaded736 Implemement const-eval for some unpack routines.
This CL adds const-eval for unpack2x16snorm, unpack2x16unorm,
unpack4x8snorm and unpack4x8unorm.

Bug: tint:1581
Change-Id: Ieda938b797dfe3f8d8046101d12b99da69ad68f4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108864
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-11-07 22:28:01 +00:00
..
abs test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
acos Change default acos test value. 2022-11-07 12:06:18 +00:00
acosh tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +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: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
asin Set specific test value for asin test cases. 2022-10-28 12:31:08 +00:00
asinh test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
atan test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
atan2 test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
atanh tint/transform/builtin_polyfill: Don't polyfill @const builtins 2022-10-28 20:46:07 +00:00
atomicAdd Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicAnd Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicCompareExchangeWeak Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicExchange Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicLoad Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicMax Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicMin Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicOr Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicStore Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicSub Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
atomicXor Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
ceil Add const-eval for `ceil` 2022-11-03 15:59:23 +00:00
clamp test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
cos tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
cosh tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +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: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
degrees tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
determinant tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
distance tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
dot tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +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 tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
exp2 tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
extractBits tint: const eval of extractBits 2022-11-03 13:03:08 +00:00
faceForward tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +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 Add const-eval for `floor`. 2022-11-03 17:10:49 +00:00
fma tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
fract tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
frexp tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +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 tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
ldexp tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
length tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
log tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
log2 tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
max tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
min tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
mix tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
modf tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
normalize tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
pack2x16float test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +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 tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
quantizeToF16 tint: Implement const-eval of quantizeToF16 2022-11-02 17:29:48 +00:00
radians tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
reflect tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
refract tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
reverseBits tint: const eval of reverseBits 2022-11-04 13:48:26 +00:00
round tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
saturate test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
select test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
sign test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
sin tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
sinh tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
smoothstep tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
sqrt tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
step test/tint: Fix e2e test generation for abstract 2022-11-04 16:54:02 +00:00
storageBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
tan tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
tanh tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
textureDimensions Tint/transform: make AddBlockAttribute always do wrapping if possible 2022-11-02 02:25:38 +00:00
textureGather test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureGatherCompare test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureLoad test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureNumLayers tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureNumLevels tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureNumSamples tint/intrinsics: Texture queries now return unsigned integer / vectors 2022-10-26 18:36:44 +00:00
textureSample test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleBaseClampToEdge test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleBias test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleCompare test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleCompareLevel test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleGrad test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureSampleLevel test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
textureStore test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
transpose tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
trunc tint: Allow signed / unsigned texture builtin params 2022-10-24 23:58:53 +00:00
unpack2x16float test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
unpack2x16snorm Implemement const-eval for some unpack routines. 2022-11-07 22:28:01 +00:00
unpack2x16unorm Implemement const-eval for some unpack routines. 2022-11-07 22:28:01 +00:00
unpack4x8snorm Implemement const-eval for some unpack routines. 2022-11-07 22:28:01 +00:00
unpack4x8unorm Implemement const-eval for some unpack routines. 2022-11-07 22:28:01 +00:00
workgroupBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00