mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
try combining vs/ps ubo
This commit is contained in:
parent
e641ede232
commit
d9117ab6a1
2 changed files with 38 additions and 50 deletions
|
@ -95,8 +95,12 @@ class ProgramShaderCache
|
|||
static GLuint CurrentFShader, CurrentVShader, CurrentProgram;
|
||||
static std::pair<u64, u64> CurrentShaderProgram;
|
||||
|
||||
static GLuint s_ps_ubo, s_vs_ubo;
|
||||
static float *s_ps_mapped_data, *s_vs_mapped_data;
|
||||
static GLuint s_ps_vs_ubo;
|
||||
static float* s_ps_vs_mapped_data;
|
||||
static GLintptr s_vs_data_offset;
|
||||
|
||||
static void MapBuffer();
|
||||
|
||||
public:
|
||||
static PROGRAMSHADER GetShaderProgram(void);
|
||||
static GLint GetAttr(int num);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue