mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-12 14:46:08 +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
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user