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
4f2c93e2
Commit
4f2c93e2
authored
Sep 25, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Store shader variables in d3d10_effect_pass instead of d3d10_effect_object.
parent
2a83e1a5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
80 deletions
+40
-80
d3d10_private.h
dlls/d3d10/d3d10_private.h
+3
-2
effect.c
dlls/d3d10/effect.c
+37
-78
No files found.
dlls/d3d10/d3d10_private.h
View file @
4f2c93e2
...
...
@@ -72,8 +72,6 @@ struct d3d10_effect_object
{
struct
d3d10_effect_pass
*
pass
;
enum
d3d10_effect_object_type
type
;
DWORD
index
;
void
*
data
;
union
{
ID3D10VertexShader
*
vs
;
...
...
@@ -168,6 +166,9 @@ struct d3d10_effect_pass
struct
d3d10_effect_object
*
objects
;
struct
d3d10_effect_variable
*
annotations
;
D3D10_PASS_SHADER_DESC
vs
;
D3D10_PASS_SHADER_DESC
ps
;
D3D10_PASS_SHADER_DESC
gs
;
UINT
stencil_ref
;
UINT
sample_mask
;
float
blend_factor
[
4
];
...
...
dlls/d3d10/effect.c
View file @
4f2c93e2
This diff is collapsed.
Click to expand it.
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