Revert "Allow to disable Explicit LOD Workaround"

This reverts commit 6f3a2b709fbfcfdf7dc077b80b12f02463cc07b1.
This commit is contained in:
Italo Mandara 2023-05-21 00:27:16 +01:00
parent 6c633a7a18
commit 0125e5b739
2 changed files with 1 additions and 6 deletions

View File

@ -1651,7 +1651,7 @@ void MVKPhysicalDevice::initMetalFeatures() {
break;
case kAppleVendorId:
// TODO: Other GPUs?
MVK_SET_FROM_ENV_OR_BUILD_BOOL(_metalFeatures.needsSampleDrefLodArrayWorkaround, MVK_ENABLE_EXPLICIT_LOD_WORKAROUND);
_metalFeatures.needsSampleDrefLodArrayWorkaround = true;
// fallthrough
case kIntelVendorId:
case kNVVendorId:

View File

@ -295,8 +295,3 @@ void mvkSetConfig(const MVKConfiguration& mvkConfig);
#ifndef MVK_CONFIG_SHADER_COMPRESSION_ALGORITHM
# define MVK_CONFIG_SHADER_COMPRESSION_ALGORITHM MVK_CONFIG_COMPRESSION_ALGORITHM_NONE
#endif
/** Enables Explicit LOD workaround defaults to true. */
#ifndef MVK_ENABLE_EXPLICIT_LOD_WORKAROUND
# define MVK_ENABLE_EXPLICIT_LOD_WORKAROUND 1
#endif