moved few values to VKRenderAssign.h

This commit is contained in:
2023-09-06 16:55:04 +08:00
parent 202bff5870
commit d959e7988d
5 changed files with 10 additions and 26 deletions

View File

@@ -2,6 +2,7 @@
#include<hgl/shadergen/ShaderDescriptorInfo.h>
#include<hgl/graph/VertexAttrib.h>
#include<hgl/graph/VKShaderStage.h>
#include<hgl/graph/VKRenderAssign.h>
#include"GLSLCompiler.h"
#include"common/MFCommon.h"
@@ -39,9 +40,10 @@ void ShaderCreateInfoVertex::AddJoint()
void ShaderCreateInfoVertex::AddAssign()
{
char name[]="Assign";
AddInput(VAT_UINT,name,VK_VERTEX_INPUT_RATE_INSTANCE,VertexInputGroup::Assign);
AddInput( ASSIGN_VAT_FMT,
ASSIGN_VIS_NAME,
VK_VERTEX_INPUT_RATE_INSTANCE,
VertexInputGroup::Assign);
AddFunction(mtl::func::GetLocalToWorld);
}