mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Write the SM1 constant table.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
f0d2a6d384
commit
b87e9b0652
76
include/vkd3d_d3dx9shader.idl
Normal file
76
include/vkd3d_d3dx9shader.idl
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2008 Luis Busquets
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import "vkd3d_windows.h";
|
||||
import "vkd3d_d3d9types.h";
|
||||
|
||||
typedef enum _D3DXREGISTER_SET
|
||||
{
|
||||
D3DXRS_BOOL,
|
||||
D3DXRS_INT4,
|
||||
D3DXRS_FLOAT4,
|
||||
D3DXRS_SAMPLER,
|
||||
D3DXRS_FORCE_DWORD = 0x7fffffff,
|
||||
} D3DXREGISTER_SET;
|
||||
|
||||
typedef enum D3DXPARAMETER_CLASS
|
||||
{
|
||||
D3DXPC_SCALAR,
|
||||
D3DXPC_VECTOR,
|
||||
D3DXPC_MATRIX_ROWS,
|
||||
D3DXPC_MATRIX_COLUMNS,
|
||||
D3DXPC_OBJECT,
|
||||
D3DXPC_STRUCT,
|
||||
D3DXPC_FORCE_DWORD = 0x7fffffff,
|
||||
} D3DXPARAMETER_CLASS;
|
||||
|
||||
typedef enum D3DXPARAMETER_TYPE
|
||||
{
|
||||
D3DXPT_VOID,
|
||||
D3DXPT_BOOL,
|
||||
D3DXPT_INT,
|
||||
D3DXPT_FLOAT,
|
||||
D3DXPT_STRING,
|
||||
D3DXPT_TEXTURE,
|
||||
D3DXPT_TEXTURE1D,
|
||||
D3DXPT_TEXTURE2D,
|
||||
D3DXPT_TEXTURE3D,
|
||||
D3DXPT_TEXTURECUBE,
|
||||
D3DXPT_SAMPLER,
|
||||
D3DXPT_SAMPLER1D,
|
||||
D3DXPT_SAMPLER2D,
|
||||
D3DXPT_SAMPLER3D,
|
||||
D3DXPT_SAMPLERCUBE,
|
||||
D3DXPT_PIXELSHADER,
|
||||
D3DXPT_VERTEXSHADER,
|
||||
D3DXPT_PIXELFRAGMENT,
|
||||
D3DXPT_VERTEXFRAGMENT,
|
||||
D3DXPT_UNSUPPORTED,
|
||||
D3DXPT_FORCE_DWORD = 0x7fffffff,
|
||||
} D3DXPARAMETER_TYPE;
|
||||
|
||||
typedef struct _D3DXSHADER_CONSTANTTABLE
|
||||
{
|
||||
DWORD Size;
|
||||
DWORD Creator;
|
||||
DWORD Version;
|
||||
DWORD Constants;
|
||||
DWORD ConstantInfo;
|
||||
DWORD Flags;
|
||||
DWORD Target;
|
||||
} D3DXSHADER_CONSTANTTABLE;
|
Reference in New Issue
Block a user