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
348
348
}
349
349
else if (bufType == UAV)
350
350
{
351
- m_uavLoaded |= BIT (typeBti);
351
+ m_uavLoaded |= ( uint64_t ) 1 << (typeBti);
352
352
}
353
353
else if (bufType == RENDER_TARGET)
354
354
{
@@ -380,7 +380,8 @@ namespace IGC
380
380
}
381
381
else if (bufType == UAV)
382
382
{
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 )));
384
385
}
385
386
else if (bufType == RENDER_TARGET)
386
387
{
@@ -497,12 +498,12 @@ namespace IGC
497
498
CVariable* m_RETV;
498
499
499
500
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;
506
507
507
508
int m_cbSlot;
508
509
uint m_statelessCBPushedSize;
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ namespace IGC
273
273
274
274
unsigned int NOSBufferSize = 0 ;
275
275
unsigned int ConstantBufferLoaded = 0 ;
276
- unsigned int UavLoaded = 0 ;
276
+ uint64_t UavLoaded = 0 ;
277
277
unsigned int ShaderResourceLoaded[4 ];
278
278
unsigned int RenderTargetLoaded = 0 ;
279
279
You can’t perform that action at this time.
0 commit comments