mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 14:08:04 +00:00
test/tint: Update SKIP "expectations"
Change-Id: I131522625051426e93624fbe4f4763071f26ad72 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122202 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f0e578f8bd
commit
b990d393f5
@@ -7,8 +7,3 @@ void f() {
|
||||
const matrix<float16_t, 3, 3> r = (a + b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002112F6749E0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002112F6749E0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002112F6749E0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -2,9 +2,8 @@ SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) + float16_t(2.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(2.0h);
|
||||
const float16_t r = (a + b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000026EC74E4450(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a + b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001CF2FA94E40(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ SKIP: FAILED
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a + float16_t(4.0h));
|
||||
const float16_t b = float16_t(4.0h);
|
||||
const vector<float16_t, 3> r = (a + b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000023450E536E0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000023450E536E0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a + b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C79E5B27F0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C79E5B27F0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C79E5B27F0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -2,9 +2,8 @@ SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) / float16_t(2.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(2.0h);
|
||||
const float16_t r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000232390C4180(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001DE5F7F2A90(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ SKIP: FAILED
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a / float16_t(4.0h));
|
||||
const float16_t b = float16_t(4.0h);
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001FA1E656B40(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001FA1E656B40(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002A238932BC0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002A238932BC0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002A238932BC0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -2,9 +2,8 @@ SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) / float16_t(0.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(0.0h);
|
||||
const float16_t r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001E4C7696450(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001A1C20B2D10(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ SKIP: FAILED
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a / float16_t(0.0h));
|
||||
const float16_t b = float16_t(0.0h);
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000198035B3410(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000198035B3410(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002160BCD37C0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002160BCD37C0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002160BCD37C0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,7 +7,3 @@ void f() {
|
||||
const float16_t r = (a / (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000154BF386B50(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000154BF386B50(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -7,7 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001AAC9012BB0(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001AAC9012BB0(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000015421E739B0(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000015421E739B0(4,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000015421E739B0(4,13): error X3000: unrecognized identifier 'b'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000022203DE1EB0(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000022203DE1EB0(4,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000022203DE1EB0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,7 +7,3 @@ void f() {
|
||||
const float16_t r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000247BCDC5A20(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000247BCDC5A20(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -7,7 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002AA30442DD0(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002AA30442DD0(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9783D4180(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9783D4180(4,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9783D4180(4,13): error X3000: unrecognized identifier 'b'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a / b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001D90BA93590(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001D90BA93590(4,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001D90BA93590(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
float16_t tint_float_mod(float16_t lhs, float16_t rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) % float16_t(2.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(2.0h);
|
||||
const float16_t r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000023722D34110(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(float16_t lhs, vector<float16_t, 3> rhs) {
|
||||
const vector<float16_t, 3> l = vector<float16_t, 3>((lhs).xxx);
|
||||
return (l - (trunc((l / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t a = float16_t(4.0h);
|
||||
const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a % b);
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002545B962860(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, float16_t rhs) {
|
||||
const vector<float16_t, 3> r = vector<float16_t, 3>((rhs).xxx);
|
||||
return (lhs - (trunc((lhs / r)) * r));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a % float16_t(4.0h));
|
||||
const float16_t b = float16_t(4.0h);
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000018D97903680(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000018D97903680(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, vector<float16_t, 3> rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
|
||||
const vector<float16_t, 3> r = (a % b);
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9BEF22740(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9BEF22740(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C9BEF22740(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
float16_t tint_float_mod(float16_t lhs, float16_t rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) % float16_t(0.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(0.0h);
|
||||
const float16_t r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000002639CD34EB0(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, vector<float16_t, 3> rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
|
||||
const vector<float16_t, 3> r = (a % b);
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014E5DAA6DB0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014E5DAA6DB0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014E5DAA6DB0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
float16_t tint_float_mod(float16_t lhs, float16_t rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
float16_t a = float16_t(1.0h);
|
||||
float16_t b = float16_t(0.0h);
|
||||
const float16_t r = (a % (b + b));
|
||||
const float16_t r = tint_float_mod(a, (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000290AE802EA0(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000290AE802EA0(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, vector<float16_t, 3> rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
|
||||
const vector<float16_t, 3> r = (a % (b + b));
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, (b + b));
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C6CF8C3C20(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C6CF8C3C20(4,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001C6CF8C3C20(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
float16_t tint_float_mod(float16_t lhs, float16_t rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
float16_t a = float16_t(1.0h);
|
||||
float16_t b = float16_t(0.0h);
|
||||
const float16_t r = (a % b);
|
||||
const float16_t r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000019B7B10C910(3,3-11): error X3000: unrecognized identifier 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000019B7B10C910(3,13): error X3000: unrecognized identifier 'a'
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
SKIP: FAILED
|
||||
|
||||
vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, vector<float16_t, 3> rhs) {
|
||||
return (lhs - (trunc((lhs / rhs)) * rhs));
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
|
||||
const vector<float16_t, 3> r = (a % b);
|
||||
const vector<float16_t, 3> r = tint_float_mod(a, b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000024A088362F0(3,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000024A088362F0(4,10-18): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000024A088362F0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const matrix<float16_t, 4, 4> r = mul(b, a);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000029C36D606A0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000029C36D606A0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000029C36D606A0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,20 +1,23 @@
|
||||
SKIP: FAILED
|
||||
|
||||
binary/mul/mat3x2-vec3/f16.wgsl:3:14 error: using f16 types in 'uniform' address space is not implemented yet
|
||||
matrix : mat3x2<f16>,
|
||||
^^^^^^^^^^^
|
||||
cbuffer cbuffer_data : register(b0, space0) {
|
||||
uint4 data[2];
|
||||
};
|
||||
|
||||
binary/mul/mat3x2-vec3/f16.wgsl:2:1 note: see layout of struct:
|
||||
/* align(8) size(24) */ struct S {
|
||||
/* offset( 0) align(4) size(12) */ matrix : mat3x2<f16>;
|
||||
/* offset(12) align(1) size( 4) */ // -- implicit field alignment padding --;
|
||||
/* offset(16) align(8) size( 6) */ vector : vec3<f16>;
|
||||
/* offset(22) align(1) size( 2) */ // -- implicit struct size padding --;
|
||||
/* */ };
|
||||
struct S {
|
||||
^^^^^^
|
||||
|
||||
binary/mul/mat3x2-vec3/f16.wgsl:6:36 note: see declaration of variable
|
||||
@group(0) @binding(0) var<uniform> data: S;
|
||||
^^^^
|
||||
matrix<float16_t, 3, 2> data_load(uint offset) {
|
||||
const uint scalar_offset = ((offset + 0u)) / 4;
|
||||
uint ubo_load = data[scalar_offset / 4][scalar_offset % 4];
|
||||
const uint scalar_offset_1 = ((offset + 4u)) / 4;
|
||||
uint ubo_load_1 = data[scalar_offset_1 / 4][scalar_offset_1 % 4];
|
||||
const uint scalar_offset_2 = ((offset + 8u)) / 4;
|
||||
uint ubo_load_2 = data[scalar_offset_2 / 4][scalar_offset_2 % 4];
|
||||
return matrix<float16_t, 3, 2>(vector<float16_t, 2>(float16_t(f16tof32(ubo_load & 0xFFFF)), float16_t(f16tof32(ubo_load >> 16))), vector<float16_t, 2>(float16_t(f16tof32(ubo_load_1 & 0xFFFF)), float16_t(f16tof32(ubo_load_1 >> 16))), vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16))));
|
||||
}
|
||||
|
||||
void main() {
|
||||
uint2 ubo_load_3 = data[1].xy;
|
||||
vector<float16_t, 2> ubo_load_3_xz = vector<float16_t, 2>(f16tof32(ubo_load_3 & 0xFFFF));
|
||||
float16_t ubo_load_3_y = f16tof32(ubo_load_3[0] >> 16);
|
||||
const vector<float16_t, 2> x = mul(vector<float16_t, 3>(ubo_load_3_xz[0], ubo_load_3_y, ubo_load_3_xz[1]), data_load(0u));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const matrix<float16_t, 3, 3> r = mul(b, a);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001A5CF164C00(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001A5CF164C00(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001A5CF164C00(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -1,19 +1,32 @@
|
||||
SKIP: FAILED
|
||||
|
||||
binary/mul/mat3x3-vec3/f16.wgsl:3:14 error: using f16 types in 'uniform' address space is not implemented yet
|
||||
matrix : mat3x3<f16>,
|
||||
^^^^^^^^^^^
|
||||
cbuffer cbuffer_data : register(b0, space0) {
|
||||
uint4 data[2];
|
||||
};
|
||||
|
||||
binary/mul/mat3x3-vec3/f16.wgsl:2:1 note: see layout of struct:
|
||||
/* align(8) size(32) */ struct S {
|
||||
/* offset( 0) align(8) size(24) */ matrix : mat3x3<f16>;
|
||||
/* offset(24) align(8) size( 6) */ vector : vec3<f16>;
|
||||
/* offset(30) align(1) size( 2) */ // -- implicit struct size padding --;
|
||||
/* */ };
|
||||
struct S {
|
||||
^^^^^^
|
||||
|
||||
binary/mul/mat3x3-vec3/f16.wgsl:6:36 note: see declaration of variable
|
||||
@group(0) @binding(0) var<uniform> data: S;
|
||||
^^^^
|
||||
matrix<float16_t, 3, 3> data_load(uint offset) {
|
||||
const uint scalar_offset = ((offset + 0u)) / 4;
|
||||
uint4 ubo_load_1 = data[scalar_offset / 4];
|
||||
uint2 ubo_load = ((scalar_offset & 2) ? ubo_load_1.zw : ubo_load_1.xy);
|
||||
vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
|
||||
float16_t ubo_load_y = f16tof32(ubo_load[0] >> 16);
|
||||
const uint scalar_offset_1 = ((offset + 8u)) / 4;
|
||||
uint4 ubo_load_3 = data[scalar_offset_1 / 4];
|
||||
uint2 ubo_load_2 = ((scalar_offset_1 & 2) ? ubo_load_3.zw : ubo_load_3.xy);
|
||||
vector<float16_t, 2> ubo_load_2_xz = vector<float16_t, 2>(f16tof32(ubo_load_2 & 0xFFFF));
|
||||
float16_t ubo_load_2_y = f16tof32(ubo_load_2[0] >> 16);
|
||||
const uint scalar_offset_2 = ((offset + 16u)) / 4;
|
||||
uint4 ubo_load_5 = data[scalar_offset_2 / 4];
|
||||
uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
|
||||
vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
|
||||
float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
|
||||
return matrix<float16_t, 3, 3>(vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]), vector<float16_t, 3>(ubo_load_2_xz[0], ubo_load_2_y, ubo_load_2_xz[1]), vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]));
|
||||
}
|
||||
|
||||
void main() {
|
||||
uint2 ubo_load_6 = data[1].zw;
|
||||
vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
|
||||
float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
|
||||
const vector<float16_t, 3> x = mul(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]), data_load(0u));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const matrix<float16_t, 2, 2> r = mul(b, a);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001CE35477700(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001CE35477700(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001CE35477700(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -2,9 +2,8 @@ SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) * float16_t(2.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(2.0h);
|
||||
const float16_t r = (a * b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000252E8C86030(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a * b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000178A2942A20(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -1,19 +1,32 @@
|
||||
SKIP: FAILED
|
||||
|
||||
binary/mul/vec3-mat3x3/f16.wgsl:3:14 error: using f16 types in 'uniform' address space is not implemented yet
|
||||
matrix : mat3x3<f16>,
|
||||
^^^^^^^^^^^
|
||||
cbuffer cbuffer_data : register(b0, space0) {
|
||||
uint4 data[2];
|
||||
};
|
||||
|
||||
binary/mul/vec3-mat3x3/f16.wgsl:2:1 note: see layout of struct:
|
||||
/* align(8) size(32) */ struct S {
|
||||
/* offset( 0) align(8) size(24) */ matrix : mat3x3<f16>;
|
||||
/* offset(24) align(8) size( 6) */ vector : vec3<f16>;
|
||||
/* offset(30) align(1) size( 2) */ // -- implicit struct size padding --;
|
||||
/* */ };
|
||||
struct S {
|
||||
^^^^^^
|
||||
|
||||
binary/mul/vec3-mat3x3/f16.wgsl:6:36 note: see declaration of variable
|
||||
@group(0) @binding(0) var<uniform> data: S;
|
||||
^^^^
|
||||
matrix<float16_t, 3, 3> data_load_1(uint offset) {
|
||||
const uint scalar_offset = ((offset + 0u)) / 4;
|
||||
uint4 ubo_load_1 = data[scalar_offset / 4];
|
||||
uint2 ubo_load = ((scalar_offset & 2) ? ubo_load_1.zw : ubo_load_1.xy);
|
||||
vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
|
||||
float16_t ubo_load_y = f16tof32(ubo_load[0] >> 16);
|
||||
const uint scalar_offset_1 = ((offset + 8u)) / 4;
|
||||
uint4 ubo_load_3 = data[scalar_offset_1 / 4];
|
||||
uint2 ubo_load_2 = ((scalar_offset_1 & 2) ? ubo_load_3.zw : ubo_load_3.xy);
|
||||
vector<float16_t, 2> ubo_load_2_xz = vector<float16_t, 2>(f16tof32(ubo_load_2 & 0xFFFF));
|
||||
float16_t ubo_load_2_y = f16tof32(ubo_load_2[0] >> 16);
|
||||
const uint scalar_offset_2 = ((offset + 16u)) / 4;
|
||||
uint4 ubo_load_5 = data[scalar_offset_2 / 4];
|
||||
uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
|
||||
vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
|
||||
float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
|
||||
return matrix<float16_t, 3, 3>(vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]), vector<float16_t, 3>(ubo_load_2_xz[0], ubo_load_2_y, ubo_load_2_xz[1]), vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]));
|
||||
}
|
||||
|
||||
void main() {
|
||||
uint2 ubo_load_6 = data[1].zw;
|
||||
vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
|
||||
float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
|
||||
const vector<float16_t, 3> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1,19 +1,37 @@
|
||||
SKIP: FAILED
|
||||
|
||||
binary/mul/vec3-mat4x3/f16.wgsl:3:14 error: using f16 types in 'uniform' address space is not implemented yet
|
||||
matrix : mat4x3<f16>,
|
||||
^^^^^^^^^^^
|
||||
cbuffer cbuffer_data : register(b0, space0) {
|
||||
uint4 data[3];
|
||||
};
|
||||
|
||||
binary/mul/vec3-mat4x3/f16.wgsl:2:1 note: see layout of struct:
|
||||
/* align(8) size(40) */ struct S {
|
||||
/* offset( 0) align(8) size(32) */ matrix : mat4x3<f16>;
|
||||
/* offset(32) align(8) size( 6) */ vector : vec3<f16>;
|
||||
/* offset(38) align(1) size( 2) */ // -- implicit struct size padding --;
|
||||
/* */ };
|
||||
struct S {
|
||||
^^^^^^
|
||||
|
||||
binary/mul/vec3-mat4x3/f16.wgsl:6:36 note: see declaration of variable
|
||||
@group(0) @binding(0) var<uniform> data: S;
|
||||
^^^^
|
||||
matrix<float16_t, 4, 3> data_load_1(uint offset) {
|
||||
const uint scalar_offset = ((offset + 0u)) / 4;
|
||||
uint4 ubo_load_1 = data[scalar_offset / 4];
|
||||
uint2 ubo_load = ((scalar_offset & 2) ? ubo_load_1.zw : ubo_load_1.xy);
|
||||
vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
|
||||
float16_t ubo_load_y = f16tof32(ubo_load[0] >> 16);
|
||||
const uint scalar_offset_1 = ((offset + 8u)) / 4;
|
||||
uint4 ubo_load_3 = data[scalar_offset_1 / 4];
|
||||
uint2 ubo_load_2 = ((scalar_offset_1 & 2) ? ubo_load_3.zw : ubo_load_3.xy);
|
||||
vector<float16_t, 2> ubo_load_2_xz = vector<float16_t, 2>(f16tof32(ubo_load_2 & 0xFFFF));
|
||||
float16_t ubo_load_2_y = f16tof32(ubo_load_2[0] >> 16);
|
||||
const uint scalar_offset_2 = ((offset + 16u)) / 4;
|
||||
uint4 ubo_load_5 = data[scalar_offset_2 / 4];
|
||||
uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
|
||||
vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
|
||||
float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
|
||||
const uint scalar_offset_3 = ((offset + 24u)) / 4;
|
||||
uint4 ubo_load_7 = data[scalar_offset_3 / 4];
|
||||
uint2 ubo_load_6 = ((scalar_offset_3 & 2) ? ubo_load_7.zw : ubo_load_7.xy);
|
||||
vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
|
||||
float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
|
||||
return matrix<float16_t, 4, 3>(vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]), vector<float16_t, 3>(ubo_load_2_xz[0], ubo_load_2_y, ubo_load_2_xz[1]), vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]), vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
|
||||
}
|
||||
|
||||
void main() {
|
||||
uint2 ubo_load_8 = data[2].xy;
|
||||
vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
|
||||
float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
|
||||
const vector<float16_t, 4> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3,10 +3,7 @@ SKIP: FAILED
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a * float16_t(4.0h));
|
||||
const float16_t b = float16_t(4.0h);
|
||||
const vector<float16_t, 3> r = (a * b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000298EEEF3700(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x00000298EEEF3700(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a * b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001B65F083630(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001B65F083630(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001B65F083630(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const matrix<float16_t, 3, 3> r = (a - b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014C51995C90(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014C51995C90(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000014C51995C90(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -2,9 +2,8 @@ SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const float16_t r = (float16_t(1.0h) - float16_t(2.0h));
|
||||
const float16_t a = float16_t(1.0h);
|
||||
const float16_t b = float16_t(2.0h);
|
||||
const float16_t r = (a - b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000028D0FDE52F0(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a - b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001FE69582A90(3,9-17): error X3000: unrecognized identifier 'float16_t'
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ SKIP: FAILED
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
|
||||
const vector<float16_t, 3> r = (a - float16_t(4.0h));
|
||||
const float16_t b = float16_t(4.0h);
|
||||
const vector<float16_t, 3> r = (a - b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001E70BC13730(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x000001E70BC13730(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
@@ -7,8 +7,3 @@ void f() {
|
||||
const vector<float16_t, 3> r = (a - b);
|
||||
return;
|
||||
}
|
||||
FXC validation failure:
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000027B612936C0(3,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000027B612936C0(4,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
D:\Projects\RampUp\dawn\test\tint\expressions\Shader@0x0000027B612936C0(5,16-24): error X3000: syntax error: unexpected token 'float16_t'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user