summaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-11-12 10:07:22 -0400
committerGravatar FernandoS272019-11-14 11:15:27 -0400
commitf3d1b370aa0fd614cf28f8a609b70906d40da751 (patch)
tree028b5f4b34c30d477e6989b49540db508a8db075 /src/video_core/shader/node.h
parentShader_Bytecode: Add encodings for FLO, SHF and TXD (diff)
downloadyuzu-f3d1b370aa0fd614cf28f8a609b70906d40da751.tar.gz
yuzu-f3d1b370aa0fd614cf28f8a609b70906d40da751.tar.xz
yuzu-f3d1b370aa0fd614cf28f8a609b70906d40da751.zip
Shader_IR: Implement FLO instruction.
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 54217e6a4..2d11facaf 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -68,6 +68,7 @@ enum class OperationCode {
68 IBitfieldInsert, /// (MetaArithmetic, int base, int insert, int offset, int bits) -> int 68 IBitfieldInsert, /// (MetaArithmetic, int base, int insert, int offset, int bits) -> int
69 IBitfieldExtract, /// (MetaArithmetic, int value, int offset, int offset) -> int 69 IBitfieldExtract, /// (MetaArithmetic, int value, int offset, int offset) -> int
70 IBitCount, /// (MetaArithmetic, int) -> int 70 IBitCount, /// (MetaArithmetic, int) -> int
71 IBitMSB, /// (MetaArithmetic, int) -> int
71 72
72 UAdd, /// (MetaArithmetic, uint a, uint b) -> uint 73 UAdd, /// (MetaArithmetic, uint a, uint b) -> uint
73 UMul, /// (MetaArithmetic, uint a, uint b) -> uint 74 UMul, /// (MetaArithmetic, uint a, uint b) -> uint
@@ -86,6 +87,7 @@ enum class OperationCode {
86 UBitfieldInsert, /// (MetaArithmetic, uint base, uint insert, int offset, int bits) -> uint 87 UBitfieldInsert, /// (MetaArithmetic, uint base, uint insert, int offset, int bits) -> uint
87 UBitfieldExtract, /// (MetaArithmetic, uint value, int offset, int offset) -> uint 88 UBitfieldExtract, /// (MetaArithmetic, uint value, int offset, int offset) -> uint
88 UBitCount, /// (MetaArithmetic, uint) -> uint 89 UBitCount, /// (MetaArithmetic, uint) -> uint
90 UBitMSB, /// (MetaArithmetic, uint) -> uint
89 91
90 HAdd, /// (MetaArithmetic, f16vec2 a, f16vec2 b) -> f16vec2 92 HAdd, /// (MetaArithmetic, f16vec2 a, f16vec2 b) -> f16vec2
91 HMul, /// (MetaArithmetic, f16vec2 a, f16vec2 b) -> f16vec2 93 HMul, /// (MetaArithmetic, f16vec2 a, f16vec2 b) -> f16vec2