mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-16 09:40:46 -04: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