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
4e7b2557
Commit
4e7b2557
authored
Dec 20, 2005
by
H. Verbeet
Committed by
Alexandre Julliard
Dec 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Cleanup shader constants code a little bit.
Improved bounds checking.
parent
5c631168
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
device.c
dlls/wined3d/device.c
+0
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+8
-0
No files found.
dlls/wined3d/device.c
View file @
4e7b2557
This diff is collapsed.
Click to expand it.
include/wine/wined3d_interface.h
View file @
4e7b2557
...
...
@@ -326,6 +326,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IUnknown)
STDMETHOD
(
GetPaletteEntries
)(
THIS_
UINT
PaletteNumber
,
PALETTEENTRY
*
pEntries
)
PURE
;
STDMETHOD
(
SetPixelShader
)(
THIS_
struct
IWineD3DPixelShader
*
pShader
)
PURE
;
STDMETHOD
(
GetPixelShader
)(
THIS_
struct
IWineD3DPixelShader
**
ppShader
)
PURE
;
STDMETHOD
(
SetPixelShaderConstant
)(
THIS_
void
*
dstData
,
const
void
*
srcData
,
UINT
type
,
UINT
start
,
UINT
count
,
UINT
countsize
);
STDMETHOD
(
GetPixelShaderConstant
)(
THIS_
void
*
dstData
,
const
void
*
srcData
,
UINT
type
,
UINT
start
,
UINT
count
,
UINT
countsize
);
STDMETHOD
(
SetPixelShaderConstantB
)(
THIS_
UINT
StartRegister
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
PURE
;
STDMETHOD
(
GetPixelShaderConstantB
)(
THIS_
UINT
StartRegister
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
PURE
;
STDMETHOD
(
SetPixelShaderConstantI
)(
THIS_
UINT
StartRegister
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
PURE
;
...
...
@@ -357,6 +359,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IUnknown)
STDMETHOD
(
GetVertexDeclaration
)(
THIS_
struct
IWineD3DVertexDeclaration
**
ppDecl
)
PURE
;
STDMETHOD
(
SetVertexShader
)(
THIS_
struct
IWineD3DVertexShader
*
pShader
)
PURE
;
STDMETHOD
(
GetVertexShader
)(
THIS_
struct
IWineD3DVertexShader
**
ppShader
)
PURE
;
STDMETHOD
(
SetVertexShaderConstant
)(
THIS_
void
*
dstData
,
const
void
*
srcData
,
UINT
type
,
UINT
start
,
UINT
count
,
UINT
countsize
);
STDMETHOD
(
GetVertexShaderConstant
)(
THIS_
void
*
dstData
,
const
void
*
srcData
,
UINT
type
,
UINT
start
,
UINT
count
,
UINT
countsize
);
STDMETHOD
(
SetVertexShaderConstantB
)(
THIS_
UINT
StartRegister
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
PURE
;
STDMETHOD
(
GetVertexShaderConstantB
)(
THIS_
UINT
StartRegister
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
PURE
;
STDMETHOD
(
SetVertexShaderConstantI
)(
THIS_
UINT
StartRegister
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
PURE
;
...
...
@@ -456,6 +460,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IUnknown)
#define IWineD3DDevice_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b)
#define IWineD3DDevice_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a)
#define IWineD3DDevice_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a)
#define IWineD3DDevice_SetPixelShaderConstant(p,a,b,c,d,e,f); (p)->lpVtbl->SetPixelShaderConstant(p,a,b,c,d,e,f)
#define IWineD3DDevice_GetPixelShaderConstant(p,a,b,c,d,e,f); (p)->lpVtbl->GetPixelShaderConstant(p,a,b,c,d,e,f)
#define IWineD3DDevice_SetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantB(p,a,b,c)
#define IWineD3DDevice_GetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantB(p,a,b,c)
#define IWineD3DDevice_SetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantI(p,a,b,c)
...
...
@@ -489,6 +495,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IUnknown)
#define IWineD3DDevice_GetVertexDeclaration(p,a) (p)->lpVtbl->GetVertexDeclaration(p,a)
#define IWineD3DDevice_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a)
#define IWineD3DDevice_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a)
#define IWineD3DDevice_SetVertexShaderConstant(p,a,b,c,d,e,f); (p)->lpVtbl->SetVertexShaderConstant(p,a,b,c,d,e,f)
#define IWineD3DDevice_GetVertexShaderConstant(p,a,b,c,d,e,f); (p)->lpVtbl->GetVertexShaderConstant(p,a,b,c,d,e,f)
#define IWineD3DDevice_SetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantB(p,a,b,c)
#define IWineD3DDevice_GetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantB(p,a,b,c)
#define IWineD3DDevice_SetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantI(p,a,b,c)
...
...
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