Minor formatting updates.
This commit is contained in:
@@ -25,12 +25,12 @@ struct {{camel_case(shader_name)}}{{camel_case(shader_stage)}}Info {
|
||||
{% for stage_input in stage_inputs %}
|
||||
// Stage input {{stage_input.name}}
|
||||
static constexpr ShaderStageInput kInput{{camel_case(stage_input.name)}} = {
|
||||
"{{stage_input.name}}", // name
|
||||
{{stage_input.location}}u, // attribute location
|
||||
{{stage_input.type.type_name}}, // type
|
||||
{{stage_input.type.bit_width}}u, // bit width
|
||||
{{stage_input.type.vec_size}}u, // vec size
|
||||
{{stage_input.type.columns}}u // number of columns
|
||||
"{{stage_input.name}}", // name
|
||||
{{stage_input.location}}u, // attribute location
|
||||
{{stage_input.type.type_name}}, // type
|
||||
{{stage_input.type.bit_width}}u, // bit width of type
|
||||
{{stage_input.type.vec_size}}u, // vec size
|
||||
{{stage_input.type.columns}}u // number of columns
|
||||
};
|
||||
{% endfor %}
|
||||
}; // struct {{camel_case(shader_name)}}{{camel_case(shader_stage)}}Info
|
||||
|
||||
@@ -18,6 +18,7 @@ struct Position {
|
||||
in vec3 vertexPosition;
|
||||
in vec3 vertexColor;
|
||||
in dvec4 hello;
|
||||
in dmat4x2 hello12;
|
||||
in uvec4 hello2;
|
||||
|
||||
out vec3 color;
|
||||
|
||||
Reference in New Issue
Block a user