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
80cbb931
Commit
80cbb931
authored
Aug 17, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Aug 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up vertex shaders and bring the current code inline with the rest
of wined3d.
parent
69cf6a28
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
7 deletions
+47
-7
vertexshader.c
dlls/wined3d/vertexshader.c
+0
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+6
-4
wined3d_types.h
include/wine/wined3d_types.h
+41
-3
No files found.
dlls/wined3d/vertexshader.c
View file @
80cbb931
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
80cbb931
...
...
@@ -1102,6 +1102,10 @@ typedef struct IWineD3DVertexShaderImpl {
CONST
DWORD
*
function
;
UINT
functionLength
;
DWORD
usage
;
DWORD
version
;
/* run time datas... */
VSHADERDATA
*
data
;
#if 0 /* needs reworking */
DWORD usage;
DWORD version;
...
...
@@ -1125,13 +1129,11 @@ typedef struct IWineD3DPixelShaderImpl {
IWineD3DDeviceImpl
*
wineD3DDevice
;
/* IWineD3DPixelShaderImpl*/
/* IWineD3DPixelShaderImpl
*/
CONST
DWORD
*
function
;
UINT
functionLength
;
#if 0 /* needs reworking */
UINT functionLength;
DWORD version;
/* run time datas */
PSHADERDATA* data;
PSHADERINPUTDATA input;
...
...
include/wine/wined3d_types.h
View file @
80cbb931
...
...
@@ -431,7 +431,7 @@ typedef struct _WINED3DSURFACE_DESC
typedef
struct
_WINED3DVOLUME_DESC
{
D3DFORMAT
*
Format
;
WINED3DFORMAT
*
Format
;
D3DRESOURCETYPE
*
Type
;
DWORD
*
Usage
;
D3DPOOL
*
Pool
;
...
...
@@ -694,7 +694,45 @@ typedef struct glDescriptor {
int
/*GLenum*/
glFormatInternal
;
int
/*GLenum*/
glType
;
}
glDescriptor
;
/****************************
* * Vertex Shaders Declaration
* */
typedef
enum
_WINED3DDECLUSAGE
{
WINED3DSHADERDECLUSAGE_POSITION
=
0
,
WINED3DSHADERDECLUSAGE_BLENDWEIGHT
,
WINED3DSHADERDECLUSAGE_BLENDINDICES
,
WINED3DSHADERDECLUSAGE_NORMAL
,
WINED3DSHADERDECLUSAGE_PSIZE
,
WINED3DSHADERDECLUSAGE_TEXCOORD0
,
WINED3DSHADERDECLUSAGE_TEXCOORD1
,
WINED3DSHADERDECLUSAGE_TEXCOORD2
,
WINED3DSHADERDECLUSAGE_TEXCOORD3
,
WINED3DSHADERDECLUSAGE_TEXCOORD4
,
WINED3DSHADERDECLUSAGE_TEXCOORD5
,
WINED3DSHADERDECLUSAGE_TEXCOORD6
,
WINED3DSHADERDECLUSAGE_TEXCOORD7
,
WINED3DSHADERDECLUSAGE_TANGENT
,
WINED3DSHADERDECLUSAGE_BINORMAL
,
WINED3DSHADERDECLUSAGE_TESSFACTOR
,
WINED3DSHADERDECLUSAGE_POSITIONT
,
WINED3DSHADERDECLUSAGE_DIFFUSE
,
WINED3DSHADERDECLUSAGE_SPECULAR
,
WINED3DSHADERDECLUSAGE_FOG
,
WINED3DSHADERDECLUSAGE_DEPTH
,
WINED3DSHADERDECLUSAGE_SAMPLE
,
WINED3DSHADERDECLUSAGE_POSITION2
,
WINED3DSHADERDECLUSAGE_POSITION21
,
WINED3DSHADERDECLUSAGE_POSITION22
,
WINED3DSHADERDECLUSAGE_POSITION23
,
WINED3DSHADERDECLUSAGE_POSITION24
,
WINED3DSHADERDECLUSAGE_POSITION25
,
WINED3DSHADERDECLUSAGE_POSITION26
,
WINED3DSHADERDECLUSAGE_POSITION27
,
WINED3DSHADERDECLUSAGE_POSITION28
,
WINED3DSHADERDECLUSAGE_NORMAL2
,
WINED3DSHADERDECLUSAGE_POSITIONT2
,
WINED3DSHADERDECLUSAGE_MAX_USAGE
}
WINED3DSHADERDECLUSAGE
;
#endif
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