Skip to content

Commit d216422

Browse files
committed
code review feedback - rename variable
1 parent 3cded7b commit d216422

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %dxc -T cs_6_9 -E main %s -verify
22

3-
RWByteAddressBuffer buf;
3+
RWByteAddressBuffer Buf;
44
groupshared float SharedArr[64];
55

66
[numthreads(4,1,1)]
@@ -22,7 +22,7 @@ void main() {
2222
__builtin_LinAlg_MatrixAccumulate(mat2, mat, mat);
2323

2424
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixAccumulateToDescriptor potentially used by ''main'' requires shader model 6.10 or greater}}
25-
__builtin_LinAlg_MatrixAccumulateToDescriptor(mat, buf, 9, 8, 7);
25+
__builtin_LinAlg_MatrixAccumulateToDescriptor(mat, Buf, 9, 8, 7);
2626

2727
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixGetCoordinate potentially used by ''main'' requires shader model 6.10 or greater}}
2828
uint2 coord = __builtin_LinAlg_MatrixGetCoordinate(mat, 0);
@@ -34,7 +34,7 @@ void main() {
3434
__builtin_LinAlg_MatrixLength(mat);
3535

3636
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixLoadFromDescriptor potentially used by ''main'' requires shader model 6.10 or greater}}
37-
__builtin_LinAlg_MatrixLoadFromDescriptor(mat, buf, 1, 1, 1);
37+
__builtin_LinAlg_MatrixLoadFromDescriptor(mat, Buf, 1, 1, 1);
3838

3939
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixMatrixMultiply potentially used by ''main'' requires shader model 6.10 or greater}}
4040
__builtin_LinAlg_MatrixMatrixMultiply(mat2, mat, mat);
@@ -52,7 +52,7 @@ void main() {
5252
__builtin_LinAlg_MatrixSetElement(mat, mat, 1, 1);
5353

5454
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixStoreToDescriptor potentially used by ''main'' requires shader model 6.10 or greater}}
55-
__builtin_LinAlg_MatrixStoreToDescriptor(mat, buf, 1, 1, 1);
55+
__builtin_LinAlg_MatrixStoreToDescriptor(mat, Buf, 1, 1, 1);
5656

5757
// expected-error@+1{{intrinsic __builtin_LinAlg_MatrixVectorMultiply potentially used by ''main'' requires shader model 6.10 or greater}}
5858
__builtin_LinAlg_MatrixVectorMultiply(result, mat, vec1, 1);

0 commit comments

Comments
 (0)