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
863578cc
Commit
863578cc
authored
Jan 03, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Handle D3D10_SVT_BUFFER.
parent
79d1b273
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
effect.c
dlls/d3d10/effect.c
+3
-0
No files found.
dlls/d3d10/effect.c
View file @
863578cc
...
...
@@ -361,6 +361,7 @@ static D3D10_SHADER_VARIABLE_TYPE d3d10_variable_type(DWORD t, BOOL is_object)
case
19
:
return
D3D10_SVT_RENDERTARGETVIEW
;
case
20
:
return
D3D10_SVT_DEPTHSTENCILVIEW
;
case
21
:
return
D3D10_SVT_SAMPLER
;
case
22
:
return
D3D10_SVT_BUFFER
;
default:
FIXME
(
"Unknown variable type %#x.
\n
"
,
t
);
return
D3D10_SVT_VOID
;
...
...
@@ -648,6 +649,7 @@ static void set_variable_vtbl(struct d3d10_effect_variable *v)
case
D3D10_SVT_TEXTURE2DMSARRAY
:
case
D3D10_SVT_TEXTURE3D
:
case
D3D10_SVT_TEXTURECUBE
:
case
D3D10_SVT_BUFFER
:
/* Either resource or constant buffer. */
v
->
vtbl
=
(
const
ID3D10EffectVariableVtbl
*
)
&
d3d10_effect_shader_resource_variable_vtbl
;
break
;
...
...
@@ -1222,6 +1224,7 @@ static HRESULT parse_fx10_local_variable(struct d3d10_effect_variable *v, const
case
D3D10_SVT_TEXTURECUBE
:
case
D3D10_SVT_RENDERTARGETVIEW
:
case
D3D10_SVT_DEPTHSTENCILVIEW
:
case
D3D10_SVT_BUFFER
:
TRACE
(
"SVT could not have elements.
\n
"
);
break
;
...
...
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