ShaderGen: inline constant shaders

This commit is contained in:
degasus
2014-03-17 10:29:32 +01:00
parent b0878c54b2
commit c82991df5b
3 changed files with 28 additions and 37 deletions

View File

@ -150,13 +150,6 @@ public:
private:
std::vector<bool> constant_usage; // TODO: Is vector<bool> appropriate here?
};
template<class T>
static inline void DeclareUniform(T& object, API_TYPE api_type, const u32 num, const char* type, const char* name)
{
object.Write("%s %s;\n", type, name);
}
/**
* Checks if there has been
*/