summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-21 00:48:45 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:28 +0200
commitdd860b684c7695097107c1186e96a70e754e5990 (patch)
tree14cbd25c655798f846b75582d5364aef0508f8b0 /src/shader_recompiler/shader_info.h
parentshader: Add constant propagation for arithmetic right shifts (diff)
downloadyuzu-dd860b684c7695097107c1186e96a70e754e5990.tar
yuzu-dd860b684c7695097107c1186e96a70e754e5990.tar.gz
yuzu-dd860b684c7695097107c1186e96a70e754e5990.tar.bz2
yuzu-dd860b684c7695097107c1186e96a70e754e5990.tar.lz
yuzu-dd860b684c7695097107c1186e96a70e754e5990.tar.xz
yuzu-dd860b684c7695097107c1186e96a70e754e5990.tar.zst
yuzu-dd860b684c7695097107c1186e96a70e754e5990.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/shader_info.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index 50b4d1c05..0f45bdfb6 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -61,8 +61,11 @@ struct StorageBufferDescriptor {
};
struct TextureBufferDescriptor {
+ bool has_secondary;
u32 cbuf_index;
u32 cbuf_offset;
+ u32 secondary_cbuf_index;
+ u32 secondary_cbuf_offset;
u32 count;
};
using TextureBufferDescriptors = boost::container::small_vector<TextureBufferDescriptor, 6>;
@@ -79,8 +82,11 @@ using ImageBufferDescriptors = boost::container::small_vector<ImageBufferDescrip
struct TextureDescriptor {
TextureType type;
bool is_depth;
+ bool has_secondary;
u32 cbuf_index;
u32 cbuf_offset;
+ u32 secondary_cbuf_index;
+ u32 secondary_cbuf_offset;
u32 count;
};
using TextureDescriptors = boost::container::small_vector<TextureDescriptor, 12>;