diff options
Diffstat (limited to 'source/slang/reflection.cpp')
| -rw-r--r-- | source/slang/reflection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/reflection.cpp b/source/slang/reflection.cpp index 708b98f2b..65901d6af 100644 --- a/source/slang/reflection.cpp +++ b/source/slang/reflection.cpp @@ -961,7 +961,7 @@ SLANG_API void spReflectionEntryPoint_getComputeThreadGroupSize( SlangUInt sizeAlongAxis[3] = { 1, 1, 1 }; // First look for the HLSL case, where we have an attribute attached to the entry point function - auto numThreadsAttribute = entryPointFunc->FindModifier<HLSLNumThreadsAttribute>(); + auto numThreadsAttribute = entryPointFunc->FindModifier<NumThreadsAttribute>(); if (numThreadsAttribute) { sizeAlongAxis[0] = numThreadsAttribute->x; |
