Browse Source

More accurate representation of where SystemInfo.computeSubGroupSize is available

mac-autoexp
Nico de Poel 3 years ago
parent
commit
47d40fb71d
  1. 2
      Assets/Scripts/Core/Fsr2Pipeline.cs

2
Assets/Scripts/Core/Fsr2Pipeline.cs

@ -113,7 +113,7 @@ namespace FidelityFX
kernelIndex = shaderRef.FindKernel("CS");
bool useLut = false;
#if UNITY_2020_3_OR_NEWER
#if UNITY_2022_1_OR_NEWER // This will also work in 2020.3.43+ and 2021.3.14+
if (SystemInfo.computeSubGroupSize == 64)
{
useLut = true;

Loading…
Cancel
Save