Skip to content

Commit d81fd22

Browse files
committed
adjust error msg
1 parent 7fcd4ff commit d81fd22

3 files changed

Lines changed: 2 additions & 195 deletions

File tree

tools/clang/lib/Headers/hlsl/dx/linalg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Header for linear algebra APIs.
22

33
#if __spirv__
4-
#error "Cooperative matrix/vectors not (yet) supported for SPIRV"
4+
#error "Cooperative vectors not (yet) supported for SPIRV"
55
#endif
66

77
#if ((__SHADER_TARGET_MAJOR > 6) || \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// This is a copy of \tools\clang\test\CodeGenDXIL\hlsl\linalg\outerproductaccumulate.hlsl
55
// except that spirv is targeted
66

7-
// expected-error@dx/linalg.h:4{{Cooperative matrix/vectors not (yet) supported for SPIRV}}
7+
// expected-error@dx/linalg.h:4{{Cooperative vectors not (yet) supported for SPIRV}}
88
#include <dx/linalg.h>
99

1010
RWByteAddressBuffer RWBuf;

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

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)