From f2a1481123ac23aeb4937df5f61c57e0e4f1ff52 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 13 Apr 2022 22:40:41 -0700 Subject: Changeset: 6 Remove uniform block support --- source/Shader.hpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source/Shader.hpp') diff --git a/source/Shader.hpp b/source/Shader.hpp index 8af5217..cda5531 100644 --- a/source/Shader.hpp +++ b/source/Shader.hpp @@ -17,7 +17,6 @@ struct ShaderVariable { enum Kind { KD_Math, KD_Sampler, - KD_UniformBlock, }; Kind kind; @@ -49,16 +48,6 @@ struct ShaderSamplerVariable : public ShaderVariable { : ShaderVariable(KD_Sampler) {} }; -struct ShaderUniformBlockVariable : public ShaderVariable { - std::string name; - /// Possible values: KD_Math - std::vector> items; - GLuint index; - - ShaderUniformBlockVariable() - : ShaderVariable(KD_UniformBlock) {} -}; - struct ShaderInfo { enum ThingKind { TKD_Input, @@ -80,9 +69,7 @@ struct ShaderInfo { absl::flat_hash_map things; std::vector inputs; std::vector outputs; - /// Possible values: KD_Math, KD_Sampler std::vector> uniforms; - std::vector uniformBlocks; bool SaveToFile(const std::filesystem::path& filePath) const; bool LoadFromFile(const std::filesystem::path& filePath); -- cgit v1.2.3-70-g09d2