aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorlbavoil <[email protected]>2017-01-23 09:55:05 +0100
committerlbavoil <[email protected]>2017-01-23 09:55:05 +0100
commit0e07a80f8c1443e047e283f30693cf708a3204ea (patch)
tree460cb590a7dfc7d43a205f33fa0631f408b68940 /samples
parentPolish HLSL. No functional change. (diff)
downloadhbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.tar.xz
hbaoplus-0e07a80f8c1443e047e283f30693cf708a3204ea.zip
HBAO+ 3.1.0.21602716
Diffstat (limited to 'samples')
-rw-r--r--samples/D3D11/src/BinMeshReader.h2
-rw-r--r--samples/D3D11/src/GPUTimers.cpp2
-rw-r--r--samples/D3D11/src/GPUTimers.h2
-rw-r--r--samples/D3D11/src/SSAO11.cpp2
-rw-r--r--samples/D3D11/src/SceneRTs.h2
-rw-r--r--samples/D3D12/src/BinMeshReader.h2
-rw-r--r--samples/D3D12/src/Viewer.cpp13
7 files changed, 7 insertions, 18 deletions
diff --git a/samples/D3D11/src/BinMeshReader.h b/samples/D3D11/src/BinMeshReader.h
index 6661ed0..32ebd26 100644
--- a/samples/D3D11/src/BinMeshReader.h
+++ b/samples/D3D11/src/BinMeshReader.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D11/src/GPUTimers.cpp b/samples/D3D11/src/GPUTimers.cpp
index c00b9f2..cef0094 100644
--- a/samples/D3D11/src/GPUTimers.cpp
+++ b/samples/D3D11/src/GPUTimers.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D11/src/GPUTimers.h b/samples/D3D11/src/GPUTimers.h
index 9fb2cdb..1e7b256 100644
--- a/samples/D3D11/src/GPUTimers.h
+++ b/samples/D3D11/src/GPUTimers.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D11/src/SSAO11.cpp b/samples/D3D11/src/SSAO11.cpp
index e44fa51..cd8db30 100644
--- a/samples/D3D11/src/SSAO11.cpp
+++ b/samples/D3D11/src/SSAO11.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D11/src/SceneRTs.h b/samples/D3D11/src/SceneRTs.h
index 7e40d85..be6105f 100644
--- a/samples/D3D11/src/SceneRTs.h
+++ b/samples/D3D11/src/SceneRTs.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D12/src/BinMeshReader.h b/samples/D3D12/src/BinMeshReader.h
index 2b1679b..90f0719 100644
--- a/samples/D3D12/src/BinMeshReader.h
+++ b/samples/D3D12/src/BinMeshReader.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
diff --git a/samples/D3D12/src/Viewer.cpp b/samples/D3D12/src/Viewer.cpp
index 2ad4761..f7a7ffb 100644
--- a/samples/D3D12/src/Viewer.cpp
+++ b/samples/D3D12/src/Viewer.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008-2016, NVIDIA CORPORATION. All rights reserved.
+* Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
@@ -160,17 +160,6 @@ public:
{
CHK(CreateDXGIFactory1(IID_PPV_ARGS(mDxgiFactory.ReleaseAndGetAddressOf())));
-#if _DEBUG
- ID3D12Debug* debug = nullptr;
- D3D12GetDebugInterface(IID_PPV_ARGS(&debug));
- if (debug)
- {
- debug->EnableDebugLayer();
- debug->Release();
- debug = nullptr;
- }
-#endif /* _DEBUG */
-
ZeroMemory(mFenceValues, sizeof(mFenceValues));
ID3D12Device* dev = nullptr;