-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathpch.h
98 lines (86 loc) · 2.72 KB
/
pch.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
#pragma once
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <DirectXMath.h>
#include <assert.h>
#include <comdef.h>
#include <atlbase.h>
#include <memory>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <map>
#include <deque>
#include <string>
#include <strsafe.h>
#include "d3d12_1.h"
#include "d3dx12.h"
#include "dxc\dxcapi.h"
#include "dxc\dxcapi.use.h"
#include "dxc\dxcdxrfallbackcompiler.h"
#include "dxc\hlsl\DxilContainer.h"
#include "dxc\hlsl\DxilRuntimeReflection.h"
#include "Util.h"
#include <iostream>
#include <sstream>
#define SKIP_BINDING_VALIDATION
#define SKIP_STATE_OBJECT_MASK_VALIDATION
#define INCLUDE_MESSAGE_LOG
#include "StateObjectProcessing.hpp"
#include "DxbcParser.h"
#include "FallbackDebug.h"
#include "D3D12RaytracingFallback.h"
#include "RaytracingCompatibilityDebug.h"
#include "ComObject.h"
#include "NativeRaytracing.h"
#include "ExperimentalRaytracing.h"
#include "FallbackDxil.h"
#include "RaytracingHlslCompat.h"
#include "DxilShaderPatcher.h"
#include "AccelerationStructureValidator.h"
#include "AccelerationStructureBuilder.h"
#include "AccelerationStructureBuilderFactory.h"
#include "TraversalShaderBuilder.h"
#include "RaytracingProgram.h"
#include "RaytracingProgramFactory.h"
#include "FallbackLayer.h"
// Validators
#include "BVHValidator.h"
// Traversal Builders
#include "BVHTraversalShaderBuilder.h"
// Acceleration Structure Builders
#include "GetBVHCompactedSizeBindings.h"
#include "ShaderPass.h"
#include "BitonicSort.h"
#include "SceneAABBCalculator.h"
#include "MortonCodesCalculator.h"
#include "RearrangeElementsPass.h"
#include "LoadInstancesPass.h"
#include "LoadPrimitivesPass.h"
#include "ConstructHierarchyPass.h"
#include "ConstructAABBPass.h"
#include "PostBuildInfoQuery.h"
#include "GpuBvh2Copy.h"
#include "TreeletReorder.h"
#include "GpuBvh2Builder.h"
// Dispatchers
#include "UberShaderBindings.h"
#include "UberShaderRaytracingProgram.h"
#define USE_PIX_MARKERS 1
#if USE_PIX_MARKERS
#include "C:\Users\kusha\Desktop\University_of_Pennsylvania\Courses\Fall_2019\CIS_565_GPU_Programming\Projects\Project_0\Project0-Getting-Started\dxr-support\packages\WinPixEventRuntime.1.0.180612001\Include\WinPixEventRuntime\pix3.h"
static const UINT FallbackPixColor = PIX_COLOR(10, 10, 255);
#endif