Move some shader binding validation code out of the opengl backend

This commit is contained in:
Alex Szpakowski
2021-03-30 19:28:42 -03:00
parent 2064c140ac
commit 7eb3d4343a
3 changed files with 116 additions and 96 deletions
+3
View File
@@ -243,6 +243,9 @@ protected:
static bool validateInternal(ShaderStage* vertex, ShaderStage* pixel, std::string& err, ValidationReflection &reflection);
static bool validateTexture(const UniformInfo *info, Texture *tex, bool internalUpdate);
static bool validateBuffer(const UniformInfo *info, Buffer *buffer, bool internalUpdate);
StrongRef<ShaderStage> stages[ShaderStage::STAGE_MAX_ENUM];
ValidationReflection validationReflection;