VideoCore: Corrections to the MME Inliner and removal of hacky instance management.

This commit is contained in:
Fernando Sahmkow
2019-09-15 14:25:07 -04:00
committed by FernandoS27
parent ba02d564f8
commit 7606da5611
6 changed files with 81 additions and 31 deletions

View File

@ -124,6 +124,14 @@ public:
return uses_point_size;
}
bool UsesInstanceId() const {
return uses_instance_id;
}
bool UsesVertexId() const {
return uses_vertex_id;
}
bool HasPhysicalAttributes() const {
return uses_physical_attributes;
}
@ -373,6 +381,8 @@ private:
bool uses_viewport_index{};
bool uses_point_size{};
bool uses_physical_attributes{}; // Shader uses AL2P or physical attribute read/writes
bool uses_instance_id{};
bool uses_vertex_id{};
Tegra::Shader::Header header;
};