From b375ade9171646c3ee8b6e0a3ce17586f64afb7d Mon Sep 17 00:00:00 2001 From: slangbot <186143334+slangbot@users.noreply.github.com> Date: Tue, 14 Jan 2025 21:28:26 +0000 Subject: [PATCH] format code --- source/slang/slang-parameter-binding.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/slang/slang-parameter-binding.cpp b/source/slang/slang-parameter-binding.cpp index ca32220b0e..c1ba29ff85 100644 --- a/source/slang/slang-parameter-binding.cpp +++ b/source/slang/slang-parameter-binding.cpp @@ -1232,8 +1232,7 @@ static void addExplicitParameterBindings_GLSL( } - if (hlslToVulkanLayoutOptions == nullptr || - !hlslToVulkanLayoutOptions->canInferBindings() || + if (hlslToVulkanLayoutOptions == nullptr || !hlslToVulkanLayoutOptions->canInferBindings() || !hlslToVulkanLayoutOptions->canInfer(vulkanKind, hlslInfo.space)) { // If the user did not set how to interpret 'hlsl style bindings', we should map