Renable Nvidia Multithreaded Pipeline compile after driver 515 (#91)

This commit is contained in:
niko1point0 2022-08-30 09:58:43 -04:00 committed by GitHub
parent 60074c440d
commit 584938d8f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 7 deletions

View file

@ -547,7 +547,8 @@ private:
uint32 nonCoherentAtomSize = 256;
}limits;
bool debugMarkersSupported = false; // frame debugger is attached
bool debugMarkersSupported = false; // frame debugger is attached
bool disableMultithreadedCompilation = false; // for old nvidia drivers
}m_featureControl{};
static bool CheckDeviceExtensionSupport(const VkPhysicalDevice device, FeatureControl& info);
@ -1012,7 +1013,8 @@ private:
public:
bool useTFViaSSBO() { return m_featureControl.mode.useTFEmulationViaSSBO; };
bool GetDisableMultithreadedCompilation() { return m_featureControl.disableMultithreadedCompilation; }
bool useTFViaSSBO() { return m_featureControl.mode.useTFEmulationViaSSBO; }
bool IsDebugUtilsEnabled() const
{
return m_featureControl.debugMarkersSupported && m_featureControl.instanceExtensions.debug_utils;