amdgpu: Handle 8-bit float format case for stencil. (#2092)

This commit is contained in:
squidbus 2025-01-10 00:49:08 -08:00 committed by GitHub
parent 725814ce01
commit 4563b6379d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 4 deletions

View file

@ -899,7 +899,8 @@ struct Liverpool {
// There is a small difference between T# and CB number types, account for it.
return RemapNumberFormat(info.number_type == NumberFormat::SnormNz
? NumberFormat::Srgb
: info.number_type.Value());
: info.number_type.Value(),
info.format);
}
[[nodiscard]] NumberConversion GetNumberConversion() const {