From fc84455d0d1cb6b9396ba869a17d6f8d4b65ecc6 Mon Sep 17 00:00:00 2001 From: lucy96chen <47800040+lucy96chen@users.noreply.github.com> Date: Wed, 1 Jun 2022 14:33:21 -0700 Subject: 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 --- tools/gfx/vulkan/render-vk.cpp | 89 ------------------------------------------ 1 file changed, 89 deletions(-) delete mode 100644 tools/gfx/vulkan/render-vk.cpp (limited to 'tools/gfx/vulkan/render-vk.cpp') 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 -# pragma warning(disable : 4996) -# if (_MSC_VER < 1900) -# define snprintf sprintf_s -# endif -#endif - -#if SLANG_WINDOWS_FAMILY -# include -#endif - -namespace gfx -{ -using namespace Slang; - -namespace vk -{ -namespace -{ - -} // namespace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -} // namespace vk - - - -} // namespace gfx -- cgit v1.2.3