.. _program_listing_file_Src_GraphicsEngineVulkan_common_Utilities.hpp: Program Listing for File Utilities.hpp ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``Src/GraphicsEngineVulkan/common/Utilities.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include "hostDevice/host_device_shared_vars.hpp" #include namespace Kataglyphis { // Error checking on vulkan function calls #define ASSERT_VULKAN(val, error_string) \ if (val != VK_SUCCESS) { spdlog::error(error_string); } #define NOT_YET_IMPLEMENTED spdlog::error("Not yet implemented!"); #ifdef NDEBUG const bool ENABLE_VALIDATION_LAYERS = false; #else const bool ENABLE_VALIDATION_LAYERS = true; #endif }// namespace Kataglyphis