mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Correct Adreno texture binding quirk
We incorrectly determined an Adreno driver bug to require padding between binding slots but the real issue was not supporting consecutive binding writes for `VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER` and was fixed by the padding slot unintentionally requiring individual writes. The quirk has now been corrected to explicitly specify this as the bug and the solution is more apt.
This commit is contained in:
@ -130,7 +130,7 @@ namespace skyline::gpu {
|
||||
TraitManager::QuirkManager::QuirkManager(const vk::PhysicalDeviceProperties &deviceProperties, const vk::PhysicalDeviceDriverProperties &driverProperties) {
|
||||
switch (driverProperties.driverID) {
|
||||
case vk::DriverId::eQualcommProprietary: {
|
||||
needsTextureBindingPadding = true;
|
||||
needsIndividualTextureBindingWrites = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -141,8 +141,8 @@ namespace skyline::gpu {
|
||||
|
||||
std::string TraitManager::QuirkManager::Summary() {
|
||||
return fmt::format(
|
||||
"\n* Needs Texture Binding Padding: {}",
|
||||
needsTextureBindingPadding
|
||||
"\n* Needs Individual Texture Binding Writes: {}",
|
||||
needsIndividualTextureBindingWrites
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user