TextureConversionShader: Consider source format of EFB for EFB2RAM

Currently, we use the alpha channel from the EFB even if the current
format does not include an alpha channel. Now, the alpha channel is set
to 1 if the format does not have an alpha channel, as well as truncating
to 5/6 bits per channel. This matches the EFB-to-texture behavior.
This commit is contained in:
Stenzek
2017-04-12 00:11:22 +10:00
parent 4e90c5da8b
commit 3847e226ab
3 changed files with 150 additions and 101 deletions
File diff suppressed because it is too large Load Diff