GLSL: store and use exact ubo sizes

This commit is contained in:
degasus
2013-03-17 16:49:42 +01:00
parent 612c2e8516
commit 106d7c37e8
2 changed files with 10 additions and 6 deletions

View File

@ -125,6 +125,8 @@ private:
static PCacheEntry* last_entry;
static SHADERUID last_uid;
static GLintptr s_vs_data_size;
static GLintptr s_ps_data_size;
static GLintptr s_vs_data_offset;
static u8 *s_ubo_buffer;
static u32 s_ubo_buffer_size;