vkd3d-shader/hlsl: Use a block in hlsl_normalize_binary_exprs().
[vkd3d.git] / include / vkd3d_dxgitype.idl
blob74806c0ce41c288b31e9da81867bca184e3db8e0
1 /*
2 * Copyright 2016 Józef Kucia for CodeWeavers
3 * Copyright 2016 Henri Verbeet for CodeWeavers
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 import "vkd3d_windows.h";
21 import "vkd3d_dxgibase.idl";
23 typedef enum DXGI_COLOR_SPACE_TYPE
25 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x0,
26 DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x1,
27 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x2,
28 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x3,
29 DXGI_COLOR_SPACE_RESERVED = 0x4,
30 DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x5,
31 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x6,
32 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x7,
33 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x8,
34 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x9,
35 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0xa,
36 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0xb,
37 DXGI_COLOR_SPACE_CUSTOM = 0xffffffff,
38 } DXGI_COLOR_SPACE_TYPE;
40 typedef struct _D3DCOLORVALUE D3DCOLORVALUE, DXGI_RGBA;
41 typedef struct DXGI_MODE_DESC DXGI_MODE_DESC;