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
0b4e6c71
Commit
0b4e6c71
authored
Jan 10, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Jan 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Parse effect shaders as anonymous shaders.
parent
0682453d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
d3d10_private.h
dlls/d3d10/d3d10_private.h
+17
-1
effect.c
dlls/d3d10/effect.c
+0
-0
No files found.
dlls/d3d10/d3d10_private.h
View file @
0b4e6c71
...
...
@@ -45,6 +45,12 @@ enum d3d10_effect_object_type
D3D10_EOT_GEOMETRYSHADER
=
8
,
};
enum
d3d10_effect_object_operation
{
D3D10_EOO_VALUE
=
1
,
D3D10_EOO_ANONYMOUS_SHADER
=
7
,
};
struct
d3d10_effect_object
{
struct
d3d10_effect_pass
*
pass
;
...
...
@@ -105,6 +111,7 @@ struct d3d10_effect_variable
struct
d3d10_effect_type
*
type
;
struct
d3d10_effect
*
effect
;
void
*
data
;
char
*
name
;
char
*
semantic
;
DWORD
buffer_offset
;
...
...
@@ -143,6 +150,12 @@ struct d3d10_effect_technique
struct
d3d10_effect_variable
*
annotations
;
};
struct
d3d10_effect_anonymous_shader
{
struct
d3d10_effect_variable
shader
;
struct
d3d10_effect_type
type
;
};
/* ID3D10Effect */
extern
const
struct
ID3D10EffectVtbl
d3d10_effect_vtbl
DECLSPEC_HIDDEN
;
struct
d3d10_effect
...
...
@@ -167,11 +180,14 @@ struct d3d10_effect
DWORD
rendertargetview_count
;
DWORD
depthstencilview_count
;
DWORD
shader_call_count
;
DWORD
shader_compile_count
;
DWORD
anonymous_shader_count
;
DWORD
anonymous_shader_current
;
struct
wine_rb_tree
types
;
struct
d3d10_effect_variable
*
local_buffers
;
struct
d3d10_effect_variable
*
local_variables
;
struct
d3d10_effect_anonymous_shader
*
anonymous_shaders
;
struct
d3d10_effect_technique
*
techniques
;
};
...
...
dlls/d3d10/effect.c
View file @
0b4e6c71
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