Commit 3ee642bb authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Move the SHADER_OPCODE definition to wined3d_private.h.

parent 0ac9c473
......@@ -41,17 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
#define PGMSIZE 65535
#define REGMASK 0x00001FFF
typedef void (*shader_fct_t)();
typedef struct SHADER_OPCODE {
unsigned int opcode;
const char* name;
const char* glname;
CONST UINT num_params;
shader_fct_t soft_fct;
DWORD min_version;
DWORD max_version;
} SHADER_OPCODE;
#define GLNAME_REQUIRE_GLSL ((const char *)1)
/* *******************************************
......
......@@ -78,18 +78,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
/* TODO: Vertex and Pixel shaders are almost identicle, the only exception being the way that some of the data is looked up or the availablity of some of the data i.e. some instructions are only valid for pshaders and some for vshaders
because of this the bulk of the software pipeline can be shared between pixel and vertex shaders... and it wouldn't supprise me if the programes can be cross compiled using a large body body shared code */
typedef void (*shader_fct_t)();
typedef struct SHADER_OPCODE {
unsigned int opcode;
const char* name;
const char* glname;
CONST UINT num_params;
shader_fct_t soft_fct;
DWORD min_version;
DWORD max_version;
} SHADER_OPCODE;
#define GLNAME_REQUIRE_GLSL ((const char *)1)
/*******************************
......
......@@ -1157,6 +1157,18 @@ enum vsConstantsEnum {
VS_CONSTANT_FLOAT
};
typedef void (*shader_fct_t)();
typedef struct SHADER_OPCODE {
unsigned int opcode;
const char* name;
const char* glname;
CONST UINT num_params;
shader_fct_t soft_fct;
DWORD min_version;
DWORD max_version;
} SHADER_OPCODE;
/*****************************************************************************
* IDirect3DVertexShader implementation structure
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment