dawn-cmake/test/tint/builtins/gen/var
Zhaoming Jiang a54df5eca5 Tint: Fix extractBits polyfill
This CL fix the extractBits polyfill, used for D3D12 backend on windows.
With this patch the related CTS would get pass.

Fixed: tint:1775
Change-Id: I15636bb55af502fff773c19f03b4c3c9e99b63fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/112207
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-11-30 23:55:28 +00:00
..
abs Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
acos Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
acosh Implement const-eval for `acosh` 2022-11-10 02:39:08 +00:00
all test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
any test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
arrayLength Tint: Implement f16 in uniform and storage address space 2022-11-24 05:25:35 +00:00
asin Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
asinh Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
atan Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
atan2 Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
atanh Fix generation of f16 values. 2022-11-10 00:32:12 +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 Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
clamp Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
cos Add const-eval for `cos` and `cosh` 2022-11-10 15:52:41 +00:00
cosh Add const-eval for `cos` and `cosh` 2022-11-10 15:52:41 +00:00
countLeadingZeros tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
countOneBits tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
countTrailingZeros tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
cross Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
degrees Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
determinant Const eval for `inverseSqrt` 2022-11-24 18:16:13 +00:00
distance Const eval for `distance` 2022-11-24 21:48:48 +00:00
dot Add const-eval for `exp` and `exp2`. 2022-11-23 16:37:21 +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 Add const-eval for `exp` and `exp2`. 2022-11-23 16:37:21 +00:00
exp2 Add const-eval for `exp` and `exp2`. 2022-11-23 16:37:21 +00:00
extractBits Tint: Fix extractBits polyfill 2022-11-30 23:55:28 +00:00
faceForward tint: const eval of faceForward builtin 2022-11-25 23:35:53 +00:00
firstLeadingBit tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
firstTrailingBit tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
floor Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
fma Const eval for `fma` 2022-11-24 21:54:00 +00:00
fract Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
frexp tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +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/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
inverseSqrt Const eval for `inverseSqrt` 2022-11-24 18:16:13 +00:00
ldexp Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
length tint: const eval of length builtin 2022-11-23 00:00:45 +00:00
log Add const-eval for `log` and `log2`. 2022-11-23 17:34:40 +00:00
log2 Add const-eval for `log` and `log2`. 2022-11-23 17:34:40 +00:00
max Add const-eval for `min` and `max` 2022-11-15 18:39:38 +00:00
min Add const-eval for `min` and `max` 2022-11-15 18:39:38 +00:00
mix Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
modf tint: Suffix builtin return types with '_f32' 2022-11-23 19:57:00 +00:00
normalize Const eval for `normalize` 2022-11-25 04:25:18 +00:00
pack2x16float test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
pack2x16snorm test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
pack2x16unorm test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
pack4x8snorm test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
pack4x8unorm test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
pow Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
quantizeToF16 tint: Implement runtime quantizeToF16() 2022-11-02 00:09:50 +00:00
radians Add const-eval for `degrees` and `radians` 2022-11-21 18:00:01 +00:00
reflect tint: const eval of reflect builtin 2022-11-28 15:13:16 +00:00
refract tint: const eval of refract builtin 2022-11-28 21:14:36 +00:00
reverseBits tint/test/builtins/gen: Fix i32 argument values 2022-10-25 13:08:45 +00:00
round Add const-eval for `round` 2022-11-16 22:52:08 +00:00
saturate Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
select Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
sign Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
sin Add const-eval for `sin` and `sinh` 2022-11-10 14:20:36 +00:00
sinh Add const-eval for `sin` and `sinh` 2022-11-10 14:20:36 +00:00
smoothstep Add const-eval for `smoothstep` 2022-11-16 23:02:39 +00:00
sqrt Add const-eval for `sqrt` 2022-11-16 21:15:49 +00:00
step Fix generation of f16 values. 2022-11-10 00:32:12 +00:00
storageBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
tan Add const-eval for `tan` and `tanh` 2022-11-10 15:55:00 +00:00
tanh Add const-eval for `tan` and `tanh` 2022-11-10 15:55:00 +00:00
textureDimensions Add ExternalTexture Rotate and FlipY Functionality 2022-11-30 21:32:26 +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 Add ExternalTexture Rotate and FlipY Functionality 2022-11-30 21:32:26 +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 Add ExternalTexture Rotate and FlipY Functionality 2022-11-30 21:32:26 +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 Add ExternalTexture Rotate and FlipY Functionality 2022-11-30 21:32:26 +00:00
textureStore test/tint: Fix e2e test generation for vec / mat 2022-11-04 17:06:03 +00:00
transpose tint: const eval of transpose builtin 2022-11-23 23:12:56 +00:00
trunc Add const-eval for `trunc` 2022-11-16 20:07:31 +00:00
unpack2x16float test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
unpack2x16snorm test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
unpack2x16unorm test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
unpack4x8snorm test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
unpack4x8unorm test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00
workgroupBarrier test/tint: Regenerate expectations 2022-07-26 17:16:15 +00:00