mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
fast fix for pixel shader compilation in dx11
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5687 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#define GCOGL_VERTEXSHADER_H
|
||||
|
||||
#include "XFMemory.h"
|
||||
#include "Common.h"
|
||||
|
||||
#define SHADER_POSMTX_ATTRIB 1
|
||||
#define SHADER_NORM1_ATTRIB 6
|
||||
@ -99,12 +100,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
API_OPENGL,
|
||||
API_D3D9,
|
||||
API_D3D11
|
||||
} API_TYPE;
|
||||
|
||||
|
||||
// components is included in the uid.
|
||||
const char *GenerateVertexShaderCode(u32 components, API_TYPE api_type);
|
||||
|
Reference in New Issue
Block a user