dawn-cmake/test/intrinsics/gen
David Neto 1e19b55d19 spirv-reader: switch to HLSL-style pipeline IO
- When storing to sample_mask output, write to the 0th element
- Only make a return struct if it has members
- Adjust type signedness coercion when loading special builtins.
- Adapt tests

- Update expectations for end-to-end tests

- Handle sample_mask with stride
  Input variables normally don't have layout. But they can have it
  up through SPIR-V 1.4.
  Handle this case in the SPIR-V reader, by seeing through the
  intermediate alias type created for the strided array type.

Bug: tint:508
Change-Id: I0f19dc1305d3f250dbbc0698a602288c34245274
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54743
Auto-Submit: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-06-17 09:10:04 +00:00
..
abs writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
acos writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
all writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
any writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
arrayLength writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
asin writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
atan writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
atan2 test: Add case for tint:870 2021-06-16 09:50:11 +00:00
ceil writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
clamp writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
cos writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
cosh writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
countOneBits writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
cross writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
determinant writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
distance writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dot writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdx writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdxCoarse writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdxFine writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdy writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdyCoarse writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
dpdyFine writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
exp writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
exp2 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
faceForward writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
floor writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
fma writer/hlsl: Implement fma() 2021-06-16 09:19:36 +00:00
fract writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
frexp writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
fwidth writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
fwidthCoarse writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
fwidthFine writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ignore writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
inverseSqrt writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
isFinite writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
isInf writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
isNan test: Add case for tint:870 2021-06-16 09:50:11 +00:00
isNormal writer/hlsl: Implement isNormal 2021-06-16 09:19:36 +00:00
ldexp writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
length writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
log writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
log2 writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
max writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
min writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
mix writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
modf writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
normalize writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pack2x16float writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pack2x16snorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pack2x16unorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pack4x8snorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pack4x8unorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
pow writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
reflect writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
reverseBits writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
round writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
select writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
sign writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
sin writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
sinh writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
smoothStep writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
sqrt writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
step writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
storageBarrier writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
tan writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
tanh writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureDimensions writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureLoad writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureNumLayers writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureNumLevels writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureNumSamples writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureSample writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureSampleBias writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureSampleCompare writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureSampleCompareLevel spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
textureSampleGrad writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureSampleLevel writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
textureStore writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
transpose writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
trunc writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
unpack2x16float writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
unpack2x16snorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
unpack2x16unorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
unpack4x8snorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
unpack4x8unorm writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
workgroupBarrier writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00