|
|
@ -113,7 +113,7 @@ namespace FidelityFX |
|
|
kernelIndex = shaderRef.FindKernel("CS"); |
|
|
kernelIndex = shaderRef.FindKernel("CS"); |
|
|
|
|
|
|
|
|
bool useLut = false; |
|
|
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) |
|
|
if (SystemInfo.computeSubGroupSize == 64) |
|
|
{ |
|
|
{ |
|
|
useLut = true; |
|
|
useLut = true; |
|
|
|