diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-18 06:07:01 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-21 22:32:48 +0200 |
commit | 675f23aedc9a3a99925068e952cbcb3faf88296a (patch) | |
tree | 01b3101c3837428903bb91f29d02fa2c099468a6 /src/video_core/shader/node.h | |
parent | shader_bytecode: Add SULD encoding (diff) | |
download | yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.gz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.bz2 yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.lz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.xz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.zst yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/node.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index abf2cb1ab..e5b75783d 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h @@ -149,7 +149,8 @@ enum class OperationCode { TextureQueryLod, /// (MetaTexture, float[N] coords) -> float4 TexelFetch, /// (MetaTexture, int[N], int) -> float4 - ImageStore, /// (MetaImage, int[N] values) -> void + ImageLoad, /// (MetaImage, int[N] coords) -> void + ImageStore, /// (MetaImage, int[N] coords) -> void AtomicImageAdd, /// (MetaImage, int[N] coords) -> void AtomicImageMin, /// (MetaImage, int[N] coords) -> void AtomicImageMax, /// (MetaImage, int[N] coords) -> void @@ -402,6 +403,7 @@ struct MetaTexture { struct MetaImage { const Image& image; std::vector<Node> values; + u32 element{}; }; /// Parameters that modify an operation but are not part of any particular operand |