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
45dbb78d
Commit
45dbb78d
authored
Jun 12, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Jun 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix params for DP2ADD/TEXLDD.
DP2ADD is valid on pshaders 2.0 and above, has 4 parameters. TEXLDD is valid on pshaders 2.x and above, has 5 parameters.
parent
8c6ee8df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+4
-4
No files found.
dlls/wined3d/pixelshader.c
View file @
45dbb78d
...
...
@@ -590,7 +590,7 @@ static void pshader_defi(WINED3DSHADERVECTOR* d, WINED3DSHADERVECTOR* s0, WINED3
FIXME
(
" : Stub
\n
"
);
}
static
void
pshader_dp2add
(
WINED3DSHADERVECTOR
*
d
)
{
static
void
pshader_dp2add
(
WINED3DSHADERVECTOR
*
d
,
WINED3DSHADERVECTOR
*
s0
,
WINED3DSHADERVECTOR
*
s1
,
WINED3DSHADERVECTOR
*
s2
)
{
FIXME
(
" : Stub
\n
"
);
}
...
...
@@ -602,7 +602,7 @@ static void pshader_dsy(WINED3DSHADERVECTOR* d) {
FIXME
(
" : Stub
\n
"
);
}
static
void
pshader_texldd
(
WINED3DSHADERVECTOR
*
d
)
{
static
void
pshader_texldd
(
WINED3DSHADERVECTOR
*
d
,
WINED3DSHADERVECTOR
*
s0
,
WINED3DSHADERVECTOR
*
s1
,
WINED3DSHADERVECTOR
*
s2
,
WINED3DSHADERVECTOR
*
s3
)
{
FIXME
(
" : Stub
\n
"
);
}
...
...
@@ -676,7 +676,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
{
D3DSIO_SINCOS
,
"sincos"
,
NULL
,
1
,
4
,
pshader_sincos2
,
NULL
,
NULL
,
D3DPS_VERSION
(
2
,
0
),
D3DPS_VERSION
(
2
,
0
)},
{
D3DSIO_SINCOS
,
"sincos"
,
NULL
,
1
,
2
,
pshader_sincos3
,
NULL
,
NULL
,
D3DPS_VERSION
(
3
,
0
),
-
1
},
/* TODO: dp2add can be made out of multiple instuctions */
{
D3DSIO_DP2ADD
,
"dp2add"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
pshader_dp2add
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_DP2ADD
,
"dp2add"
,
GLNAME_REQUIRE_GLSL
,
1
,
4
,
pshader_dp2add
,
NULL
,
NULL
,
D3DPS_VERSION
(
2
,
0
),
-
1
},
/* Matrix */
{
D3DSIO_M4x4
,
"m4x4"
,
"undefined"
,
1
,
3
,
pshader_m4x4
,
NULL
,
shader_glsl_mnxn
,
0
,
0
},
...
...
@@ -738,7 +738,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
/* TODO: dp2add can be made out of multiple instuctions */
{
D3DSIO_DSX
,
"dsx"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
pshader_dsx
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_DSY
,
"dsy"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
pshader_dsy
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_TEXLDD
,
"texldd"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
pshader_texldd
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_TEXLDD
,
"texldd"
,
GLNAME_REQUIRE_GLSL
,
1
,
5
,
pshader_texldd
,
NULL
,
NULL
,
D3DPS_VERSION
(
2
,
1
),
-
1
},
{
D3DSIO_SETP
,
"setp"
,
GLNAME_REQUIRE_GLSL
,
1
,
3
,
pshader_setp
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_TEXLDL
,
"texdl"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
pshader_texldl
,
NULL
,
NULL
,
0
,
0
},
{
D3DSIO_PHASE
,
"phase"
,
GLNAME_REQUIRE_GLSL
,
0
,
0
,
pshader_nop
,
NULL
,
NULL
,
0
,
0
},
...
...
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