diff options
| author | Subv <subv2112@gmail.com> | 2018-08-16 09:05:16 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-08-18 10:22:42 -0500 |
| commit | 2e95ba2e9c67d16456fb9f700cfe3da837e16a73 (patch) | |
| tree | 83c1c00e9a39179dd72db272c9d49bbe7cdfa5a9 /src/video_core/engines | |
| parent | 24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c (diff) | |
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.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 4 |
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 2526ebf28..f438fa809 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -283,6 +283,10 @@ union Instruction { } alu; union { + BitField<48, 1, u64> negate_b; + } fmul; + + union { BitField<48, 1, u64> is_signed; } shift; |
