Skip to content

Commit

Permalink
Merge pull request #6 from slangbot/format-6085-acheney/bindingwarning2
Browse files Browse the repository at this point in the history
Format code for PR shader-slang#6085
  • Loading branch information
cheneym2 authored Jan 14, 2025
2 parents 90f8d03 + b375ade commit 804a573
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/slang/slang-parameter-binding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 804a573

Please # to comment.