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
1c14c180
Commit
1c14c180
authored
Jul 03, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Jul 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement dsx & dsy shader instructions.
parent
58fb9dd5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-0
pixelshader.c
dlls/wined3d/pixelshader.c
+2
-2
No files found.
dlls/wined3d/glsl_shader.c
View file @
1c14c180
...
...
@@ -1061,6 +1061,8 @@ void shader_glsl_map2gl(SHADER_OPCODE_ARG* arg) {
case
WINED3DSIO_LOG
:
instruction
=
"log2"
;
break
;
case
WINED3DSIO_EXP
:
instruction
=
"exp2"
;
break
;
case
WINED3DSIO_SGN
:
instruction
=
"sign"
;
break
;
case
WINED3DSIO_DSX
:
instruction
=
"dFdx"
;
break
;
case
WINED3DSIO_DSY
:
instruction
=
"dFdy"
;
break
;
default:
instruction
=
""
;
FIXME
(
"Opcode %s not yet handled in GLSL
\n
"
,
curOpcode
->
name
);
break
;
...
...
dlls/wined3d/pixelshader.c
View file @
1c14c180
...
...
@@ -252,8 +252,8 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
{
WINED3DSIO_TEXM3x3
,
"texm3x3"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
NULL
,
pshader_glsl_texm3x3
,
WINED3DPS_VERSION
(
1
,
2
),
WINED3DPS_VERSION
(
1
,
3
)},
{
WINED3DSIO_TEXDEPTH
,
"texdepth"
,
GLNAME_REQUIRE_GLSL
,
1
,
1
,
NULL
,
pshader_glsl_texdepth
,
WINED3DPS_VERSION
(
1
,
4
),
WINED3DPS_VERSION
(
1
,
4
)},
{
WINED3DSIO_BEM
,
"bem"
,
"undefined"
,
1
,
3
,
pshader_hw_bem
,
pshader_glsl_bem
,
WINED3DPS_VERSION
(
1
,
4
),
WINED3DPS_VERSION
(
1
,
4
)},
{
WINED3DSIO_DSX
,
"dsx"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
NULL
,
NULL
,
0
,
0
},
{
WINED3DSIO_DSY
,
"dsy"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
NULL
,
NULL
,
0
,
0
},
{
WINED3DSIO_DSX
,
"dsx"
,
NULL
,
1
,
2
,
NULL
,
shader_glsl_map2gl
,
WINED3DPS_VERSION
(
2
,
1
),
-
1
},
{
WINED3DSIO_DSY
,
"dsy"
,
NULL
,
1
,
2
,
NULL
,
shader_glsl_map2gl
,
WINED3DPS_VERSION
(
2
,
1
),
-
1
},
{
WINED3DSIO_TEXLDD
,
"texldd"
,
GLNAME_REQUIRE_GLSL
,
1
,
5
,
NULL
,
NULL
,
WINED3DPS_VERSION
(
2
,
1
),
-
1
},
{
WINED3DSIO_SETP
,
"setp"
,
GLNAME_REQUIRE_GLSL
,
1
,
3
,
NULL
,
NULL
,
0
,
0
},
{
WINED3DSIO_TEXLDL
,
"texldl"
,
NULL
,
1
,
3
,
NULL
,
shader_glsl_texldl
,
WINED3DPS_VERSION
(
3
,
0
),
-
1
},
...
...
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