Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion spirv_msl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17930,7 +17930,10 @@ string CompilerMSL::builtin_qualifier(BuiltIn builtin)
{
// thread_execution_width is an alias for threads_per_simdgroup, and it's only available since 1.0,
// but not in fragment.
return "thread_execution_width";
if (msl_options.supports_msl_version(3, 0))
return "threads_per_simdgroup";
else
return "thread_execution_width";
}

case BuiltInNumSubgroups:
Expand Down