mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-02 22:30:39 +00:00
vk: Improved crash message for missing MSAA features
This commit is contained in:
parent
8ed45a0553
commit
6b3af09fa5
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue