Merge pull request #1913 from italomandara/update-spirv-cross-revision
Update SPIRV-Cross revision to fix explicit LOD workaround regression
This commit is contained in:
commit
1a386e0493
@ -1 +1 @@
|
||||
3550a54ae01b295c40ce972d951b420b388b9401
|
||||
34cd230e5e22d08869be878055a2267ba66cc601
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user