mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
OGL: Store shader source in OGLShader
So it can be dumped with info log when linking fails.
This commit is contained in:
parent
bbd1ae16db
commit
5c95dc61fc
4 changed files with 30 additions and 20 deletions
|
@ -77,8 +77,8 @@ public:
|
|||
static bool CompileComputeShader(SHADER& shader, const std::string& code);
|
||||
static GLuint CompileSingleShader(GLenum type, const std::string& code);
|
||||
static bool CheckShaderCompileResult(GLuint id, GLenum type, const std::string& code);
|
||||
static bool CheckProgramLinkResult(GLuint id, const std::string& vcode, const std::string& pcode,
|
||||
const std::string& gcode);
|
||||
static bool CheckProgramLinkResult(GLuint id, const std::string* vcode, const std::string* pcode,
|
||||
const std::string* gcode);
|
||||
static StreamBuffer* GetUniformBuffer();
|
||||
static u32 GetUniformBufferAlignment();
|
||||
static void UploadConstants();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue