Browse Source

Fix uninitialized m_bHasAtomic64Use in DxilResource. (#3516)

Tex Riddell 4 years ago
parent
commit
d8499bb975
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/DXIL/DxilResource.cpp

+ 2 - 1
lib/DXIL/DxilResource.cpp

@@ -28,7 +28,8 @@ DxilResource::DxilResource()
 , m_SamplerFeedbackType((DXIL::SamplerFeedbackType)0)
 , m_SamplerFeedbackType((DXIL::SamplerFeedbackType)0)
 , m_bGloballyCoherent(false)
 , m_bGloballyCoherent(false)
 , m_bHasCounter(false)
 , m_bHasCounter(false)
-, m_bROV(false) {
+, m_bROV(false)
+, m_bHasAtomic64Use(false) {
 }
 }
 
 
 CompType DxilResource::GetCompType() const {
 CompType DxilResource::GetCompType() const {