Add support for loading compiled Slang shaders

This commit is contained in:
Sascha Willems 2025-02-06 21:25:43 +01:00
parent 3ecc0d2e1f
commit a87dfde9cc
5 changed files with 16 additions and 13 deletions

View file

@ -1,7 +1,7 @@
/*
* Vulkan Example base class
*
* Copyright (C) 2016-2024 by Sascha Willems - www.saschawillems.de
* Copyright (C) 2016-2025 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
@ -92,7 +92,7 @@ private:
void destroyCommandBuffers();
std::string shaderDir = "glsl";
protected:
// Returns the path to the root of the glsl or hlsl shader directory.
// Returns the path to the root of the glsl, hlsl or slang shader directory.
std::string getShadersPath() const;
// Frame counter to display fps