Layout codes

This commit is contained in:
hyzboy 2024-06-21 13:09:20 +08:00
parent 1b5d4aabb0
commit a22e802c77
2 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@ namespace material_file
SVList output;
VertexShaderData():ShaderData(VK_SHADER_STAGE_VERTEX_BIT){}
public:
void AddOutput(const ShaderVariable &sv){output.Add(sv);}
@ -92,7 +92,7 @@ namespace material_file
public:
GeometryShaderData():ShaderData(VK_SHADER_STAGE_GEOMETRY_BIT){}
public:
void AddOutput(const ShaderVariable &sv){output.Add(sv);}

View File

@ -430,11 +430,11 @@ namespace
struct VertexInputBlockParse:public TextParse
{
List<VIA> *via_list=nullptr;
VIAList *via_list=nullptr;
public:
VertexInputBlockParse(List<VIA> *ual)
VertexInputBlockParse(VIAList *ual)
{
via_list=ual;
}
@ -485,7 +485,7 @@ namespace
shader_data->code_length=code_parse.end-code_parse.start;
}
return(true);
return(true);
}
if(output)