mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 18:07:57 -05:00
shader: Implement PrimitiveId
This commit is contained in:
@ -34,6 +34,9 @@ void GetAttribute(Info& info, IR::Attribute attribute) {
|
||||
return;
|
||||
}
|
||||
switch (attribute) {
|
||||
case IR::Attribute::PrimitiveId:
|
||||
info.loads_primitive_id = true;
|
||||
break;
|
||||
case IR::Attribute::PositionX:
|
||||
case IR::Attribute::PositionY:
|
||||
case IR::Attribute::PositionZ:
|
||||
|
Reference in New Issue
Block a user