Add support for loading compiled Slang shaders
This commit is contained in:
parent
3ecc0d2e1f
commit
a87dfde9cc
5 changed files with 16 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue