diff --git a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs index af8032d0..654970cf 100644 --- a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs +++ b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs @@ -4131,6 +4131,7 @@ internal static unsafe class VulkanVideoPresenter ShaderStorageImageExtendedFormats = supportedFeatures.ShaderStorageImageExtendedFormats, ShaderStorageImageReadWithoutFormat = supportedFeatures.ShaderStorageImageReadWithoutFormat, ShaderStorageImageWriteWithoutFormat = supportedFeatures.ShaderStorageImageWriteWithoutFormat, + TextureCompressionBC = supportedFeatures.TextureCompressionBC, RobustBufferAccess = supportedFeatures.RobustBufferAccess, }; @@ -4170,6 +4171,13 @@ internal static unsafe class VulkanVideoPresenter "translated shaders using unformatted storage image load/store will fail."); } + if (!supportedFeatures.TextureCompressionBC) + { + Console.Error.WriteLine( + "[LOADER][WARN] GPU does not support textureCompressionBC " + + "guest BC1-BC7 textures cannot be sampled directly."); + } + var maintenance8Features = new PhysicalDeviceMaintenance8FeaturesKHR { SType = StructureType.PhysicalDeviceMaintenance8FeaturesKhr,