VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/d3d10_1shader.h@ 53206

Last change on this file since 53206 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1/*
2 * Copyright 2010 Rico Schüller
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __D3D10_1SHADER_H__
29#define __D3D10_1SHADER_H__
30
31#include "d3d10shader.h"
32
33DEFINE_GUID(IID_ID3D10ShaderReflection1, 0xc3457783, 0xa846, 0x47ce, 0x95, 0x20, 0xce, 0xa6, 0xf6, 0x6e, 0x74, 0x47);
34
35#define INTERFACE ID3D10ShaderReflection1
36DECLARE_INTERFACE_(ID3D10ShaderReflection1, IUnknown)
37{
38 /* IUnknown methods */
39 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
40 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
41 STDMETHOD_(ULONG, Release)(THIS) PURE;
42 /* ID3D10ShaderReflection1 methods */
43 STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_DESC *desc) PURE;
44 STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
45 STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE;
46 STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE;
47 STDMETHOD(GetInputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
48 STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
49 STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
50 STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE;
51 STDMETHOD(GetMovInstructionCount)(THIS_ UINT *count) PURE;
52 STDMETHOD(GetMovcInstructionCount)(THIS_ UINT *count) PURE;
53 STDMETHOD(GetConversionInstructionCount)(THIS_ UINT *count) PURE;
54 STDMETHOD(GetBitwiseInstructionCount)(THIS_ UINT *count) PURE;
55 STDMETHOD(GetGSInputPrimitive)(THIS_ D3D10_PRIMITIVE *prim) PURE;
56 STDMETHOD(IsLevel9Shader)(THIS_ BOOL *level9shader) PURE;
57 STDMETHOD(IsSampleFrequencyShader)(THIS_ BOOL *samplefrequency) PURE;
58};
59#undef INTERFACE
60
61#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette