From 2e95ba2e9c67d16456fb9f700cfe3da837e16a73 Mon Sep 17 00:00:00 2001 From: Subv Date: Thu, 16 Aug 2018 09:05:16 -0500 Subject: Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions. We should definitely audit our shader generator for more errors like this. --- src/video_core/engines/shader_bytecode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/video_core/engines') diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 2526ebf28..f438fa809 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -282,6 +282,10 @@ union Instruction { } } alu; + union { + BitField<48, 1, u64> negate_b; + } fmul; + union { BitField<48, 1, u64> is_signed; } shift; -- cgit v1.2.3