Skip to content

Commit 22d72bb

Browse files
mmereckiigcbot
authored andcommitted
Add simple push for bindless buffers.
1 parent 4e198de commit 22d72bb

File tree

6 files changed

+234
-121
lines changed

6 files changed

+234
-121
lines changed

IGC/Compiler/CISACodeGen/CShader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ void CShader::CreateConstantBufferOutput(SKernelProgram* pKernelProgram)
640640
pKernelProgram->simplePushInfoArr[i].m_offset = pushInfo.simplePushInfoArr[i].offset;
641641
pKernelProgram->simplePushInfoArr[i].m_size = pushInfo.simplePushInfoArr[i].size;
642642
pKernelProgram->simplePushInfoArr[i].isStateless = pushInfo.simplePushInfoArr[i].isStateless;
643+
pKernelProgram->simplePushInfoArr[i].isBindless = pushInfo.simplePushInfoArr[i].isBindless;
643644
}
644645

645646
if (GetContext()->m_ConstantBufferReplaceShaderPatterns)

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,12 @@ unsigned getAccChNumUD() const
589589
{
590590
return 8;
591591
}
592+
593+
int getBSOLocInExtDescriptor() const
594+
{
595+
return 12;
596+
}
597+
592598
// ***** Below go accessor methods for testing WA data from WA_TABLE *****
593599

594600
bool WaDoNotPushConstantsForAllPulledGSTopologies() const

0 commit comments

Comments
 (0)