Skip to content

Commit

Permalink
Generated missing tint e2e tests for ir.dxc.hlsl
Browse files Browse the repository at this point in the history
For quadSwapX, Y, and Diagonal

Change-Id: I84c32cf279c4bb85222a8d52df21b8c7b99890e9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202634
Commit-Queue: Natalie Chouinard <[email protected]>
Auto-Submit: Antonio Maiorano <[email protected]>
Reviewed-by: Natalie Chouinard <[email protected]>
Reviewed-by: dan sinclair <[email protected]>
Commit-Queue: dan sinclair <[email protected]>
  • Loading branch information
amaiorano authored and Dawn LUCI CQ committed Aug 15, 2024
1 parent f2f4147 commit 06c6307
Show file tree
Hide file tree
Showing 96 changed files with 1,584 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> quadSwapDiagonal_15ac75() {
vector<float16_t, 2> res = QuadReadAcrossDiagonal((float16_t(1.0h)).xx);
return res;
}

void fragment_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, quadSwapDiagonal_15ac75());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, quadSwapDiagonal_15ac75());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float16_t quadSwapDiagonal_2be5e7() {
float16_t res = QuadReadAcrossDiagonal(float16_t(1.0h));
return res;
}

void fragment_main() {
prevent_dce.Store<float16_t>(0u, quadSwapDiagonal_2be5e7());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<float16_t>(0u, quadSwapDiagonal_2be5e7());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float4 quadSwapDiagonal_331804() {
float4 res = QuadReadAcrossDiagonal((1.0f).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store4(0u, asuint(quadSwapDiagonal_331804()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(quadSwapDiagonal_331804()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint2 quadSwapDiagonal_348173() {
uint2 res = QuadReadAcrossDiagonal((1u).xx);
return res;
}

void fragment_main() {
prevent_dce.Store2(0u, quadSwapDiagonal_348173());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, quadSwapDiagonal_348173());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float quadSwapDiagonal_486196() {
float res = QuadReadAcrossDiagonal(1.0f);
return res;
}

void fragment_main() {
prevent_dce.Store(0u, asuint(quadSwapDiagonal_486196()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(quadSwapDiagonal_486196()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint quadSwapDiagonal_730e40() {
uint res = QuadReadAcrossDiagonal(1u);
return res;
}

void fragment_main() {
prevent_dce.Store(0u, quadSwapDiagonal_730e40());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, quadSwapDiagonal_730e40());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float2 quadSwapDiagonal_8077c8() {
float2 res = QuadReadAcrossDiagonal((1.0f).xx);
return res;
}

void fragment_main() {
prevent_dce.Store2(0u, asuint(quadSwapDiagonal_8077c8()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(quadSwapDiagonal_8077c8()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint3 quadSwapDiagonal_856536() {
uint3 res = QuadReadAcrossDiagonal((1u).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store3(0u, quadSwapDiagonal_856536());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, quadSwapDiagonal_856536());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int quadSwapDiagonal_9ccb38() {
int res = QuadReadAcrossDiagonal(1);
return res;
}

void fragment_main() {
prevent_dce.Store(0u, asuint(quadSwapDiagonal_9ccb38()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(quadSwapDiagonal_9ccb38()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int2 quadSwapDiagonal_a090b0() {
int2 res = QuadReadAcrossDiagonal((1).xx);
return res;
}

void fragment_main() {
prevent_dce.Store2(0u, asuint(quadSwapDiagonal_a090b0()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(quadSwapDiagonal_a090b0()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int4 quadSwapDiagonal_a665b1() {
int4 res = QuadReadAcrossDiagonal((1).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store4(0u, asuint(quadSwapDiagonal_a665b1()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(quadSwapDiagonal_a665b1()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int3 quadSwapDiagonal_a82e1d() {
int3 res = QuadReadAcrossDiagonal((1).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_a82e1d()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_a82e1d()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 4> quadSwapDiagonal_af19a5() {
vector<float16_t, 4> res = QuadReadAcrossDiagonal((float16_t(1.0h)).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapDiagonal_af19a5());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapDiagonal_af19a5());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float3 quadSwapDiagonal_b905fc() {
float3 res = QuadReadAcrossDiagonal((1.0f).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_b905fc()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, asuint(quadSwapDiagonal_b905fc()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint4 quadSwapDiagonal_c31636() {
uint4 res = QuadReadAcrossDiagonal((1u).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store4(0u, quadSwapDiagonal_c31636());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, quadSwapDiagonal_c31636());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 3> quadSwapDiagonal_e4bec8() {
vector<float16_t, 3> res = QuadReadAcrossDiagonal((float16_t(1.0h)).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store<vector<float16_t, 3> >(0u, quadSwapDiagonal_e4bec8());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 3> >(0u, quadSwapDiagonal_e4bec8());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 4> quadSwapX_02834c() {
vector<float16_t, 4> res = QuadReadAcrossX((float16_t(1.0h)).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapX_02834c());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 4> >(0u, quadSwapX_02834c());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int3 quadSwapX_053f3b() {
int3 res = QuadReadAcrossX((1).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_053f3b()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_053f3b()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint4 quadSwapX_07f1fc() {
uint4 res = QuadReadAcrossX((1u).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store4(0u, quadSwapX_07f1fc());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, quadSwapX_07f1fc());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float3 quadSwapX_150d6f() {
float3 res = QuadReadAcrossX((1.0f).xxx);
return res;
}

void fragment_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
uint2 quadSwapX_19f8ce() {
uint2 res = QuadReadAcrossX((1u).xx);
return res;
}

void fragment_main() {
prevent_dce.Store2(0u, quadSwapX_19f8ce());
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, quadSwapX_19f8ce());
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
int quadSwapX_1e1086() {
int res = QuadReadAcrossX(1);
return res;
}

void fragment_main() {
prevent_dce.Store(0u, asuint(quadSwapX_1e1086()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(quadSwapX_1e1086()));
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

RWByteAddressBuffer prevent_dce : register(u0);
float4 quadSwapX_69af6a() {
float4 res = QuadReadAcrossX((1.0f).xxxx);
return res;
}

void fragment_main() {
prevent_dce.Store4(0u, asuint(quadSwapX_69af6a()));
}

[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(quadSwapX_69af6a()));
}

Loading

0 comments on commit 06c6307

Please sign in to comment.