mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
ShaderGen: inline constant shaders
This commit is contained in:
parent
b0878c54b2
commit
c82991df5b
3 changed files with 28 additions and 37 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue