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
93b3106b
Commit
93b3106b
authored
Oct 24, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add D3DVS_RASTOUT_OFFSETS to the WINED3D namespace.
parent
997e670e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
vertexshader.c
dlls/wined3d/vertexshader.c
+3
-3
wined3d_private_types.h
dlls/wined3d/wined3d_private_types.h
+9
-0
No files found.
dlls/wined3d/vertexshader.c
View file @
93b3106b
...
...
@@ -942,13 +942,13 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_ExecuteSW(IWineD3DVertexShader* iface, W
break
;
case
WINED3DSPR_RASTOUT
:
switch
(
reg
)
{
case
D3DSRO_POSITION
:
case
WINE
D3DSRO_POSITION
:
p
[
i
]
=
&
output
->
oPos
;
break
;
case
D3DSRO_FOG
:
case
WINE
D3DSRO_FOG
:
p
[
i
]
=
&
output
->
oFog
;
break
;
case
D3DSRO_POINT_SIZE
:
case
WINE
D3DSRO_POINT_SIZE
:
p
[
i
]
=
&
output
->
oPts
;
break
;
}
...
...
dlls/wined3d/wined3d_private_types.h
View file @
93b3106b
...
...
@@ -80,6 +80,15 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE {
WINED3DSPR_FORCE_DWORD
=
0x7FFFFFFF
}
WINED3DSHADER_PARAM_REGISTER_TYPE
;
/* RASTOUT register offsets */
typedef
enum
_WINED3DVS_RASTOUT_OFFSETS
{
WINED3DSRO_POSITION
=
0
,
WINED3DSRO_FOG
=
1
,
WINED3DSRO_POINT_SIZE
=
2
,
WINED3DSRO_FORCE_DWORD
=
0x7FFFFFFF
}
WINED3DVS_RASTOUT_OFFSETS
;
/** Source register modifiers **/
#define WINED3DVS_SWIZZLE_SHIFT 16
#define WINED3DVS_SWIZZLE_MASK (0xFF << WINED3DVS_SWIZZLE_SHIFT)
...
...
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