@@ -25,6 +25,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
25
======================= end_copyright_notice ==================================*/
26
26
27
27
#include < exception>
28
+ #include < cinttypes>
28
29
#include " ../../3d/common/iStdLib/iStdLib.h"
29
30
#include " IGC/common/igc_debug.h"
30
31
#include " IGC/common/igc_regkeys.hpp"
@@ -57,7 +58,7 @@ void DebugKernelBinaryHeader_Gen7(
57
58
{
58
59
ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " Gen7 Kernel Binary Header:\n " );
59
60
ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t CheckSum = %x\n " , pHeader->CheckSum );
60
- ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t ShaderHashCode = %llx \n " , pHeader->ShaderHashCode );
61
+ ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t ShaderHashCode = %" PRIu64 " \n " , pHeader->ShaderHashCode );
61
62
ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t KernelNameSize = %d\n " , pHeader->KernelNameSize );
62
63
ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t PatchListSize = %d\n " , pHeader->PatchListSize );
63
64
ICBE_DPF_STR ( output, GFXDBG_HARDWARE, " \t KernelHeapSize = %d\n " , pHeader->KernelHeapSize );
@@ -1356,7 +1357,7 @@ void DebugPatchList(
1356
1357
" \t GlobalBufferIndex = %d\n " ,
1357
1358
pPatchItem->GlobalBufferIndex );
1358
1359
ICBE_DPF_STR ( output, GFXDBG_HARDWARE,
1359
- " \t GlobalPointerOffset = %llu \n " ,
1360
+ " \t GlobalPointerOffset = %" PRIu64 " \n " ,
1360
1361
pPatchItem->GlobalPointerOffset );
1361
1362
ICBE_DPF_STR ( output, GFXDBG_HARDWARE,
1362
1363
" \t BufferType = %d\n " ,
@@ -1380,7 +1381,7 @@ void DebugPatchList(
1380
1381
" \t ConstantBufferIndex = %d\n " ,
1381
1382
pPatchItem->ConstantBufferIndex );
1382
1383
ICBE_DPF_STR ( output, GFXDBG_HARDWARE,
1383
- " \t ConstantPointerOffset = %llu \n " ,
1384
+ " \t ConstantPointerOffset = %" PRIu64 " \n " ,
1384
1385
pPatchItem->ConstantPointerOffset );
1385
1386
ICBE_DPF_STR ( output, GFXDBG_HARDWARE,
1386
1387
" \t BufferType = %d\n " ,
0 commit comments