File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ namespace IGC
348348 }
349349 else if (bufType == UAV)
350350 {
351- m_uavLoaded |= BIT (typeBti);
351+ m_uavLoaded |= ( uint64_t ) 1 << (typeBti);
352352 }
353353 else if (bufType == RENDER_TARGET)
354354 {
@@ -380,7 +380,8 @@ namespace IGC
380380 }
381381 else if (bufType == UAV)
382382 {
383- m_uavLoaded |= BITMASK_RANGE (0 , m_pBtiLayout->GetUavIndexSize ());
383+ // m_uavLoaded |= BITMASK_RANGE(0, m_pBtiLayout->GetUavIndexSize());
384+ m_uavLoaded |= ((~((0xffffffffffffffff ) << (m_pBtiLayout->GetUavIndexSize () + 1 ))) & (~((0xffffffffffffffff ) << 0 )));
384385 }
385386 else if (bufType == RENDER_TARGET)
386387 {
@@ -497,12 +498,12 @@ namespace IGC
497498 CVariable* m_RETV;
498499
499500 std::vector<USC::SConstantGatherEntry> gatherMap;
500- uint m_ConstantBufferLength;
501- uint m_constantBufferMask;
502- uint m_constantBufferLoaded;
503- uint m_uavLoaded;
504- uint m_shaderResourceLoaded[4 ];
505- uint m_renderTargetLoaded;
501+ uint m_ConstantBufferLength;
502+ uint m_constantBufferMask;
503+ uint m_constantBufferLoaded;
504+ uint64_t m_uavLoaded;
505+ uint m_shaderResourceLoaded[4 ];
506+ uint m_renderTargetLoaded;
506507
507508 int m_cbSlot;
508509 uint m_statelessCBPushedSize;
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ namespace IGC
273273
274274 unsigned int NOSBufferSize = 0 ;
275275 unsigned int ConstantBufferLoaded = 0 ;
276- unsigned int UavLoaded = 0 ;
276+ uint64_t UavLoaded = 0 ;
277277 unsigned int ShaderResourceLoaded[4 ];
278278 unsigned int RenderTargetLoaded = 0 ;
279279
You can’t perform that action at this time.
0 commit comments