diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-23 05:33:47 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:52 +0100 |
commit | 027f443e699652fc30a849efaf8c12725a7b5729 (patch) | |
tree | 10f5c18227a20ce4cf9295107ee16e310e0d41da /src/video_core/shader/shader_ir.h | |
parent | shader_decode: Implement TLDS (untested) (diff) | |
download | yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar.gz yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar.bz2 yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar.lz yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar.xz yuzu-027f443e699652fc30a849efaf8c12725a7b5729.tar.zst yuzu-027f443e699652fc30a849efaf8c12725a7b5729.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 231f58f6a..ccdf316ac 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -89,6 +89,7 @@ enum class OperationCode { IBitwiseXor, /// (MetaArithmetic, int a, int b) -> int IBitwiseNot, /// (MetaArithmetic, int a) -> int IBitfieldInsert, /// (MetaArithmetic, int base, int insert, int offset, int bits) -> int + IBitCount, /// (MetaArithmetic, int) -> int UAdd, /// (MetaArithmetic, uint a, uint b) -> uint UMul, /// (MetaArithmetic, uint a, uint b) -> uint @@ -103,8 +104,9 @@ enum class OperationCode { UBitwiseAnd, /// (MetaArithmetic, uint a, uint b) -> uint UBitwiseOr, /// (MetaArithmetic, uint a, uint b) -> uint UBitwiseXor, /// (MetaArithmetic, uint a, uint b) -> uint - UBitwiseNot, /// (MetaArithmetic, uint a) -> int + UBitwiseNot, /// (MetaArithmetic, uint a) -> uint UBitfieldInsert, /// (MetaArithmetic, uint base, uint insert, int offset, int bits) -> uint + UBitCount, /// (MetaArithmetic, uint) -> uint HAdd, /// (MetaHalfArithmetic, f16vec2 a, f16vec2 b) -> f16vec2 HMul, /// (MetaHalfArithmetic, f16vec2 a, f16vec2 b) -> f16vec2 |