shader: Implement PrimitiveId

This commit is contained in:
ReinUsesLisp 2021-04-16 01:55:06 -03:00 committed by ameerj
parent 183855e396
commit b0f1255c8c
5 changed files with 10 additions and 0 deletions

View file

@ -107,6 +107,7 @@ struct Info {
std::array<bool, 30> uses_patches{};
std::array<InputVarying, 32> input_generics{};
bool loads_primitive_id{};
bool loads_position{};
bool loads_instance_id{};
bool loads_vertex_id{};