diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl index 9f06383b3c..5692ea0d0a 100644 --- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl +++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl @@ -1 +1,37 @@ -SKIP \ No newline at end of file +SKIP: FAILED + +int tint_dot4I8Packed(uint param_0, uint param_1) { + int accumulator = 0; + return dot4add_i8packed(param_0, param_1, accumulator); +} + +void dot4I8Packed_881e62() { + int res = tint_dot4I8Packed(1u, 1u); +} + +struct tint_symbol { + float4 value : SV_Position; +}; + +float4 vertex_main_inner() { + dot4I8Packed_881e62(); + return (0.0f).xxxx; +} + +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() { + dot4I8Packed_881e62(); + return; +} + +[numthreads(1, 1, 1)] +void compute_main() { + dot4I8Packed_881e62(); + return; +} diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.msl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.msl index 9f06383b3c..e88d3858f0 100644 --- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.msl +++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.msl @@ -1 +1,26 @@ -SKIP \ No newline at end of file +SKIP: FAILED + + +enable chromium_experimental_dp4a; + +fn dot4I8Packed_881e62() { + var res : i32 = dot4I8Packed(1u, 1u); +} + +@vertex +fn vertex_main() -> @builtin(position) vec4 { + dot4I8Packed_881e62(); + return vec4(); +} + +@fragment +fn fragment_main() { + dot4I8Packed_881e62(); +} + +@compute @workgroup_size(1) +fn compute_main() { + dot4I8Packed_881e62(); +} + +Failed to generate: error: Unknown import method: dot4I8Packed diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl index 9f06383b3c..c371939ff3 100644 --- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl +++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl @@ -1 +1,37 @@ -SKIP \ No newline at end of file +SKIP: FAILED + +uint tint_dot4U8Packed(uint param_0, uint param_1) { + uint accumulator = 0u; + return dot4add_u8packed(param_0, param_1, accumulator); +} + +void dot4U8Packed_fbed7b() { + uint res = tint_dot4U8Packed(1u, 1u); +} + +struct tint_symbol { + float4 value : SV_Position; +}; + +float4 vertex_main_inner() { + dot4U8Packed_fbed7b(); + return (0.0f).xxxx; +} + +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() { + dot4U8Packed_fbed7b(); + return; +} + +[numthreads(1, 1, 1)] +void compute_main() { + dot4U8Packed_fbed7b(); + return; +} diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.msl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.msl index 9f06383b3c..10a682f045 100644 --- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.msl +++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.msl @@ -1 +1,26 @@ -SKIP \ No newline at end of file +SKIP: FAILED + + +enable chromium_experimental_dp4a; + +fn dot4U8Packed_fbed7b() { + var res : u32 = dot4U8Packed(1u, 1u); +} + +@vertex +fn vertex_main() -> @builtin(position) vec4 { + dot4U8Packed_fbed7b(); + return vec4(); +} + +@fragment +fn fragment_main() { + dot4U8Packed_fbed7b(); +} + +@compute @workgroup_size(1) +fn compute_main() { + dot4U8Packed_fbed7b(); +} + +Failed to generate: error: Unknown import method: dot4U8Packed diff --git a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl index 9f06383b3c..b5bc6986db 100644 --- a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl +++ b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl @@ -1 +1,39 @@ -SKIP \ No newline at end of file +SKIP: FAILED + +int tint_dot4I8Packed(uint param_0, uint param_1) { + int accumulator = 0; + return dot4add_i8packed(param_0, param_1, accumulator); +} + +void dot4I8Packed_881e62() { + uint arg_0 = 1u; + uint arg_1 = 1u; + int res = tint_dot4I8Packed(arg_0, arg_1); +} + +struct tint_symbol { + float4 value : SV_Position; +}; + +float4 vertex_main_inner() { + dot4I8Packed_881e62(); + return (0.0f).xxxx; +} + +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() { + dot4I8Packed_881e62(); + return; +} + +[numthreads(1, 1, 1)] +void compute_main() { + dot4I8Packed_881e62(); + return; +} diff --git a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.msl b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.msl index 9f06383b3c..21893221c5 100644 --- a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.msl +++ b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.msl @@ -1 +1,28 @@ -SKIP \ No newline at end of file +SKIP: FAILED + + +enable chromium_experimental_dp4a; + +fn dot4I8Packed_881e62() { + var arg_0 = 1u; + var arg_1 = 1u; + var res : i32 = dot4I8Packed(arg_0, arg_1); +} + +@vertex +fn vertex_main() -> @builtin(position) vec4 { + dot4I8Packed_881e62(); + return vec4(); +} + +@fragment +fn fragment_main() { + dot4I8Packed_881e62(); +} + +@compute @workgroup_size(1) +fn compute_main() { + dot4I8Packed_881e62(); +} + +Failed to generate: error: Unknown import method: dot4I8Packed diff --git a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl index 9f06383b3c..fb71ba6b4b 100644 --- a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl +++ b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl @@ -1 +1,39 @@ -SKIP \ No newline at end of file +SKIP: FAILED + +uint tint_dot4U8Packed(uint param_0, uint param_1) { + uint accumulator = 0u; + return dot4add_u8packed(param_0, param_1, accumulator); +} + +void dot4U8Packed_fbed7b() { + uint arg_0 = 1u; + uint arg_1 = 1u; + uint res = tint_dot4U8Packed(arg_0, arg_1); +} + +struct tint_symbol { + float4 value : SV_Position; +}; + +float4 vertex_main_inner() { + dot4U8Packed_fbed7b(); + return (0.0f).xxxx; +} + +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() { + dot4U8Packed_fbed7b(); + return; +} + +[numthreads(1, 1, 1)] +void compute_main() { + dot4U8Packed_fbed7b(); + return; +} diff --git a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.msl b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.msl index 9f06383b3c..4ca1d46994 100644 --- a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.msl +++ b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.msl @@ -1 +1,28 @@ -SKIP \ No newline at end of file +SKIP: FAILED + + +enable chromium_experimental_dp4a; + +fn dot4U8Packed_fbed7b() { + var arg_0 = 1u; + var arg_1 = 1u; + var res : u32 = dot4U8Packed(arg_0, arg_1); +} + +@vertex +fn vertex_main() -> @builtin(position) vec4 { + dot4U8Packed_fbed7b(); + return vec4(); +} + +@fragment +fn fragment_main() { + dot4U8Packed_fbed7b(); +} + +@compute @workgroup_size(1) +fn compute_main() { + dot4U8Packed_fbed7b(); +} + +Failed to generate: error: Unknown import method: dot4U8Packed diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.dxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.dxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.dxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.fxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.fxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.fxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.msl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.msl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.msl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.wgsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.wgsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.wgsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.dxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.dxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.dxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.fxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.fxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.fxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.msl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.msl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.msl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.wgsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.wgsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.wgsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.dxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.dxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.dxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.fxc.hlsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.fxc.hlsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.fxc.hlsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.msl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.msl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.msl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.wgsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.wgsl new file mode 100644 index 0000000000..87314ad325 --- /dev/null +++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.wgsl @@ -0,0 +1,7 @@ +SKIP: FAILED + + + +error: line:16: Structure id 3 decorated as Block must be explicitly laid out with RowMajor or ColMajor decorations. + %_struct_3 = OpTypeStruct %mat3v2float + diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.fxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.fxc.hlsl index 45ce82783a..fef3a806fc 100644 --- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.fxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.fxc.hlsl @@ -1,5 +1,9 @@ SKIP: FAILED +vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl:85:15 warning: use of deprecated language feature: 'target' is a reserved keyword +fn search_i1_(target : ptr) -> i32 { + ^^^^^^ + struct BST { int data; int leftIndex; diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.fxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.fxc.hlsl index 99177d42a4..78f51174c9 100644 --- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.fxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.fxc.hlsl @@ -1,5 +1,9 @@ SKIP: FAILED +vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl:87:15 warning: use of deprecated language feature: 'target' is a reserved keyword +fn search_i1_(target : ptr) -> i32 { + ^^^^^^ + struct BST { int data; int leftIndex; diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.fxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.fxc.hlsl index e8e3b26b21..03552a837b 100644 --- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.fxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.fxc.hlsl @@ -1,5 +1,9 @@ SKIP: FAILED +vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl:85:15 warning: use of deprecated language feature: 'target' is a reserved keyword +fn search_i1_(target : ptr) -> i32 { + ^^^^^^ + struct BST { int data; int leftIndex; diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.fxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.fxc.hlsl index 7ccd78fa26..482ab2b4bb 100644 --- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.fxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.fxc.hlsl @@ -1,5 +1,9 @@ SKIP: FAILED +vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl:105:15 warning: use of deprecated language feature: 'target' is a reserved keyword +fn search_i1_(target : ptr) -> i32 { + ^^^^^^ + struct BST { int data; int leftIndex; diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.dxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.dxc.hlsl index 71191e1266..ce7d5c2d40 100755 --- a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.dxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.dxc.hlsl @@ -36,7 +36,7 @@ void main_1() { int d = 0; float GLF_live6sums[9] = (float[9])0; idx = 0; - m43 = float4x3(float3(1.0f, 0.0f, 0.0f), float3(0.0f, 1.0f, 0.0f), float3(0.0f, 0.0f, 1.0f), float3(0.0f, 0.0f, 0.0f)); + m43 = float4x3(float3(1.0f, 0.0f, 0.0f), float3(0.0f, 1.0f, 0.0f), float3(0.0f, 0.0f, 1.0f), (0.0f).xxx); ll_1 = 0; GLF_live6rows = 2; [loop] while (true) { @@ -98,8 +98,11 @@ tint_symbol main() { wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1; return wrapper_result; } +DXC validation failure: +warning: DXIL.dll not found. Resulting DXIL will not be signed for use in release environments. + error: validation errors -C:\src\temp\umdw.0:93: error: Loop must have break. +shader.hlsl:93: error: Loop must have break. Validation failed. diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.dxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.dxc.hlsl index e51bffee8b..ce7d5c2d40 100755 --- a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.dxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.dxc.hlsl @@ -36,7 +36,7 @@ void main_1() { int d = 0; float GLF_live6sums[9] = (float[9])0; idx = 0; - m43 = float4x3(float3(1.0f, 0.0f, 0.0f), float3(0.0f, 1.0f, 0.0f), float3(0.0f, 0.0f, 1.0f), float3(0.0f, 0.0f, 0.0f)); + m43 = float4x3(float3(1.0f, 0.0f, 0.0f), float3(0.0f, 1.0f, 0.0f), float3(0.0f, 0.0f, 1.0f), (0.0f).xxx); ll_1 = 0; GLF_live6rows = 2; [loop] while (true) { @@ -65,22 +65,10 @@ void main_1() { { [loop] for(; (1 < z); c = (c + 1)) { d = 0; - bool tint_tmp = (d >= 0); - if (tint_tmp) { - tint_tmp = (d < 3); - } - bool tint_tmp_1 = (c >= 0); - if (tint_tmp_1) { - tint_tmp_1 = (c < 4); - } - set_scalar_float4x3(tempm43, ((tint_tmp) ? d : 0), ((tint_tmp_1) ? c : 0), 1.0f); + set_scalar_float4x3(tempm43, (((d >= 0) & (d < 3)) ? d : 0), (((c >= 0) & (c < 4)) ? c : 0), 1.0f); } } - bool tint_tmp_2 = (idx >= 0); - if (tint_tmp_2) { - tint_tmp_2 = (idx < 9); - } - const int x_117 = ((tint_tmp_2) ? idx : 0); + const int x_117 = (((idx >= 0) & (idx < 9)) ? idx : 0); const float x_119 = m43[ctr].y; const float x_121 = GLF_live6sums[x_117]; GLF_live6sums[x_117] = (x_121 + x_119); @@ -110,8 +98,11 @@ tint_symbol main() { wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1; return wrapper_result; } +DXC validation failure: +warning: DXIL.dll not found. Resulting DXIL will not be signed for use in release environments. + error: validation errors -C:\src\temp\u1tig.0:105: error: Loop must have break. +shader.hlsl:93: error: Loop must have break. Validation failed. diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.fxc.hlsl b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.fxc.hlsl index 364fa17705..7377385d44 100644 --- a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.fxc.hlsl +++ b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.fxc.hlsl @@ -1,5 +1,9 @@ SKIP: FAILED +vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl:119:15 warning: use of deprecated language feature: 'target' is a reserved keyword +fn search_i1_(target : ptr) -> i32 { + ^^^^^^ + struct BST { int data; int leftIndex;