mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-09 13:50:05 +00:00
Apply suggestions from code review
Fix nits
This commit is contained in:
parent
488559ff4c
commit
d7ad3d7257
@ -14059,8 +14059,8 @@ void CompilerMSL::fix_up_shader_inputs_outputs()
|
||||
}
|
||||
}
|
||||
|
||||
if ( !msl_options.argument_buffers &&
|
||||
msl_options.replace_recursive_inputs && type_contains_recursion(type) &&
|
||||
if (!msl_options.argument_buffers &&
|
||||
msl_options.replace_recursive_inputs && type_contains_recursion(type) &&
|
||||
(var.storage == StorageClassUniform || var.storage == StorageClassUniformConstant ||
|
||||
var.storage == StorageClassPushConstant || var.storage == StorageClassStorageBuffer))
|
||||
{
|
||||
@ -18578,7 +18578,6 @@ void CompilerMSL::analyze_argument_buffers()
|
||||
statement(addr_space, " auto& ", buffer_name, " = *(", addr_space, " ", buffer_type_name, "*)", buffer_name, "_vp;");
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user