UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
D3D12IntelExtensions.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#ifndef INTEL_EXTENSIONS
6
# define INTEL_EXTENSIONS 0
7
#endif
8
9
#if INTEL_EXTENSIONS
10
11
#include "
D3D12ThirdParty.h
"
12
13
#define INTC_IGDEXT_D3D12 1
14
15
#include "
Microsoft/AllowMicrosoftPlatformTypes.h
"
16
THIRD_PARTY_INCLUDES_START
17
#include <igdext.h>
18
THIRD_PARTY_INCLUDES_END
19
#include "
Microsoft/HideMicrosoftPlatformTypes.h
"
20
21
#include "
RHICoreIntelBreadcrumbs.h
"
22
23
extern
bool
GDX12INTCAtomicUInt64Emulation
;
24
25
struct
INTCExtensionContext
;
26
struct
INTCExtensionInfo
;
27
28
struct
INTCSupportedVersion
29
{
30
INTCExtensionVersion
Version;
// Required version
31
IConsoleVariable
* CVar;
// Console variable that controls this feature
32
};
33
extern
INTCExtensionVersion
IntelExtensionsVersion
;
34
35
// Offsets for the version structure
36
#define INTEL_EXTENSION_VERSION_GENERIC 0
// Generic version for all UE5 targets
37
#define INTEL_EXTENSION_VERSION_BREADCRUMBS 1
// Intel Breadcrumbs support
38
39
bool
MatchIntelExtensionVersion
(
const
INTCExtensionVersion
& Version);
40
void
SetIntelExtensionsVersion
(
const
INTCExtensionVersion
&
ExtensionsVersion
);
41
42
INTCExtensionContext
*
CreateIntelExtensionsContext
(
ID3D12Device
* Device,
INTCExtensionInfo
&
INTCExtensionInfo
,
uint32
DeviceId = 0);
43
void
DestroyIntelExtensionsContext
(
INTCExtensionContext
* IntelExtensionContext);
44
45
bool
EnableIntelAtomic64Support
(
INTCExtensionContext
* IntelExtensionContext,
INTCExtensionInfo
&
INTCExtensionInfo
);
46
void
EnableIntelAppDiscovery
(
uint32
DeviceId);
47
48
#if INTEL_GPU_CRASH_DUMPS
49
namespace
UE::RHICore::Intel::GPUCrashDumps::D3D12
50
{
51
uint64_t
RegisterCommandList(
ID3D12CommandList
*
pCommandList
);
52
//void UnregisterCommandList( FCommandList CommandList );
53
54
#if WITH_RHI_BREADCRUMBS
55
void
BeginBreadcrumb(
ID3D12GraphicsCommandList
*
pCommandList
,
FRHIBreadcrumbNode
*
Breadcrumb
);
56
void
EndBreadcrumb(
ID3D12GraphicsCommandList
*
pCommandList
,
FRHIBreadcrumbNode
*
Breadcrumb
);
57
#endif
58
}
59
#endif
60
61
#endif
//INTEL_EXTENSIONS
AllowMicrosoftPlatformTypes.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
D3D12ThirdParty.h
THIRD_PARTY_INCLUDES_START
#define THIRD_PARTY_INCLUDES_START
Definition
GenericPlatformCompilerPreSetup.h:63
HideMicrosoftPlatformTypes.h
RHICoreIntelBreadcrumbs.h
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
IConsoleVariable
Definition
IConsoleManager.h:558
THIRD_PARTY_INCLUDES_END
Definition
Voronoi.cpp:10
Engine
Source
Runtime
D3D12RHI
Private
D3D12IntelExtensions.h
Generated by
1.9.8