Skip to content

Commit

Permalink
bugfix: flags check (#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
locke-lunarg authored Jul 17, 2023
1 parent cbd9d48 commit 4fa32d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/encode/custom_vulkan_api_call_encoders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateGraphicsPipelines(VkDevice
{
for (uint32_t i = 0; i < createInfoCount; ++i)
{
if (pCreateInfos[i].flags && VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
{
GFXRECON_LOG_WARNING(
"VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT isn't suppported. Skip dispatch "
Expand Down Expand Up @@ -438,7 +438,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateComputePipelines(VkDevice
{
for (uint32_t i = 0; i < createInfoCount; ++i)
{
if (pCreateInfos[i].flags && VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
{
GFXRECON_LOG_WARNING(
"VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT isn't suppported. Skip dispatch "
Expand Down Expand Up @@ -521,7 +521,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateRayTracingPipelinesNV(VkDevice
{
for (uint32_t i = 0; i < createInfoCount; ++i)
{
if (pCreateInfos[i].flags && VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
{
GFXRECON_LOG_WARNING(
"VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT isn't suppported. Skip dispatch "
Expand Down Expand Up @@ -610,7 +610,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateRayTracingPipelinesKHR(VkDevice
{
for (uint32_t i = 0; i < createInfoCount; ++i)
{
if (pCreateInfos[i].flags && VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT)
{
GFXRECON_LOG_WARNING(
"VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT isn't suppported. Skip dispatch "
Expand Down

0 comments on commit 4fa32d6

Please sign in to comment.