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
cbae62ba
Commit
cbae62ba
authored
Nov 11, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler_43: Turn variable 'c' into a static constant.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b6e87cd4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.c
dlls/d3dcompiler_43/utils.c
+1
-1
No files found.
dlls/d3dcompiler_43/utils.c
View file @
cbae62ba
...
@@ -2176,7 +2176,7 @@ static void debug_dump_ir_swizzle(const struct hlsl_ir_swizzle *swizzle)
...
@@ -2176,7 +2176,7 @@ static void debug_dump_ir_swizzle(const struct hlsl_ir_swizzle *swizzle)
}
}
else
else
{
{
char
c
[]
=
{
'x'
,
'y'
,
'z'
,
'w'
};
static
const
char
c
[]
=
{
'x'
,
'y'
,
'z'
,
'w'
};
for
(
i
=
0
;
i
<
swizzle
->
node
.
data_type
->
dimx
;
++
i
)
for
(
i
=
0
;
i
<
swizzle
->
node
.
data_type
->
dimx
;
++
i
)
TRACE
(
"%c"
,
c
[(
swizzle
->
swizzle
>>
i
*
2
)
&
0x3
]);
TRACE
(
"%c"
,
c
[(
swizzle
->
swizzle
>>
i
*
2
)
&
0x3
]);
...
...
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