GPU: Enable shader interface check for geometry shader fallback

This commit is contained in:
Clément Foucault
2024-11-05 11:08:02 +01:00
parent 2c9e7676a3
commit 118ca96c8a

View File

@@ -287,12 +287,6 @@ std::string ShaderCreateInfo::check_error() const
return error;
}
/*
* The next check has been disabled. 'eevee_legacy_surface_common_iface' is known to fail.
* The check was added to validate if shader would be able to compile on Vulkan.
* TODO(jbakker): Enable the check after EEVEE is replaced by EEVEE-Next.
*/
#if 0
if (bool(this->builtins_ &
(BuiltinBits::BARYCENTRIC_COORD | BuiltinBits::VIEWPORT_INDEX | BuiltinBits::LAYER)))
{
@@ -304,7 +298,6 @@ std::string ShaderCreateInfo::check_error() const
}
}
}
#endif
if (!this->is_vulkan_compatible()) {
error += this->name_ +