Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1b6e9d24
Commit
1b6e9d24
authored
Sep 30, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Get rid of the BWRITER_COMPARISON_TYPE typedef.
parent
c174a993
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
asmparser.c
dlls/d3dcompiler_43/asmparser.c
+4
-5
asmshader.y
dlls/d3dcompiler_43/asmshader.y
+1
-1
d3dcompiler_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+7
-6
No files found.
dlls/d3dcompiler_43/asmparser.c
View file @
1b6e9d24
...
...
@@ -501,11 +501,10 @@ static void asmparser_texreg2rgb(struct asm_parser *This, DWORD mod, DWORD shift
* go through asmparser_instr).
*/
static
void
asmparser_instr
(
struct
asm_parser
*
This
,
DWORD
opcode
,
DWORD
mod
,
DWORD
shift
,
BWRITER_COMPARISON_TYPE
comp
,
const
struct
shader_reg
*
dst
,
const
struct
src_regs
*
srcs
,
int
expectednsrcs
)
{
static
void
asmparser_instr
(
struct
asm_parser
*
This
,
DWORD
opcode
,
DWORD
mod
,
DWORD
shift
,
enum
bwriter_comparison_type
comp
,
const
struct
shader_reg
*
dst
,
const
struct
src_regs
*
srcs
,
int
expectednsrcs
)
{
struct
instruction
*
instr
;
unsigned
int
i
;
BOOL
firstreg
=
TRUE
;
...
...
dlls/d3dcompiler_43/asmshader.y
View file @
1b6e9d24
...
...
@@ -92,7 +92,7 @@ int asmshader_lex(void);
DWORD mod;
DWORD shift;
} modshift;
BWRITER_COMPARISON_TYPE
comptype;
enum bwriter_comparison_type
comptype;
struct {
DWORD dclusage;
unsigned int regnum;
...
...
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
1b6e9d24
...
...
@@ -54,7 +54,8 @@ enum shader_type
ST_PIXEL
};
typedef
enum
BWRITER_COMPARISON_TYPE
{
enum
bwriter_comparison_type
{
BWRITER_COMPARISON_NONE
,
BWRITER_COMPARISON_GT
,
BWRITER_COMPARISON_EQ
,
...
...
@@ -62,7 +63,7 @@ typedef enum BWRITER_COMPARISON_TYPE {
BWRITER_COMPARISON_LT
,
BWRITER_COMPARISON_NE
,
BWRITER_COMPARISON_LE
}
BWRITER_COMPARISON_TYPE
;
};
struct
constant
{
DWORD
regnum
;
...
...
@@ -89,7 +90,7 @@ struct instruction {
DWORD
opcode
;
DWORD
dstmod
;
DWORD
shift
;
BWRITER_COMPARISON_TYPE
comptype
;
enum
bwriter_comparison_type
comptype
;
BOOL
has_dst
;
struct
shader_reg
dst
;
struct
shader_reg
*
src
;
...
...
@@ -215,9 +216,9 @@ struct asmparser_backend {
void
(
*
end
)(
struct
asm_parser
*
This
);
void
(
*
instr
)(
struct
asm_parser
*
This
,
DWORD
opcode
,
DWORD
mod
,
DWORD
shift
,
BWRITER_COMPARISON_TYPE
comp
,
const
struct
shader_reg
*
dst
,
const
struct
src_regs
*
srcs
,
int
expectednsrcs
);
void
(
*
instr
)(
struct
asm_parser
*
parser
,
DWORD
opcode
,
DWORD
mod
,
DWORD
shift
,
enum
bwriter_comparison_type
comp
,
const
struct
shader_reg
*
dst
,
const
struct
src_regs
*
srcs
,
int
expectednsrcs
);
};
struct
instruction
*
alloc_instr
(
unsigned
int
srcs
)
DECLSPEC_HIDDEN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment