[PATCH 4/5] d3dcompiler: Get rid of the BWRITERSHADER_INSTRUCTION_OPCODE_TYPE typedef.
Henri Verbeet
hverbeet at codeweavers.com
Tue Oct 1 03:38:32 CDT 2013
---
dlls/d3dcompiler_43/d3dcompiler_private.h | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h
index 3489162..a6ee6b5 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_private.h
+++ b/dlls/d3dcompiler_43/d3dcompiler_private.h
@@ -365,11 +365,10 @@ const char *debug_print_opcode(DWORD opcode) DECLSPEC_HIDDEN;
/* Used to signal an incorrect swizzle/writemask */
#define SWIZZLE_ERR ~0U
-/*
- Enumerations and defines used in the bytecode writer
- intermediate representation
-*/
-typedef enum _BWRITERSHADER_INSTRUCTION_OPCODE_TYPE {
+/* Enumerations and defines used in the bytecode writer intermediate
+ * representation. */
+enum bwritershader_instruction_opcode_type
+{
BWRITERSIO_NOP,
BWRITERSIO_MOV,
BWRITERSIO_ADD,
@@ -458,7 +457,7 @@ typedef enum _BWRITERSHADER_INSTRUCTION_OPCODE_TYPE {
BWRITERSIO_PHASE,
BWRITERSIO_COMMENT,
BWRITERSIO_END,
-} BWRITERSHADER_INSTRUCTION_OPCODE_TYPE;
+};
typedef enum _BWRITERSHADER_PARAM_REGISTER_TYPE {
BWRITERSPR_TEMP,
--
1.7.10.4
More information about the wine-patches
mailing list