mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ShaderGeneration: Get rid of static buffers
This commit is contained in:
parent
be8410dcad
commit
8ce3a4aa70
11 changed files with 63 additions and 118 deletions
|
@ -91,8 +91,8 @@ public:
|
|||
static SHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 primitive_type);
|
||||
static void GetShaderId(SHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 primitive_type);
|
||||
|
||||
static bool CompileShader(SHADER &shader, const char* vcode, const char* pcode, const char* gcode = nullptr);
|
||||
static GLuint CompileSingleShader(GLuint type, const char *code);
|
||||
static bool CompileShader(SHADER &shader, const std::string& vcode, const std::string& pcode, const std::string& gcode = "");
|
||||
static GLuint CompileSingleShader(GLuint type, const std::string& code);
|
||||
static void UploadConstants();
|
||||
|
||||
static void Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue