1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 14:06:31 -05:00

shader: Better interpolation and disabled attributes support

This commit is contained in:
ReinUsesLisp
2021-03-27 04:59:58 -03:00
committed by ameerj
parent 675a82416d
commit dbd882ddeb
9 changed files with 101 additions and 25 deletions

View File

@@ -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) {