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
c8852c3e
Commit
c8852c3e
authored
Dec 11, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix the source swizzle for WINED3DSIH_EXPP.
parent
6e9acca1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
visual.c
dlls/d3d8/tests/visual.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
No files found.
dlls/d3d8/tests/visual.c
View file @
c8852c3e
...
...
@@ -1781,7 +1781,7 @@ static void test_scalar_instructions(IDirect3DDevice8 *device)
{
"rcp_test"
,
rcp_test
,
D3DCOLOR_ARGB
(
0x00
,
0x80
,
0x80
,
0x80
),
FALSE
},
{
"rsq_test"
,
rsq_test
,
D3DCOLOR_ARGB
(
0x00
,
0xb4
,
0xb4
,
0xb4
),
FALSE
},
{
"exp_test"
,
exp_test
,
D3DCOLOR_ARGB
(
0x00
,
0x40
,
0x40
,
0x40
),
FALSE
},
{
"expp_test"
,
expp_test
,
D3DCOLOR_ARGB
(
0x00
,
0x40
,
0x40
,
0x40
),
TRU
E
},
{
"expp_test"
,
expp_test
,
D3DCOLOR_ARGB
(
0x00
,
0x40
,
0x40
,
0x40
),
FALS
E
},
{
"log_test"
,
log_test
,
D3DCOLOR_ARGB
(
0x00
,
0xff
,
0xff
,
0xff
),
TRUE
},
{
"logp_test"
,
logp_test
,
D3DCOLOR_ARGB
(
0x00
,
0xff
,
0xff
,
0xff
),
TRUE
},
};
...
...
dlls/wined3d/glsl_shader.c
View file @
c8852c3e
...
...
@@ -2719,7 +2719,7 @@ static void shader_glsl_expp(const struct wined3d_shader_instruction *ins)
{
struct
glsl_src_param
src_param
;
shader_glsl_add_src_param
(
ins
,
&
ins
->
src
[
0
],
WINED3DSP_WRITEMASK_
0
,
&
src_param
);
shader_glsl_add_src_param
(
ins
,
&
ins
->
src
[
0
],
WINED3DSP_WRITEMASK_
3
,
&
src_param
);
if
(
ins
->
ctx
->
reg_maps
->
shader_version
.
major
<
2
)
{
...
...
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