wined3d: Move the SHADER_OPCODE definition to wined3d_private.h.

oldstable
H. Verbeet 2006-03-28 21:10:32 +02:00 committed by Alexandre Julliard
parent 0ac9c473d6
commit 3ee642bb09
3 changed files with 12 additions and 23 deletions

View File

@ -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)
/* *******************************************

View File

@ -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)
/*******************************

View File

@ -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
*/