Skip to content

Commit c8edd4e

Browse files
committed
format code
1 parent 3424125 commit c8edd4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/slang/slang-parameter-binding.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,8 @@ static void _maybeDiagnoseMissingVulkanLayoutModifier(
10741074
DeclRef<VarDeclBase> const& varDecl)
10751075
{
10761076
// Don't warn if the declaration is a vk::push_constant or shaderRecordEXT
1077-
if (varDecl.getDecl()->hasModifier<PushConstantAttribute>()
1078-
|| varDecl.getDecl()->hasModifier<ShaderRecordAttribute>())
1077+
if (varDecl.getDecl()->hasModifier<PushConstantAttribute>() ||
1078+
varDecl.getDecl()->hasModifier<ShaderRecordAttribute>())
10791079
{
10801080
return;
10811081
}

0 commit comments

Comments
 (0)