diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-08-29 10:25:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-29 10:25:53 -0700 |
| commit | 87d3d4f73a2b3af3ec00f221350864602d12321d (patch) | |
| tree | d97c248b06879c2dcbb35fae236f6f616fb714f8 /source | |
| parent | aaf3f5e97aaa3a256f4ca938251d011c125b9491 (diff) | |
Fix typo SV_DomainLsocation (#4960)
* Fix typo SV_DomainLsocation
* Fix CI failures
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-ir-legalize-varying-params.h | 2 | ||||
| -rw-r--r-- | source/slang/slang-ir-metal-legalize.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-legalize-varying-params.h b/source/slang/slang-ir-legalize-varying-params.h index 58efa39a2..ff6f01a22 100644 --- a/source/slang/slang-ir-legalize-varying-params.h +++ b/source/slang/slang-ir-legalize-varying-params.h @@ -48,7 +48,7 @@ IRInst* emitCalcGroupIndex( M(DepthGreaterEqual, SV_DepthGreaterEqual) \ M(DepthLessEqual, SV_DepthLessEqual) \ M(DispatchThreadID, SV_DispatchThreadID) \ - M(DomainLsocation, SV_DomainLsocation) \ + M(DomainLocation, SV_DomainLocation) \ M(GroupID, SV_GroupID) \ M(GroupIndex, SV_GroupIndex) \ M(GroupThreadID, SV_GroupThreadID) \ diff --git a/source/slang/slang-ir-metal-legalize.cpp b/source/slang/slang-ir-metal-legalize.cpp index 5f42c21ce..00f70b00d 100644 --- a/source/slang/slang-ir-metal-legalize.cpp +++ b/source/slang/slang-ir-metal-legalize.cpp @@ -494,7 +494,7 @@ namespace Slang result.permittedTypes.add(builder.getVectorType(builder.getBasicType(BaseType::UInt), builder.getIntValue(builder.getIntType(), 3))); break; } - case SystemValueSemanticName::DomainLsocation: + case SystemValueSemanticName::DomainLocation: { result.metalSystemValueName = toSlice("position_in_patch"); result.permittedTypes.add(builder.getVectorType(builder.getBasicType(BaseType::Float), builder.getIntValue(builder.getIntType(), 3))); |
