-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAmdDxExt.h
47 lines (42 loc) · 2.17 KB
/
AmdDxExt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
***************************************************************************************************
*
* Copyright (c) 2008-2016 Advanced Micro Devices, Inc. All rights reserved.
*
***************************************************************************************************
*/
/**
***************************************************************************************************
* @file amddxext.h
* @brief AMD D3D Exension API include file.
***************************************************************************************************
*/
#ifndef _AMDDXEXT_H_
#define _AMDDXEXT_H_
/// Extended Primitive Topology enumeration
enum AmdDxExtPrimitiveTopology
{
// D3D10_DDI_PRIMITIVE_TOPOLOGY_* values
AmdDxExtPrimitiveTopology_Undefined = 0, // D3D10 UNDEFINED
AmdDxExtPrimitiveTopology_PointList = 1, // D3D10 POINTLIST
AmdDxExtPrimitiveTopology_LineList = 2, // D3D10 LINELIST
AmdDxExtPrimitiveTopology_LineStrip = 3, // D3D10 LINESTRIP
AmdDxExtPrimitiveTopology_TriangleList = 4, // D3D10 TRIANGLELIST
AmdDxExtPrimitiveTopology_TriangleStrip = 5, // D3D10 TRIANGLESTRIP
// 6 is reserved for legacy triangle fans
AmdDxExtPrimitiveTopology_ExtQuadList = 7, // No D3D10 equivalent
AmdDxExtPrimitiveTopology_ExtPatch = 8, // No D3D10 equivalent
AmdDxExtPrimitiveTopology_ExtScreenRectList = 9, // No D3D10 equivalent
AmdDxExtPrimitiveTopology_LineListAdj = 10, // D3D10 LINELIST_ADJ
AmdDxExtPrimitiveTopology_LineStripAdj = 11, // D3D10 LINESTRIP_ADJ
AmdDxExtPrimitiveTopology_TriangleListAdj = 12, // D3D10 TRIANGLELIST_ADJ
AmdDxExtPrimitiveTopology_TriangleStripAdj = 13, // D3D10 TRIANGLESTRIP_ADJ
AmdDxExtPrimitiveTopology_Max = 14
};
enum AmdDxExtFeatureToken
{
AmdDxExtFeature_ScreenRectSupport = 1, // Screen Rect supported - data is BOOL
AmdDxExtFeature_DeviceHp3d = 2, // HP3D support
AmdDxExtFeature_DeviceCtxSupport = 3, // Device Ctx Support
};
#endif // _AMDDXEXT_H_