d3dcompiler: Get rid of the BWRITERSAMPLER_TEXTURE_TYPE typedef.

This commit is contained in:
Henri Verbeet 2013-10-03 08:54:14 +02:00 committed by Alexandre Julliard
parent 052a863010
commit 540054eb3e
2 changed files with 4 additions and 3 deletions

View File

@ -97,7 +97,7 @@ int asmshader_lex(void);
DWORD dclusage; DWORD dclusage;
unsigned int regnum; unsigned int regnum;
} declaration; } declaration;
BWRITERSAMPLER_TEXTURE_TYPE samplertype; enum bwritersampler_texture_type samplertype;
struct rel_reg rel_reg; struct rel_reg rel_reg;
struct src_regs sregs; struct src_regs sregs;
} }

View File

@ -502,13 +502,14 @@ enum bwritershader_param_dstmod_type
BWRITERSPDM_MSAMPCENTROID = 4, BWRITERSPDM_MSAMPCENTROID = 4,
}; };
typedef enum _BWRITERSAMPLER_TEXTURE_TYPE { enum bwritersampler_texture_type
{
BWRITERSTT_UNKNOWN = 0, BWRITERSTT_UNKNOWN = 0,
BWRITERSTT_1D = 1, BWRITERSTT_1D = 1,
BWRITERSTT_2D = 2, BWRITERSTT_2D = 2,
BWRITERSTT_CUBE = 3, BWRITERSTT_CUBE = 3,
BWRITERSTT_VOLUME = 4, BWRITERSTT_VOLUME = 4,
} BWRITERSAMPLER_TEXTURE_TYPE; };
#define BWRITERSI_TEXLD_PROJECT 1 #define BWRITERSI_TEXLD_PROJECT 1
#define BWRITERSI_TEXLD_BIAS 2 #define BWRITERSI_TEXLD_BIAS 2