File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ class CShader
436
436
m_BindingTableEntryCount = m_pBtiLayout->GetBindingTableEntryCount ();
437
437
m_BindingTableUsedEntriesBitmap |= BITMASK_RANGE (0 , (m_BindingTableEntryCount / cBTEntriesPerCacheLine));
438
438
439
- if (bufType == RESOURCE)
439
+ if (bufType == RESOURCE || bufType == BINDLESS_TEXTURE )
440
440
{
441
441
unsigned int MaxArray = m_pBtiLayout->GetTextureIndexSize () / 32 ;
442
442
for (unsigned int i = 0 ; i < MaxArray; i++)
@@ -449,11 +449,11 @@ class CShader
449
449
m_shaderResourceLoaded[MaxArray] = BIT (i % 32 );
450
450
}
451
451
}
452
- else if (bufType == CONSTANT_BUFFER)
452
+ else if (bufType == CONSTANT_BUFFER || bufType == BINDLESS_CONSTANT_BUFFER )
453
453
{
454
454
m_constantBufferLoaded |= BITMASK_RANGE (0 , m_pBtiLayout->GetConstantBufferIndexSize ());
455
455
}
456
- else if (bufType == UAV)
456
+ else if (bufType == UAV || bufType == BINDLESS )
457
457
{
458
458
m_uavLoaded |= QWBITMASK_RANGE (0 , m_pBtiLayout->GetUavIndexSize ());
459
459
}
You can’t perform that action at this time.
0 commit comments