mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
ogl: implement useful constant buffer upload
this will remove the additional memcpy introduced in my last commit
This commit is contained in:
parent
4377618438
commit
7c14463d11
9 changed files with 75 additions and 110 deletions
|
@ -43,19 +43,6 @@ enum DSTALPHA_MODE
|
|||
DSTALPHA_DUAL_SOURCE_BLEND // Use dual-source blending
|
||||
};
|
||||
|
||||
// Annoying sure, can be removed once we get up to GLSL ~1.3
|
||||
const s_svar PSVar_Loc[] = { {C_COLORS, 4 },
|
||||
{C_KCOLORS, 4 },
|
||||
{C_ALPHA, 1 },
|
||||
{C_TEXDIMS, 8 },
|
||||
{C_ZBIAS, 2 },
|
||||
{C_INDTEXSCALE, 2 },
|
||||
{C_INDTEXMTX, 6 },
|
||||
{C_FOG, 3 },
|
||||
{C_PLIGHTS, 40 },
|
||||
{C_PMATERIALS, 4 },
|
||||
};
|
||||
|
||||
#pragma pack(1)
|
||||
struct pixel_shader_uid_data
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue