dawn-cmake/test/intrinsics/gen/textureLoad/20fa2f.wgsl.expected.hlsl
Ben Clayton 55ca24e696 [writer]: AppendVector() - support zero value vectors
These were not correctly handled, causing multiple writer issues.

Updated test stats:
3248 tests run, 2693 tests pass, 555 tests skipped, 0 tests failed

Fixed: tint:757
Change-Id: If92e9c2ceefe986c92ca47d23c8d6b64b155ca49
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53081
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-06-03 15:08:14 +00:00

23 lines
329 B
HLSL

Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_20fa2f() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
void vertex_main() {
textureLoad_20fa2f();
return;
}
void fragment_main() {
textureLoad_20fa2f();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
textureLoad_20fa2f();
return;
}