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
75d2c807
Commit
75d2c807
authored
Feb 25, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add the ID3D10EffectType interface.
parent
1622f89c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
129 additions
and
3 deletions
+129
-3
Makefile.in
include/Makefile.in
+2
-0
d3d10.idl
include/d3d10.idl
+3
-3
d3d10effect.h
include/d3d10effect.h
+54
-0
d3d10shader.h
include/d3d10shader.h
+70
-0
No files found.
include/Makefile.in
View file @
75d2c807
...
...
@@ -121,7 +121,9 @@ SRCDIR_INCLUDES = \
custcntl.h
\
cvconst.h
\
d3d.h
\
d3d10effect.h
\
d3d10misc.h
\
d3d10shader.h
\
d3d8.h
\
d3d8caps.h
\
d3d8types.h
\
...
...
include/d3d10.idl
View file @
75d2c807
...
...
@@ -1533,7 +1533,7 @@ interface ID3D10Multithread : IUnknown
BOOL
GetMultithreadProtected
()
;
}
cpp_quote
(
"#include
<d3d10misc.h>
"
)
/*
TODO
:
Include
"d310effect.h"
as
soon
as
it
exists
*/
/*
TODO
:
Include
"d310shader.h"
as
soon
as
it
exists
*/
cpp_quote
(
"#include
\"
d3d10misc
.
h\"
")
cpp_quote
(
"#include \"
d3d10shader
.
h\"")
cpp_quote
(
"#include \"
d3d10effect
.
h\"")
/*
TODO
:
Include
"d310sdklayers.h"
as
soon
as
it
exists
*/
include/d3d10effect.h
0 → 100644
View file @
75d2c807
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#ifndef __WINE_D3D10EFFECT_H
#define __WINE_D3D10EFFECT_H
#include "d3d10.h"
typedef
struct
_D3D10_EFFECT_TYPE_DESC
{
LPCSTR
TypeName
;
D3D10_SHADER_VARIABLE_CLASS
Class
;
D3D10_SHADER_VARIABLE_TYPE
Type
;
UINT
Elements
;
UINT
Members
;
UINT
Rows
;
UINT
Columns
;
UINT
PackedSize
;
UINT
UnpackedSize
;
UINT
Stride
;
}
D3D10_EFFECT_TYPE_DESC
;
DEFINE_GUID
(
IID_ID3D10EffectType
,
0x4e9e1ddc
,
0xcd9d
,
0x4772
,
0xa8
,
0x37
,
0x00
,
0x18
,
0x0b
,
0x9b
,
0x88
,
0xfd
);
#define INTERFACE ID3D10EffectType
DECLARE_INTERFACE
(
ID3D10EffectType
)
{
STDMETHOD_
(
BOOL
,
IsValid
)(
THIS
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
D3D10_EFFECT_TYPE_DESC
*
desc
)
PURE
;
STDMETHOD_
(
struct
ID3D10EffectType
*
,
GetMemberTypeByIndex
)(
THIS_
UINT
index
)
PURE
;
STDMETHOD_
(
struct
ID3D10EffectType
*
,
GetMemberTypeByName
)(
THIS_
LPCSTR
name
)
PURE
;
STDMETHOD_
(
struct
ID3D10EffectType
*
,
GetMemberTypeBySemantic
)(
THIS_
LPCSTR
semantic
)
PURE
;
STDMETHOD_
(
LPCSTR
,
GetMemberName
)(
THIS_
UINT
index
)
PURE
;
STDMETHOD_
(
LPCSTR
,
GetMemberSemantic
)(
THIS_
UINT
index
)
PURE
;
};
#undef INTERFACE
#endif
/* __WINE_D3D10EFFECT_H */
include/d3d10shader.h
0 → 100644
View file @
75d2c807
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#ifndef __WINE_D3D10SHADER_H
#define __WINE_D3D10SHADER_H
#include "d3d10.h"
typedef
enum
_D3D10_SHADER_VARIABLE_CLASS
{
D3D10_SVC_SCALAR
,
D3D10_SVC_VECTOR
,
D3D10_SVC_MATRIX_ROWS
,
D3D10_SVC_MATRIX_COLUMNS
,
D3D10_SVC_OBJECT
,
D3D10_SVC_STRUCT
,
D3D10_SVC_FORCE_DWORD
=
0x7fffffff
}
D3D10_SHADER_VARIABLE_CLASS
,
*
LPD3D10_SHADER_VARIABLE_CLASS
;
typedef
enum
_D3D10_SHADER_VARIABLE_TYPE
{
D3D10_SVT_VOID
=
0
,
D3D10_SVT_BOOL
=
1
,
D3D10_SVT_INT
=
2
,
D3D10_SVT_FLOAT
=
3
,
D3D10_SVT_STRING
=
4
,
D3D10_SVT_TEXTURE
=
5
,
D3D10_SVT_TEXTURE1D
=
6
,
D3D10_SVT_TEXTURE2D
=
7
,
D3D10_SVT_TEXTURE3D
=
8
,
D3D10_SVT_TEXTURECUBE
=
9
,
D3D10_SVT_SAMPLER
=
10
,
D3D10_SVT_PIXELSHADER
=
15
,
D3D10_SVT_VERTEXSHADER
=
16
,
D3D10_SVT_UINT
=
19
,
D3D10_SVT_UINT8
=
20
,
D3D10_SVT_GEOMETRYSHADER
=
21
,
D3D10_SVT_RASTERIZER
=
22
,
D3D10_SVT_DEPTHSTENCIL
=
23
,
D3D10_SVT_BLEND
=
24
,
D3D10_SVT_BUFFER
=
25
,
D3D10_SVT_CBUFFER
=
26
,
D3D10_SVT_TBUFFER
=
27
,
D3D10_SVT_TEXTURE1DARRAY
=
28
,
D3D10_SVT_TEXTURE2DARRAY
=
29
,
D3D10_SVT_RENDERTARGETVIEW
=
30
,
D3D10_SVT_DEPTHSTENCILVIEW
=
31
,
D3D10_SVT_TEXTURE2DMS
=
32
,
D3D10_SVT_TEXTURE2DMSARRAY
=
33
,
D3D10_SVT_TEXTURECUBEARRAY
=
34
,
D3D10_SVT_FORCE_DWORD
=
0x7fffffff
}
D3D10_SHADER_VARIABLE_TYPE
,
*
LPD3D10_SHADER_VARIABLE_TYPE
;
#endif
/* __WINE_D3D10SHADER_H */
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