mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
Set Sampler values at program make time instead of every frame. Fix an issue when The user had UBO support but not Binding support.
This commit is contained in:
parent
ddd4360d6d
commit
f8d0c28e53
6 changed files with 79 additions and 176 deletions
|
@ -78,8 +78,6 @@ class PixelShaderCache
|
|||
public:
|
||||
static void Init();
|
||||
static void Shutdown();
|
||||
// This is a GLSL only function
|
||||
static void SetPSSampler(const char * name, unsigned int Tex);
|
||||
|
||||
static FRAGMENTSHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 components);
|
||||
static bool CompilePixelShader(FRAGMENTSHADER& ps, const char* pstrprogram);
|
||||
|
@ -88,8 +86,6 @@ public:
|
|||
|
||||
static GLuint GetDepthMatrixProgram();
|
||||
|
||||
static bool SupportsBinding();
|
||||
|
||||
static void SetCurrentShader(GLuint Shader);
|
||||
|
||||
static void DisableShader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue