Fix build issue.

This commit is contained in:
laddoc 2024-01-29 15:03:48 +08:00 committed by arcady-lunarg
parent ee62f72137
commit 457fc12b54

View file

@ -349,8 +349,8 @@ public:
usePhysicalStorageBuffer(false), usePhysicalStorageBuffer(false),
spirvRequirement(nullptr), spirvRequirement(nullptr),
spirvExecutionMode(nullptr), spirvExecutionMode(nullptr),
quadDerivMode(false), reqFullQuadsMode(false), uniformLocationBase(0),
uniformLocationBase(0) quadDerivMode(false), reqFullQuadsMode(false)
{ {
localSize[0] = 1; localSize[0] = 1;
localSize[1] = 1; localSize[1] = 1;
@ -1202,8 +1202,6 @@ protected:
bool hlslFunctionality1; bool hlslFunctionality1;
int blendEquations; // an 'or'ing of masks of shifts of TBlendEquationShift int blendEquations; // an 'or'ing of masks of shifts of TBlendEquationShift
bool xfbMode; bool xfbMode;
bool quadDerivMode;
bool reqFullQuadsMode;
std::vector<TXfbBuffer> xfbBuffers; // all the data we need to track per xfb buffer std::vector<TXfbBuffer> xfbBuffers; // all the data we need to track per xfb buffer
bool multiStream; bool multiStream;
bool layoutOverrideCoverage; bool layoutOverrideCoverage;
@ -1246,6 +1244,8 @@ protected:
std::map<TString, AstRefType> bindlessImageModeCaller; std::map<TString, AstRefType> bindlessImageModeCaller;
std::unordered_map<std::string, int> uniformLocationOverrides; std::unordered_map<std::string, int> uniformLocationOverrides;
int uniformLocationBase; int uniformLocationBase;
bool quadDerivMode;
bool reqFullQuadsMode;
TNumericFeatures numericFeatures; TNumericFeatures numericFeatures;
std::unordered_map<std::string, TBlockStorageClass> blockBackingOverrides; std::unordered_map<std::string, TBlockStorageClass> blockBackingOverrides;