Layout codes
This commit is contained in:
parent
1b5d4aabb0
commit
a22e802c77
@ -75,7 +75,7 @@ namespace material_file
|
|||||||
SVList output;
|
SVList output;
|
||||||
|
|
||||||
VertexShaderData():ShaderData(VK_SHADER_STAGE_VERTEX_BIT){}
|
VertexShaderData():ShaderData(VK_SHADER_STAGE_VERTEX_BIT){}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
void AddOutput(const ShaderVariable &sv){output.Add(sv);}
|
void AddOutput(const ShaderVariable &sv){output.Add(sv);}
|
||||||
@ -92,7 +92,7 @@ namespace material_file
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
GeometryShaderData():ShaderData(VK_SHADER_STAGE_GEOMETRY_BIT){}
|
GeometryShaderData():ShaderData(VK_SHADER_STAGE_GEOMETRY_BIT){}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
void AddOutput(const ShaderVariable &sv){output.Add(sv);}
|
void AddOutput(const ShaderVariable &sv){output.Add(sv);}
|
||||||
|
@ -430,11 +430,11 @@ namespace
|
|||||||
|
|
||||||
struct VertexInputBlockParse:public TextParse
|
struct VertexInputBlockParse:public TextParse
|
||||||
{
|
{
|
||||||
List<VIA> *via_list=nullptr;
|
VIAList *via_list=nullptr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
VertexInputBlockParse(List<VIA> *ual)
|
VertexInputBlockParse(VIAList *ual)
|
||||||
{
|
{
|
||||||
via_list=ual;
|
via_list=ual;
|
||||||
}
|
}
|
||||||
@ -485,7 +485,7 @@ namespace
|
|||||||
shader_data->code_length=code_parse.end-code_parse.start;
|
shader_data->code_length=code_parse.end-code_parse.start;
|
||||||
}
|
}
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(output)
|
if(output)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user