mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 13:18:31 +09:00
[Misc] (3rdparty): Update glslang to 15.4.0
This commit is contained in:
@@ -58,8 +58,10 @@ public:
|
||||
TReflection(EShReflectionOptions opts, EShLanguage first, EShLanguage last)
|
||||
: options(opts), firstStage(first), lastStage(last), badReflection(TObjectReflection::badReflection())
|
||||
{
|
||||
for (int dim=0; dim<3; ++dim)
|
||||
for (int dim=0; dim<3; ++dim) {
|
||||
localSize[dim] = 0;
|
||||
tileShadingRateQCOM[dim] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
virtual ~TReflection() {}
|
||||
@@ -168,6 +170,9 @@ public:
|
||||
// Thread local size
|
||||
unsigned getLocalSize(int dim) const { return dim <= 2 ? localSize[dim] : 0; }
|
||||
|
||||
// Tile shading rate QCOM
|
||||
unsigned getTileShadingRateQCOM(int dim) const { return dim <= 2 ? tileShadingRateQCOM[dim] : 0; }
|
||||
|
||||
void dump();
|
||||
|
||||
protected:
|
||||
@@ -213,6 +218,7 @@ protected:
|
||||
TIndices atomicCounterUniformIndices;
|
||||
|
||||
unsigned int localSize[3];
|
||||
unsigned int tileShadingRateQCOM[3];
|
||||
};
|
||||
|
||||
} // end namespace glslang
|
||||
|
||||
Reference in New Issue
Block a user