Commit 540054eb authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dcompiler: Get rid of the BWRITERSAMPLER_TEXTURE_TYPE typedef.

parent 052a8630
...@@ -97,7 +97,7 @@ int asmshader_lex(void); ...@@ -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;
} }
......
...@@ -502,13 +502,14 @@ enum bwritershader_param_dstmod_type ...@@ -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
......
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