From 8440cef2239cc86ec915513c722da835160515bb Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 20 May 2018 17:53:06 -0500 Subject: Shaders: Implemented the FMNMX shader instruction. --- src/video_core/engines/shader_bytecode.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/video_core/engines/shader_bytecode.h') diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index e1ceec268..4ed1429b0 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -193,6 +193,11 @@ union Instruction { BitField<50, 1, u64> abs_d; BitField<56, 1, u64> negate_imm; + union { + BitField<39, 3, u64> pred; + BitField<42, 1, u64> negate_pred; + } fmnmx; + float GetImm20_19() const { float result{}; u32 imm{static_cast(imm20_19)}; -- cgit v1.2.3