mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 00:47:56 -05:00
shader: Add partial rasterizer integration
This commit is contained in:
@ -13,7 +13,7 @@ bool IsGeneric(Attribute attribute) noexcept {
|
||||
return attribute >= Attribute::Generic0X && attribute <= Attribute::Generic31X;
|
||||
}
|
||||
|
||||
int GenericAttributeIndex(Attribute attribute) {
|
||||
u32 GenericAttributeIndex(Attribute attribute) {
|
||||
if (!IsGeneric(attribute)) {
|
||||
throw InvalidArgument("Attribute is not generic {}", attribute);
|
||||
}
|
||||
|
Reference in New Issue
Block a user