mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 12:57:57 -05:00
VideoCore: Corrections to the MME Inliner and removal of hacky instance management.
This commit is contained in:
committed by
FernandoS27
parent
ba02d564f8
commit
7606da5611
@ -114,6 +114,18 @@ Node ShaderIR::GetOutputAttribute(Attribute::Index index, u64 element, Node buff
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (index == Attribute::Index::TessCoordInstanceIDVertexID) {
|
||||
switch (element) {
|
||||
case 2:
|
||||
uses_instance_id = true;
|
||||
break;
|
||||
case 3:
|
||||
uses_vertex_id = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (index == Attribute::Index::ClipDistances0123 ||
|
||||
index == Attribute::Index::ClipDistances4567) {
|
||||
const auto clip_index =
|
||||
|
Reference in New Issue
Block a user