More common things moved out from the GFX plugins. No visible changes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@27 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-18 19:33:55 +00:00
parent ca13c54855
commit b3c55018a6
36 changed files with 857 additions and 924 deletions

View File

@ -18,8 +18,7 @@
#ifndef GCOGL_PIXELSHADER
#define GCOGL_PIXELSHADER
#include "Render.h"
#include "BPStructs.h"
#include "Common.h"
#define I_COLORS "color"
#define I_KCOLORS "k"
@ -40,16 +39,6 @@
#define C_COLORMATRIX (C_INDTEXMTX+6)
struct FRAGMENTSHADER
{
FRAGMENTSHADER() : glprogid(0) { }
GLuint glprogid; // opengl program id
#ifdef _DEBUG
std::string strprog;
#endif
};
bool GeneratePixelShader(FRAGMENTSHADER& ps);
char *GeneratePixelShader(u32 texture_mask, bool has_zbuffer_target, bool bRenderZToCol0);
#endif