diff options
| author | lucy96chen <47800040+lucy96chen@users.noreply.github.com> | 2022-06-01 14:33:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-01 14:33:21 -0700 |
| commit | fc84455d0d1cb6b9396ba869a17d6f8d4b65ecc6 (patch) | |
| tree | 21465f7fb11efc7329a754c5418126dd8c3906e6 /tools/gfx/vulkan/render-vk.cpp | |
| parent | 393ce4f746c6697442a3a61debd12101fbe4e9db (diff) | |
Vulkan validation error fixes (#2254)
* Fixed Vulkan validation errors for incorrect layer counts and view types in Debug
* Removed old (and empty) render-vk files; Ran premake.bat
Diffstat (limited to 'tools/gfx/vulkan/render-vk.cpp')
| -rw-r--r-- | tools/gfx/vulkan/render-vk.cpp | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp deleted file mode 100644 index 83b9e979b..000000000 --- a/tools/gfx/vulkan/render-vk.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// render-vk.cpp -#include "render-vk.h" -#include "core/slang-blob.h" -#include "vk-util.h" - -// Vulkan has a different coordinate system to ogl -// http://anki3d.org/vulkan-coordinate-system/ -#ifndef ENABLE_VALIDATION_LAYER -# if _DEBUG -# define ENABLE_VALIDATION_LAYER 1 -# else -# define ENABLE_VALIDATION_LAYER 0 -# endif -#endif - -#ifdef _MSC_VER -# include <stddef.h> -# pragma warning(disable : 4996) -# if (_MSC_VER < 1900) -# define snprintf sprintf_s -# endif -#endif - -#if SLANG_WINDOWS_FAMILY -# include <dxgi1_2.h> -#endif - -namespace gfx -{ -using namespace Slang; - -namespace vk -{ -namespace -{ - -} // namespace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -} // namespace vk - - - -} // namespace gfx |
