Moved deprecated attr at beginning of functions

This commit is contained in:
Vladyslav Baranovskyi
2025-02-11 17:34:12 +02:00
parent e976515d82
commit 3c7a883ee8
25 changed files with 49 additions and 47 deletions

View File

@@ -14,8 +14,9 @@ namespace OpenVulkano
* @param entryPoint - the name of the void function in the shader
* @param shaderStage - type of the shader that needs to be compiled
*/
static Array<uint32_t> CompileGLSLToSpirv(const std::string& absPath, bool hasIncludes,
const std::string& incPath = std::string(), const std::string& entryPoint = "main") [[deprecated]]
[[deprecated]] static Array<uint32_t> CompileGLSLToSpirv(const std::string& absPath, bool hasIncludes,
const std::string& incPath = std::string(),
const std::string& entryPoint = "main")
#if defined(HAS_SHADERC)
;
#else