mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-01 06:10:42 +00:00
- update comment on SSBOs.
This commit is contained in:
parent
cffe67dcee
commit
7537f415ce
2 changed files with 3 additions and 4 deletions
|
@ -179,12 +179,10 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
// Hack alert: On Intel's GL driver SSBO's perform quite worse than UBOs.
|
||||
// We only want to disable using SSBOs for lights but not disable the feature entirely.
|
||||
// Note that using an uniform buffer here will limit the number of lights per surface so it isn't done for NVidia and AMD.
|
||||
// SSBOs have quite worse performance for read only data, so keep this around only as long as Vulkan has not been adapted yet.
|
||||
bool useSSBO()
|
||||
{
|
||||
return IsVulkan();// || ((hwcaps & RFL_SHADER_STORAGE_BUFFER) && allowSSBO() && !strstr(vendorstring, "Intel"));
|
||||
return IsVulkan();
|
||||
}
|
||||
|
||||
virtual DCanvas* GetCanvas() { return nullptr; }
|
||||
|
|
|
@ -794,6 +794,7 @@ void MapLoader::SpawnSpecials ()
|
|||
// This also cannot consider lifts triggered by scripts etc.
|
||||
case Generic_Lift:
|
||||
if (line.args[3] != 1) continue;
|
||||
[[fallthrough]];
|
||||
case Plat_DownWaitUpStay:
|
||||
case Plat_DownWaitUpStayLip:
|
||||
case Plat_UpWaitDownStay:
|
||||
|
|
Loading…
Reference in a new issue