summaryrefslogtreecommitdiff
path: root/src/video_core/engines
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/engines
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/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index f8d67e227..16f410538 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -800,6 +800,12 @@ union Instruction {
800 } popc; 800 } popc;
801 801
802 union { 802 union {
803 BitField<41, 1, u64> sh;
804 BitField<40, 1, u64> invert;
805 BitField<48, 1, u64> is_signed;
806 } flo;
807
808 union {
803 BitField<39, 3, u64> pred; 809 BitField<39, 3, u64> pred;
804 BitField<42, 1, u64> neg_pred; 810 BitField<42, 1, u64> neg_pred;
805 } sel; 811 } sel;