Skip to content

Commit e644ad6

Browse files
jwarumzeigcbot
authored andcommitted
Sync change
1 parent 4d97b3f commit e644ad6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

IGC/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ unset(_debugConfigs)
239239
# ======================================================================================================
240240

241241

242+
242243
# ======================================================================================================
243244
# ========================================= BUILD CMAKE OPTIONS ========================================
244245
# ======================================================================================================

IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,10 @@ void ConstantCoalescing::ProcessBlock(
430430
unsigned int bufId = 0;
431431
BufferType bufType = DecodeAS4GFXResource(
432432
ldRaw->getResourceValue()->getType()->getPointerAddressSpace(), directIdx, bufId);
433-
if ((bufType != BINDLESS_CONSTANT_BUFFER) && (bufType != BINDLESS_TEXTURE))
433+
434+
if ((bufType != BINDLESS_CONSTANT_BUFFER)
435+
&& (bufType != BINDLESS_TEXTURE)
436+
)
434437
{
435438
continue;
436439
}
@@ -1103,7 +1106,9 @@ void ConstantCoalescing::MergeUniformLoad(Instruction* load,
11031106
else
11041107
{
11051108
BufferType buffType = DecodeBufferType(load->getType()->getPointerAddressSpace());
1106-
if (IsBindless(buffType) || buffType == STATELESS_A32)
1109+
if (IsBindless(buffType)
1110+
|| buffType == STATELESS_A32
1111+
)
11071112
LoadEltTy = irBuilder->getInt32Ty();
11081113
else
11091114
return;

0 commit comments

Comments
 (0)