Просмотр исходного кода

Enable explicit LOD for array textures with depth compare on SPIR-V (#4892)

gdkchan 2 лет назад
Родитель
Сommit
9205077590
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Instructions.cs

+ 0 - 8
src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Instructions.cs

@@ -1442,14 +1442,6 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Spirv
                 return GetZeroOperationResult(context, texOp, AggregateType.FP32, colorIsVector);
             }
 
-            // This combination is valid, but not available on GLSL.
-            // For now, ignore the LOD level and do a normal sample.
-            // TODO: How to implement it properly?
-            if (hasLodLevel && isArray && isShadow)
-            {
-                hasLodLevel = false;
-            }
-
             int srcIndex = isBindless ? 1 : 0;
 
             SpvInstruction Src(AggregateType type)