diff options
| author | 2018-08-19 17:01:48 -0400 | |
|---|---|---|
| committer | 2018-08-19 17:01:48 -0400 | |
| commit | 51ddb130c59e2d574a478f43c254292cd63df6b1 (patch) | |
| tree | 0c9a6ea9a983186401f81c1d53b4a541143d17d4 /src/video_core/engines | |
| parent | Merge pull request #1105 from Subv/convert_neg (diff) | |
| parent | Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic inst... (diff) | |
| download | yuzu-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.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 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 | ||