summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-19 17:01:48 -0400
committerGravatar GitHub2018-08-19 17:01:48 -0400
commit51ddb130c59e2d574a478f43c254292cd63df6b1 (patch)
tree0c9a6ea9a983186401f81c1d53b4a541143d17d4 /src/video_core/engines
parentMerge pull request #1105 from Subv/convert_neg (diff)
parentShaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic inst... (diff)
downloadyuzu-51ddb130c59e2d574a478f43c254292cd63df6b1.tar.gz
yuzu-51ddb130c59e2d574a478f43c254292cd63df6b1.tar.xz
yuzu-51ddb130c59e2d574a478f43c254292cd63df6b1.zip
Merge pull request #1089 from Subv/neg_bits
Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 096de9632..9413a81fb 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -293,6 +293,10 @@ union Instruction {
293 } alu; 293 } alu;
294 294
295 union { 295 union {
296 BitField<48, 1, u64> negate_b;
297 } fmul;
298
299 union {
296 BitField<48, 1, u64> is_signed; 300 BitField<48, 1, u64> is_signed;
297 } shift; 301 } shift;
298 302