Skip to content

Commit 804a573

Browse files
authored
Merge pull request #6 from slangbot/format-6085-acheney/bindingwarning2
Format code for PR #6085
2 parents 90f8d03 + b375ade commit 804a573

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/slang/slang-parameter-binding.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1232,8 +1232,7 @@ static void addExplicitParameterBindings_GLSL(
12321232
}
12331233

12341234

1235-
if (hlslToVulkanLayoutOptions == nullptr ||
1236-
!hlslToVulkanLayoutOptions->canInferBindings() ||
1235+
if (hlslToVulkanLayoutOptions == nullptr || !hlslToVulkanLayoutOptions->canInferBindings() ||
12371236
!hlslToVulkanLayoutOptions->canInfer(vulkanKind, hlslInfo.space))
12381237
{
12391238
// If the user did not set how to interpret 'hlsl style bindings', we should map

0 commit comments

Comments
 (0)