vk_pipeline_cache: Add fallbacks for R8Srgb and B5G6R5 (#3264)

* vk_pipeline_cache: Add fallbacks for R8Srgb and B5G6R5

* blit_helper: Fix validation error

* renderer_vulkan: Emulate B5G6R5 with swizzle
This commit is contained in:
TheTurtle
2025-07-18 12:25:07 +03:00
committed by GitHub
parent 3019bfb978
commit b56039b15a
12 changed files with 39 additions and 32 deletions

View File

@@ -171,6 +171,7 @@ enum class MrtSwizzle : u8 {
static constexpr u32 MaxColorBuffers = 8;
struct PsColorBuffer {
AmdGpu::DataFormat data_format : 6;
AmdGpu::NumberFormat num_format : 4;
AmdGpu::NumberConversion num_conversion : 3;
AmdGpu::Liverpool::ShaderExportFormat export_format : 4;