mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
vk: Improved crash message for missing MSAA features
This commit is contained in:
parent
8ed45a0553
commit
6b3af09fa5
@ -794,6 +794,14 @@ private:
|
|||||||
if (g_cfg.video.antialiasing_level != msaa_level::none)
|
if (g_cfg.video.antialiasing_level != msaa_level::none)
|
||||||
{
|
{
|
||||||
// MSAA features
|
// MSAA features
|
||||||
|
if (!pgpu->features.shaderStorageImageMultisample ||
|
||||||
|
!pgpu->features.shaderStorageImageWriteWithoutFormat)
|
||||||
|
{
|
||||||
|
// TODO: Slow fallback to emulate this
|
||||||
|
// Just warn and let the driver decide whether to crash or not
|
||||||
|
LOG_FATAL(RSX, "Your GPU driver does not support some required MSAA features. Expect problems.");
|
||||||
|
}
|
||||||
|
|
||||||
enabled_features.alphaToOne = VK_TRUE;
|
enabled_features.alphaToOne = VK_TRUE;
|
||||||
enabled_features.shaderStorageImageMultisample = VK_TRUE;
|
enabled_features.shaderStorageImageMultisample = VK_TRUE;
|
||||||
// enabled_features.shaderStorageImageReadWithoutFormat = VK_TRUE; // Unused currently, may be needed soon
|
// enabled_features.shaderStorageImageReadWithoutFormat = VK_TRUE; // Unused currently, may be needed soon
|
||||||
|
Loading…
Reference in New Issue
Block a user