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
5fb34ab4
Commit
5fb34ab4
authored
Nov 01, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
Nov 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ID3D10ShaderReflection1 interface.
parent
d37b3c82
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
Makefile.in
include/Makefile.in
+1
-0
d3d10_1shader.h
include/d3d10_1shader.h
+52
-0
No files found.
include/Makefile.in
View file @
5fb34ab4
...
...
@@ -151,6 +151,7 @@ SRCDIR_INCLUDES = \
custcntl.h
\
cvconst.h
\
d3d.h
\
d3d10_1shader.h
\
d3d10effect.h
\
d3d10misc.h
\
d3d10shader.h
\
...
...
include/d3d10_1shader.h
0 → 100644
View file @
5fb34ab4
/*
* Copyright 2010 Rico Schüller
*
* 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 __D3D10_1SHADER_H__
#define __D3D10_1SHADER_H__
#include "d3d10shader.h"
DEFINE_GUID
(
IID_ID3D10ShaderReflection1
,
0xc3457783
,
0xa846
,
0x47ce
,
0x95
,
0x20
,
0xce
,
0xa6
,
0xf6
,
0x6e
,
0x74
,
0x47
);
#define INTERFACE ID3D10ShaderReflection1
DECLARE_INTERFACE_
(
ID3D10ShaderReflection1
,
IUnknown
)
{
/* IUnknown methods */
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*
object
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D10ShaderReflection1 methods */
STDMETHOD
(
GetDesc
)(
THIS_
D3D10_SHADER_DESC
*
desc
)
PURE
;
STDMETHOD_
(
struct
ID3D10ShaderReflectionConstantBuffer
*
,
GetConstantBufferByIndex
)(
THIS_
UINT
index
)
PURE
;
STDMETHOD_
(
struct
ID3D10ShaderReflectionConstantBuffer
*
,
GetConstantBufferByName
)(
THIS_
LPCSTR
name
)
PURE
;
STDMETHOD
(
GetResourceBindingDesc
)(
THIS_
UINT
index
,
D3D10_SHADER_INPUT_BIND_DESC
*
desc
)
PURE
;
STDMETHOD
(
GetInputParameterDesc
)(
THIS_
UINT
index
,
D3D10_SIGNATURE_PARAMETER_DESC
*
desc
)
PURE
;
STDMETHOD
(
GetOutputParameterDesc
)(
THIS_
UINT
index
,
D3D10_SIGNATURE_PARAMETER_DESC
*
desc
)
PURE
;
STDMETHOD_
(
struct
ID3D10ShaderReflectionVariable
*
,
GetVariableByName
)(
THIS_
LPCSTR
name
)
PURE
;
STDMETHOD
(
GetResourceBindingDescByName
)(
THIS_
LPCSTR
name
,
D3D10_SHADER_INPUT_BIND_DESC
*
desc
)
PURE
;
STDMETHOD
(
GetMovInstructionCount
)(
THIS_
UINT
*
count
)
PURE
;
STDMETHOD
(
GetMovcInstructionCount
)(
THIS_
UINT
*
count
)
PURE
;
STDMETHOD
(
GetConversionInstructionCount
)(
THIS_
UINT
*
count
)
PURE
;
STDMETHOD
(
GetBitwiseInstructionCount
)(
THIS_
UINT
*
count
)
PURE
;
STDMETHOD
(
GetGSInputPrimitive
)(
THIS_
D3D10_PRIMITIVE
*
prim
)
PURE
;
STDMETHOD
(
IsLevel9Shader
)(
THIS_
BOOL
*
level9shader
)
PURE
;
STDMETHOD
(
IsSampleFrequencyShader
)(
THIS_
BOOL
*
samplefrequency
)
PURE
;
};
#undef INTERFACE
#endif
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