Fix test-runner not skipping dirsWithNoPassExpectations
Tests were moved to a new 'tint' subdirectory for the tint -> Dawn merge, but these paths were not updated. Also regen'd files for HLSL and a couple are no longer failing. Change-Id: I11c315d948013ed30635d20e6da565450859cb03 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/84341 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
d9d08aecf4
commit
7419f0e26a
|
@ -1,13 +0,0 @@
|
|||
SKIP: FAILED
|
||||
|
||||
void main_1() {
|
||||
const uint2 x_1 = uint2(3u, 4u);
|
||||
const uint x_10 = x_1[1u];
|
||||
return;
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
main_1();
|
||||
return;
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
SKIP: FAILED
|
||||
|
||||
vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl:15:5 warning: code is unreachable
|
||||
return;
|
||||
^^^^^^
|
||||
|
||||
cbuffer cbuffer_x_5 : register(b0, space0) {
|
||||
uint4 x_5[1];
|
||||
};
|
||||
static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
void main_1() {
|
||||
const float x_26 = asfloat(x_5[0].x);
|
||||
if ((x_26 > 1.0f)) {
|
||||
[loop] while (true) {
|
||||
x_GLF_color = float4(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
}
|
||||
return;
|
||||
}
|
||||
x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
struct main_out {
|
||||
float4 x_GLF_color_1;
|
||||
};
|
||||
struct tint_symbol {
|
||||
float4 x_GLF_color_1 : SV_Target0;
|
||||
};
|
||||
|
||||
main_out main_inner() {
|
||||
main_1();
|
||||
const main_out tint_symbol_2 = {x_GLF_color};
|
||||
return tint_symbol_2;
|
||||
}
|
||||
|
||||
tint_symbol main() {
|
||||
const main_out inner_result = main_inner();
|
||||
tint_symbol wrapper_result = (tint_symbol)0;
|
||||
wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
|
||||
return wrapper_result;
|
||||
}
|
||||
error: validation errors
|
||||
C:\src\temp\u1hm0.0:31: error: Loop must have break.
|
||||
Validation failed.
|
||||
|
||||
|
||||
|
|
@ -52,9 +52,9 @@ const (
|
|||
// These directories contain large corpora of tests for which the generated code
|
||||
// is uninteresting.
|
||||
var dirsWithNoPassExpectations = []string{
|
||||
"/test/benchmark/",
|
||||
"/test/unittest/",
|
||||
"/test/vk-gl-cts/",
|
||||
"/test/tint/benchmark/",
|
||||
"/test/tint/unittest/",
|
||||
"/test/tint/vk-gl-cts/",
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in New Issue