Moved deprecated attr at beginning of functions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user