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;
unsigned int regnum;
} declaration;
BWRITERSAMPLER_TEXTURE_TYPE samplertype;
enum bwritersampler_texture_type samplertype;
struct rel_reg rel_reg;
struct src_regs sregs;
}

View File

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