summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2022-12-02 16:08:12 -0300
committerGitHub <noreply@github.com>2022-12-02 16:08:12 -0300
commit9a5d8b356ac784fcfbdfaeecaea8b7e6f36f6898 (patch)
tree0ec82d6d1d694868d93d021cc78e55d07c151828 /src/shader_recompiler/shader_info.h
parentd8bd52c6f10f6fcc7629063d77c83671bd99f2cd (diff)
parent3ef006b5abbe78bb2ae423a7cab74d7da2f8bc08 (diff)
Merge pull request #9363 from liamwhite/gs
shader_recompiler: add gl_Layer translation GS for older hardware
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-rw-r--r--src/shader_recompiler/shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index ee6252bb5..d9c6e92db 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -204,6 +204,9 @@ struct Info {
u32 nvn_buffer_base{};
std::bitset<16> nvn_buffer_used{};
+ bool requires_layer_emulation{};
+ IR::Attribute emulated_layer{};
+
boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS>
constant_buffer_descriptors;
boost::container::static_vector<StorageBufferDescriptor, MAX_SSBOS> storage_buffers_descriptors;