mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-13 23:50:08 +00:00
Merge pull request #2197 from Try/rich-descriptor-fixup
Fixup check for SPVFuncImplVariableSizedDescriptor
This commit is contained in:
commit
5e963d62fa
@ -7290,7 +7290,8 @@ void CompilerMSL::emit_custom_functions()
|
||||
end_scope_decl();
|
||||
statement("");
|
||||
|
||||
if (msl_options.runtime_array_rich_descriptor)
|
||||
if (msl_options.runtime_array_rich_descriptor &&
|
||||
spv_function_implementations.count(SPVFuncImplVariableSizedDescriptor) != 0)
|
||||
{
|
||||
statement("template<typename T>");
|
||||
statement("struct spvDescriptorArray<device T*>");
|
||||
|
Loading…
Reference in New Issue
Block a user