Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5c7ba2c3
Commit
5c7ba2c3
authored
Sep 24, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler_43: Mark fall-throughs in switch statement.
parent
f9b424e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
asmparser.c
dlls/d3dcompiler_43/asmparser.c
+7
-0
No files found.
dlls/d3dcompiler_43/asmparser.c
View file @
5c7ba2c3
...
@@ -1327,12 +1327,19 @@ static void gen_oldvs_output(struct bwriter_shader *shader) {
...
@@ -1327,12 +1327,19 @@ static void gen_oldvs_output(struct bwriter_shader *shader) {
static
void
gen_oldps_input
(
struct
bwriter_shader
*
shader
,
DWORD
texcoords
)
{
static
void
gen_oldps_input
(
struct
bwriter_shader
*
shader
,
DWORD
texcoords
)
{
switch
(
texcoords
)
{
switch
(
texcoords
)
{
case
8
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
7
,
0
,
FALSE
,
T7_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
8
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
7
,
0
,
FALSE
,
T7_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
7
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
6
,
0
,
FALSE
,
T6_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
7
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
6
,
0
,
FALSE
,
T6_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
6
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
5
,
0
,
FALSE
,
T5_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
6
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
5
,
0
,
FALSE
,
T5_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
5
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
4
,
0
,
FALSE
,
T4_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
5
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
4
,
0
,
FALSE
,
T4_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
4
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
3
,
0
,
FALSE
,
T3_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
4
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
3
,
0
,
FALSE
,
T3_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
3
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
2
,
0
,
FALSE
,
T2_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
3
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
2
,
0
,
FALSE
,
T2_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
2
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
1
,
0
,
FALSE
,
T1_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
2
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
1
,
0
,
FALSE
,
T1_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
/* fall through */
case
1
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
0
,
0
,
FALSE
,
T0_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
case
1
:
record_declaration
(
shader
,
BWRITERDECLUSAGE_TEXCOORD
,
0
,
0
,
FALSE
,
T0_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
};
};
record_declaration
(
shader
,
BWRITERDECLUSAGE_COLOR
,
0
,
0
,
FALSE
,
C0_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
record_declaration
(
shader
,
BWRITERDECLUSAGE_COLOR
,
0
,
0
,
FALSE
,
C0_VARYING
,
BWRITERSP_WRITEMASK_ALL
,
TRUE
);
...
...
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