We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49dd7c3 commit 7929aacCopy full SHA for 7929aac
IGC/Compiler/CodeGenPublic.h
@@ -475,7 +475,7 @@ namespace IGC
475
unsigned int NOSBufferSize = 0;
476
unsigned int ConstantBufferLoaded = 0;
477
uint64_t UavLoaded = 0;
478
- unsigned int ShaderResourceLoaded[4];
+ unsigned int ShaderResourceLoaded[4] = {};
479
unsigned int RenderTargetLoaded = 0;
480
481
bool hasControlFlow = false;
@@ -493,8 +493,8 @@ namespace IGC
493
SSimplePushInfo simplePushInfoArr[g_c_maxNumberOfBufferPushed];
494
495
uint64_t SIMDInfo = 0;
496
- void* m_StagingCtx;
497
- bool m_RequestStage2;
+ void* m_StagingCtx = nullptr;
+ bool m_RequestStage2 = false;
498
};
499
500
/// Gen10+, corresponds to 3DSTATE_VF_SGVS_2 as described below
0 commit comments