diff options
| author | 2018-06-09 00:01:17 -0400 | |
|---|---|---|
| committer | 2018-06-09 00:01:17 -0400 | |
| commit | 5440b9c634555c174a9eaf7fd6d308c4ab2cb3bb (patch) | |
| tree | b491f11a8e2ddb023c66b709c2f19c8b38de2c97 /src/video_core/engines | |
| parent | Merge pull request #505 from janisozaur/ccache-travis (diff) | |
| download | yuzu-5440b9c634555c174a9eaf7fd6d308c4ab2cb3bb.tar.gz yuzu-5440b9c634555c174a9eaf7fd6d308c4ab2cb3bb.tar.xz yuzu-5440b9c634555c174a9eaf7fd6d308c4ab2cb3bb.zip | |
gl_shader_decompiler: Implement SHR instruction.
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 32800392b..a9ea550dc 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -260,6 +260,10 @@ union Instruction { | |||
| 260 | } alu; | 260 | } alu; |
| 261 | 261 | ||
| 262 | union { | 262 | union { |
| 263 | BitField<48, 1, u64> is_signed; | ||
| 264 | } shift; | ||
| 265 | |||
| 266 | union { | ||
| 263 | BitField<39, 5, u64> shift_amount; | 267 | BitField<39, 5, u64> shift_amount; |
| 264 | BitField<48, 1, u64> negate_b; | 268 | BitField<48, 1, u64> negate_b; |
| 265 | BitField<49, 1, u64> negate_a; | 269 | BitField<49, 1, u64> negate_a; |