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
09fa208d
Commit
09fa208d
authored
Sep 05, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add crs and pow instruction support.
parent
c29112b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+2
-2
vertexshader.c
dlls/wined3d/vertexshader.c
+2
-2
No files found.
dlls/wined3d/pixelshader.c
View file @
09fa208d
...
...
@@ -175,8 +175,8 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
{
WINED3DSIO_FRC
,
"frc"
,
"FRC"
,
1
,
2
,
pshader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
{
WINED3DSIO_CND
,
"cnd"
,
NULL
,
1
,
4
,
pshader_hw_cnd
,
shader_glsl_cnd
,
WINED3DPS_VERSION
(
1
,
0
),
WINED3DPS_VERSION
(
1
,
4
)},
{
WINED3DSIO_CMP
,
"cmp"
,
NULL
,
1
,
4
,
pshader_hw_cmp
,
shader_glsl_cmp
,
WINED3DPS_VERSION
(
1
,
2
),
WINED3DPS_VERSION
(
3
,
0
)},
{
WINED3DSIO_POW
,
"pow"
,
"POW"
,
1
,
3
,
NULL
,
shader_glsl_pow
,
0
,
0
},
{
WINED3DSIO_CRS
,
"crs"
,
"XP
S"
,
1
,
3
,
NULL
,
shader_glsl_cross
,
0
,
0
},
{
WINED3DSIO_POW
,
"pow"
,
"POW"
,
1
,
3
,
pshader_hw_map2gl
,
shader_glsl_pow
,
0
,
0
},
{
WINED3DSIO_CRS
,
"crs"
,
"XP
D"
,
1
,
3
,
pshader_hw_map2gl
,
shader_glsl_cross
,
0
,
0
},
/* TODO: xyz normalise can be performed as VS_ARB using one temporary register,
DP3 tmp , vec, vec;
RSQ tmp, tmp.x;
...
...
dlls/wined3d/vertexshader.c
View file @
09fa208d
...
...
@@ -108,8 +108,8 @@ CONST SHADER_OPCODE IWineD3DVertexShaderImpl_shader_ins[] = {
{
WINED3DSIO_DST
,
"dst"
,
"DST"
,
1
,
3
,
vshader_hw_map2gl
,
shader_glsl_dst
,
0
,
0
},
{
WINED3DSIO_LRP
,
"lrp"
,
"LRP"
,
1
,
4
,
NULL
,
shader_glsl_lrp
,
0
,
0
},
{
WINED3DSIO_FRC
,
"frc"
,
"FRC"
,
1
,
2
,
vshader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
{
WINED3DSIO_POW
,
"pow"
,
"POW"
,
1
,
3
,
NULL
,
shader_glsl_pow
,
0
,
0
},
{
WINED3DSIO_CRS
,
"crs"
,
"XP
S"
,
1
,
3
,
NULL
,
shader_glsl_cross
,
0
,
0
},
{
WINED3DSIO_POW
,
"pow"
,
"POW"
,
1
,
3
,
vshader_hw_map2gl
,
shader_glsl_pow
,
0
,
0
},
{
WINED3DSIO_CRS
,
"crs"
,
"XP
D"
,
1
,
3
,
vshader_hw_map2gl
,
shader_glsl_cross
,
0
,
0
},
/* TODO: sng can possibly be performed a s
RCP tmp, vec
MUL out, tmp, vec*/
...
...
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