mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
GPU: The base format of *_EXPAND textures is *_FLOAT
This commit is contained in:
parent
e758e87587
commit
1eac03a11c
1 changed files with 3 additions and 3 deletions
|
|
@ -92,11 +92,11 @@ inline TextureFormat GetBaseFormat(TextureFormat texture_format) {
|
|||
// These formats are used for resampling textures / gamma control.
|
||||
switch (texture_format) {
|
||||
case TextureFormat::k_16_EXPAND:
|
||||
return TextureFormat::k_16;
|
||||
return TextureFormat::k_16_FLOAT;
|
||||
case TextureFormat::k_16_16_EXPAND:
|
||||
return TextureFormat::k_16_16;
|
||||
return TextureFormat::k_16_16_FLOAT;
|
||||
case TextureFormat::k_16_16_16_16_EXPAND:
|
||||
return TextureFormat::k_16_16_16_16;
|
||||
return TextureFormat::k_16_16_16_16_FLOAT;
|
||||
case TextureFormat::k_8_8_8_8_AS_16_16_16_16:
|
||||
return TextureFormat::k_8_8_8_8;
|
||||
case TextureFormat::k_DXT1_AS_16_16_16_16:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue