From a45baa0e786148f41394fc819108649d8eb6ba3a Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 1 Apr 2022 11:17:54 -0400 Subject: shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-V --- src/shader_recompiler/shader_info.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shader_recompiler/shader_info.h') diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index 9d36bd9eb..c14856dd0 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h @@ -105,6 +105,7 @@ struct ImageDescriptor { using ImageDescriptors = boost::container::small_vector; struct Info { + static constexpr size_t MAX_INDIRECT_CBUFS{16}; static constexpr size_t MAX_CBUFS{18}; static constexpr size_t MAX_SSBOS{32}; -- cgit v1.2.3 From 7d5a38ea6cb692cdeb5565b36b283d1a34d5d27f Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 1 Apr 2022 17:08:40 -0400 Subject: shader_compiler: support const buffer indirect addressing in GLSL --- src/shader_recompiler/shader_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shader_recompiler/shader_info.h') diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index c14856dd0..dca7205c3 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h @@ -105,7 +105,7 @@ struct ImageDescriptor { using ImageDescriptors = boost::container::small_vector; struct Info { - static constexpr size_t MAX_INDIRECT_CBUFS{16}; + static constexpr size_t MAX_INDIRECT_CBUFS{15}; static constexpr size_t MAX_CBUFS{18}; static constexpr size_t MAX_SSBOS{32}; -- cgit v1.2.3 From 1ab771c3adb3e886eef9ed33caef2fa5f8c18205 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 4 Apr 2022 16:44:01 -0400 Subject: shader_recompiler: Decrease indirect cbuf limit to match hardware --- src/shader_recompiler/shader_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shader_recompiler/shader_info.h') diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index dca7205c3..a3a09c71c 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h @@ -105,7 +105,7 @@ struct ImageDescriptor { using ImageDescriptors = boost::container::small_vector; struct Info { - static constexpr size_t MAX_INDIRECT_CBUFS{15}; + static constexpr size_t MAX_INDIRECT_CBUFS{14}; static constexpr size_t MAX_CBUFS{18}; static constexpr size_t MAX_SSBOS{32}; -- cgit v1.2.3