vk: Support sw component swizzle decode because metal sucks

This commit is contained in:
kd-11 2018-08-22 14:18:45 +03:00 committed by kd-11
parent f3d3a1a4a5
commit c6e35706a3
8 changed files with 108 additions and 32 deletions

View file

@ -2060,7 +2060,10 @@ namespace rsx
}
}
result.texture_scale[i][3] = (f32)texture_control;
#ifdef __APPLE__
texture_control |= (sampler_descriptors[i]->encoded_component_map() << 16);
#endif
result.texture_scale[i][3] = (f32&)texture_control;
}
}