We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54997fb + 8af391e commit 5e963d6Copy full SHA for 5e963d6
1 file changed
spirv_msl.cpp
@@ -7290,7 +7290,8 @@ void CompilerMSL::emit_custom_functions()
7290
end_scope_decl();
7291
statement("");
7292
7293
- if (msl_options.runtime_array_rich_descriptor)
+ if (msl_options.runtime_array_rich_descriptor &&
7294
+ spv_function_implementations.count(SPVFuncImplVariableSizedDescriptor) != 0)
7295
{
7296
statement("template<typename T>");
7297
statement("struct spvDescriptorArray<device T*>");
0 commit comments