diff options
| author | 2023-05-20 17:15:36 -0400 | |
|---|---|---|
| committer | 2023-05-23 12:54:40 -0400 | |
| commit | 415c78b87c008f0d963679ea9bc06c8aa566b506 (patch) | |
| tree | 11e6a5d2211a99660a48678059c703e849c06da3 /src/common/settings.h | |
| parent | Merge pull request #10392 from danilaml/update-cubeb-again (diff) | |
| download | yuzu-415c78b87c008f0d963679ea9bc06c8aa566b506.tar.gz yuzu-415c78b87c008f0d963679ea9bc06c8aa566b506.tar.xz yuzu-415c78b87c008f0d963679ea9bc06c8aa566b506.zip | |
textures: add BC1 and BC3 compressors and recompression setting
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 36ffcd693..7f865b2a7 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -90,6 +90,12 @@ enum class AntiAliasing : u32 { | |||
| 90 | LastAA = Smaa, | 90 | LastAA = Smaa, |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | enum class AstcRecompression : u32 { | ||
| 94 | Uncompressed = 0, | ||
| 95 | Bc1 = 1, | ||
| 96 | Bc3 = 2, | ||
| 97 | }; | ||
| 98 | |||
| 93 | struct ResolutionScalingInfo { | 99 | struct ResolutionScalingInfo { |
| 94 | u32 up_scale{1}; | 100 | u32 up_scale{1}; |
| 95 | u32 down_shift{0}; | 101 | u32 down_shift{0}; |
| @@ -473,6 +479,9 @@ struct Values { | |||
| 473 | SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true, | 479 | SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true, |
| 474 | "use_vulkan_driver_pipeline_cache"}; | 480 | "use_vulkan_driver_pipeline_cache"}; |
| 475 | SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"}; | 481 | SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"}; |
| 482 | SwitchableSetting<AstcRecompression, true> astc_recompression{ | ||
| 483 | AstcRecompression::Uncompressed, AstcRecompression::Uncompressed, AstcRecompression::Bc3, | ||
| 484 | "astc_recompression"}; | ||
| 476 | 485 | ||
| 477 | SwitchableSetting<u8> bg_red{0, "bg_red"}; | 486 | SwitchableSetting<u8> bg_red{0, "bg_red"}; |
| 478 | SwitchableSetting<u8> bg_green{0, "bg_green"}; | 487 | SwitchableSetting<u8> bg_green{0, "bg_green"}; |