Skip to content

Commit be4c02f

Browse files
Ugh..line number change from updating the linalg headers
1 parent bf5c62f commit be4c02f

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

tools/clang/test/SemaHLSL/hlsl/linalg/builtins/mul_add_invalid.hlsl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ void test_invalid_bias_interpretation_value() {
162162
matrix_stride, bias_buffer, bias_offset,
163163
bias_interpretation_9);
164164

165-
const uint bias_interpretation_10 = 16;
166-
165+
const uint bias_interpretation_10 = 16;
167166

168167
// expected-error@+6 {{16 is an invalid Memory Interpretation value}}
169168
__builtin_MatVecMulAdd(output_vector, is_output_unsigned, input_vector,

tools/clang/test/SemaHLSL/hlsl/linalg/make-interp-vec-errors.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export float4 Test1(vector<float, 4> Input) {
1010
Buf, 0, 0};
1111

1212
// expected-error@+3{{no matching function for call to 'MakeInterpretedVector'}}
13-
// expected-note@dx/linalg.h:111{{candidate template ignored: invalid explicitly-specified argument for template parameter 'DT'}}
13+
// expected-note@dx/linalg.h:107{{candidate template ignored: invalid explicitly-specified argument for template parameter 'DT'}}
1414
return Mul<float>(
1515
Matrix, MakeInterpretedVector<2>(Input));
1616
}
@@ -26,7 +26,7 @@ export float4 Test2(vector<float, 4> Input) {
2626
Buf, 0, 0};
2727

2828
// expected-error@+3{{no matching function for call to 'MakeInterpretedVector'}}
29-
// expected-note@dx/linalg.h:111{{candidate template ignored: invalid explicitly-specified argument for template parameter 'DT'}}
29+
// expected-note@dx/linalg.h:107{{candidate template ignored: invalid explicitly-specified argument for template parameter 'DT'}}
3030
return Mul<float>(
3131
Matrix, MakeInterpretedVector<DATA_TYPE_InvalidType>(Input));
3232
}

tools/clang/test/SemaHLSL/hlsl/linalg/mat-vec-mul-errors.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ vector<float, 128> MixUpVectorAndMatrixArguments(vector<float, 128> Input) {
1111
Buf, 0, 0};
1212

1313
// expected-error@+2{{no matching function for call to 'Mul'}}
14-
// expected-note@dx/linalg.h:125{{candidate template ignored: could not match 'MatrixRefImpl' against 'InterpretedVector'}}
14+
// expected-note@dx/linalg.h:121{{candidate template ignored: could not match 'MatrixRefImpl' against 'InterpretedVector'}}
1515
return Mul<float>(MakeInterpretedVector<DATA_TYPE_FLOAT16>(Input), Matrix);
1616
}

tools/clang/test/SemaHLSL/hlsl/linalg/mat-vec-muladd-errors.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ vector<float, 128> MixUpVectorAndMatrixArguments(vector<float, 128> Input) {
1111
Buf, 0, 0};
1212

1313
// expected-error@+2{{no matching function for call to 'MulAdd'}}
14-
// expected-note@dx/linalg.h:151{{candidate template ignored: could not match 'MatrixRefImpl' against 'InterpretedVector'}}
14+
// expected-note@dx/linalg.h:147{{candidate template ignored: could not match 'MatrixRefImpl' against 'InterpretedVector'}}
1515
return MulAdd<float>(MakeInterpretedVector<DATA_TYPE_SINT16>(Input), Matrix, MakeInterpretedVector<DATA_TYPE_SINT16>(Input));
1616
}

tools/clang/test/SemaHLSL/hlsl/linalg/outerproductaccumulate-errors.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export void Test4(vector<half, 128> Input1, vector<half, 64> Input2) {
1212
matrix = {RWBuf, 0, 0};
1313

1414
// expected-error@+3{{no matching function for call to 'OuterProductAccumulate'}}
15-
// expected-note@dx/linalg.h:175{{candidate template ignored: could not match 0 against 1}}
15+
// expected-note@dx/linalg.h:171{{candidate template ignored: could not match 0 against 1}}
1616

1717
OuterProductAccumulate(Input1, Input2, matrix);
1818
}
@@ -25,7 +25,7 @@ export void Test5(vector<int, 128> Input1, vector<uint, 128> Input2) {
2525
matrix = {RWBuf, 0, 0};
2626

2727
// expected-error@+3{{no matching function for call to 'OuterProductAccumulate'}}
28-
// expected-note@dx/linalg.h:175{{candidate template ignored: could not match 0 against 1}}
28+
// expected-note@dx/linalg.h:171{{candidate template ignored: could not match 0 against 1}}
2929

3030
OuterProductAccumulate(Input1, Input2, matrix);
3131
}
@@ -38,7 +38,7 @@ export void Test4(vector<half, 64> Input1, vector<half, 64> Input2) {
3838
matrix = {RWBuf, 0, 0};
3939

4040
// expected-error@+3{{no matching function for call to 'OuterProductAccumulate'}}
41-
// expected-note@dx/linalg.h:175{{candidate template ignored: deduced conflicting types for parameter 'ElTy' ('int' vs. 'unsigned int')}}
41+
// expected-note@dx/linalg.h:171{{candidate template ignored: deduced conflicting types for parameter 'ElTy' ('int' vs. 'unsigned int')}}
4242

4343
OuterProductAccumulate(Input1, Input2, matrix);
4444
}

0 commit comments

Comments
 (0)