Update test expectation files
Some pass DXC, but not FXC (e.g. continue_in_switch). Some now pass (e.g intrinsics/gen/atan2/*.hlsl) Some now fail gracefully instead of asserting (e.g. 807.spv) Change-Id: I92b17fcadc7850de5bd93ff07507cea7e5487fc9 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68820 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
11ab43ddb9
commit
f3f8ec3845
|
@ -1,3 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
error: unhandled instruction with opcode 150: %712 = OpISubBorrow %710 %107 %470
|
||||
error: extended arithmetic is not finalized for WGSL: https://github.com/gpuweb/gpuweb/issues/1565: %712 = OpISubBorrow %710 %107 %470
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
error: unhandled instruction with opcode 150: %712 = OpISubBorrow %710 %107 %470
|
||||
error: extended arithmetic is not finalized for WGSL: https://github.com/gpuweb/gpuweb/issues/1565: %712 = OpISubBorrow %710 %107 %470
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
error: unhandled instruction with opcode 150: %712 = OpISubBorrow %710 %107 %470
|
||||
error: extended arithmetic is not finalized for WGSL: https://github.com/gpuweb/gpuweb/issues/1565: %712 = OpISubBorrow %710 %107 %470
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
error: unhandled instruction with opcode 150: %712 = OpISubBorrow %710 %107 %470
|
||||
error: extended arithmetic is not finalized for WGSL: https://github.com/gpuweb/gpuweb/issues/1565: %712 = OpISubBorrow %710 %107 %470
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
../src/ast/array_accessor_expression.cc:29 internal compiler error: TINT_ASSERT(array_)
|
||||
********************************************************************
|
||||
* The tint shader compiler has encountered an unexpected error. *
|
||||
* *
|
||||
* Please help us fix this issue by submitting a bug report at *
|
||||
* crbug.com/tint with the source program that triggered the bug. *
|
||||
********************************************************************
|
||||
|
||||
error: undef pointer is not valid: %845 = OpUndef %434
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
../src/ast/array_accessor_expression.cc:29 internal compiler error: TINT_ASSERT(array_)
|
||||
********************************************************************
|
||||
* The tint shader compiler has encountered an unexpected error. *
|
||||
* *
|
||||
* Please help us fix this issue by submitting a bug report at *
|
||||
* crbug.com/tint with the source program that triggered the bug. *
|
||||
********************************************************************
|
||||
|
||||
error: undef pointer is not valid: %845 = OpUndef %434
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
../src/ast/array_accessor_expression.cc:29 internal compiler error: TINT_ASSERT(array_)
|
||||
********************************************************************
|
||||
* The tint shader compiler has encountered an unexpected error. *
|
||||
* *
|
||||
* Please help us fix this issue by submitting a bug report at *
|
||||
* crbug.com/tint with the source program that triggered the bug. *
|
||||
********************************************************************
|
||||
|
||||
error: undef pointer is not valid: %845 = OpUndef %434
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
SKIP: FAILED
|
||||
|
||||
../src/ast/array_accessor_expression.cc:29 internal compiler error: TINT_ASSERT(array_)
|
||||
********************************************************************
|
||||
* The tint shader compiler has encountered an unexpected error. *
|
||||
* *
|
||||
* Please help us fix this issue by submitting a bug report at *
|
||||
* crbug.com/tint with the source program that triggered the bug. *
|
||||
********************************************************************
|
||||
|
||||
error: undef pointer is not valid: %845 = OpUndef %434
|
||||
|
|
|
@ -17,5 +17,5 @@ void main() {
|
|||
s.data[constants[0].x] = 0u;
|
||||
return;
|
||||
}
|
||||
C:\src\tint\test\Shader@0x00000272D4538E60(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
||||
C:\src\tint\test\Shader@0x00000150124FBBE0(15,3-24): error X3500: array reference cannot be used as an l-value; not natively addressable
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3824
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void atan2_57fb13() {
|
||||
float2 res = atan2(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
atan2_57fb13();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
atan2_57fb13();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3824
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void atan2_a70d0d() {
|
||||
float3 res = atan2(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
atan2_a70d0d();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
atan2_a70d0d();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3824
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void atan2_ae713e() {
|
||||
float4 res = atan2(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
atan2_ae713e();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
atan2_ae713e();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3823
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void isNan_1280ab() {
|
||||
bool3 res = isnan(float3(0.0f, 0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
isNan_1280ab();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
isNan_1280ab();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3823
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void isNan_4d280d() {
|
||||
bool4 res = isnan(float4(0.0f, 0.0f, 0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
isNan_4d280d();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
isNan_4d280d();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
SKIP: https://github.com/microsoft/DirectXShaderCompiler/issues/3823
|
||||
|
||||
|
||||
|
||||
Validation Failure:
|
||||
void isNan_67ecd3() {
|
||||
bool2 res = isnan(float2(0.0f, 0.0f));
|
||||
}
|
||||
|
@ -11,10 +6,16 @@ struct tint_symbol {
|
|||
float4 value : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
float4 vertex_main_inner() {
|
||||
isNan_67ecd3();
|
||||
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
|
||||
return tint_symbol_1;
|
||||
return float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
tint_symbol vertex_main() {
|
||||
const float4 inner_result = vertex_main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.value = inner_result;
|
||||
return wrapper_result;
|
||||
}
|
||||
|
||||
void fragment_main() {
|
||||
|
@ -27,12 +28,3 @@ void compute_main() {
|
|||
isNan_67ecd3();
|
||||
return;
|
||||
}
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
||||
Internal Compiler error: cast<X>() argument of incompatible type!
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
SKIP: FAILED
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void f() {
|
||||
{
|
||||
|
@ -15,3 +17,5 @@ void f() {
|
|||
}
|
||||
return;
|
||||
}
|
||||
C:\src\tint\test\Shader@0x000001C513B5E750(7,11-19): error X3708: continue cannot be used in a switch
|
||||
|
||||
|
|
Loading…
Reference in New Issue