From 2682a9122ca4b6b0d5875e41ea347b6377922e47 Mon Sep 17 00:00:00 2001 From: qiaojbao Date: Wed, 10 Apr 2024 15:04:35 +0800 Subject: [PATCH] [AMDVLK-357] Fix the warning passing NULL to non-pointer --- src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp b/src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp index 2d62ec3e..f9f653eb 100644 --- a/src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp +++ b/src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp @@ -10152,7 +10152,7 @@ uint32 UniversalCmdBuffer::BuildExecuteIndirectIb2Packets( drawIndexReg, 1, pParamData[cmdIndex].argBufSize, - NULL, + 0uLL, PacketPredicate(), usesLegacyMsFastLaunch, pDeCmdIb2Space); @@ -10164,7 +10164,7 @@ uint32 UniversalCmdBuffer::BuildExecuteIndirectIb2Packets( drawIndexReg, 1, pParamData[cmdIndex].argBufSize, - NULL, + 0uLL, PacketPredicate(), usesLegacyMsFastLaunch, pDeCmdIb2Space);