From ed2f5ede0f8d8f58390745f5e237bbfea36397fe Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 24 Jun 2021 19:54:50 -0300 Subject: Fix texture sampling with depth compare and LOD level or bias (#2404) * Fix texture sampling with depth compare and LOD level or bias * Shader cache version bump * nit: Sorting --- Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs') diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs index 2e993ef0..4471fa32 100644 --- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs +++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs @@ -20,6 +20,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl context.AppendLine("#extension GL_ARB_shader_ballot : enable"); context.AppendLine("#extension GL_ARB_shader_group_vote : enable"); context.AppendLine("#extension GL_EXT_shader_image_load_formatted : enable"); + context.AppendLine("#extension GL_EXT_texture_shadow_lod : enable"); if (context.Config.Stage == ShaderStage.Compute) { @@ -32,7 +33,6 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl } context.AppendLine("#pragma optionNV(fastmath off)"); - context.AppendLine(); context.AppendLine($"const int {DefaultNames.UndefinedName} = 0;"); -- cgit v1.2.3