mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 03:48:22 -05:00
shader: Better interpolation and disabled attributes support
This commit is contained in:
@ -28,7 +28,7 @@ void AddConstantBufferDescriptor(Info& info, u32 index, u32 count) {
|
||||
|
||||
void GetAttribute(Info& info, IR::Attribute attribute) {
|
||||
if (IR::IsGeneric(attribute)) {
|
||||
info.loads_generics.at(IR::GenericAttributeIndex(attribute)) = true;
|
||||
info.input_generics.at(IR::GenericAttributeIndex(attribute)).used = true;
|
||||
return;
|
||||
}
|
||||
switch (attribute) {
|
||||
|
Reference in New Issue
Block a user