We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3424125 commit c8edd4eCopy full SHA for c8edd4e
source/slang/slang-parameter-binding.cpp
@@ -1074,8 +1074,8 @@ static void _maybeDiagnoseMissingVulkanLayoutModifier(
1074
DeclRef<VarDeclBase> const& varDecl)
1075
{
1076
// Don't warn if the declaration is a vk::push_constant or shaderRecordEXT
1077
- if (varDecl.getDecl()->hasModifier<PushConstantAttribute>()
1078
- || varDecl.getDecl()->hasModifier<ShaderRecordAttribute>())
+ if (varDecl.getDecl()->hasModifier<PushConstantAttribute>() ||
+ varDecl.getDecl()->hasModifier<ShaderRecordAttribute>())
1079
1080
return;
1081
}
0 commit comments