added GetInput at ShaderCreateInfoVertex

This commit is contained in:
2023-03-19 20:17:27 +08:00
parent 159c808dad
commit 703d444cbb
2 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#include<hgl/shadergen/ShaderDescriptorInfo.h>
#include<hgl/graph/VertexAttrib.h>
#include<hgl/graph/VKShaderStage.h>
#include"GLSLCompiler.h"
SHADERGEN_NAMESPACE_BEGIN
@@ -59,4 +60,9 @@ bool ShaderCreateInfoVertex::ProcInput(ShaderCreateInfo *)
return(true);
}
const hgl::graph::ShaderAttributeArray &ShaderCreateInfoVertex::GetInput()const
{
return spv_data->stage_io.input;
}
SHADERGEN_NAMESPACE_END