diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-19 17:01:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-19 17:01:48 -0400 |
| commit | 51ddb130c59e2d574a478f43c254292cd63df6b1 (patch) | |
| tree | 0c9a6ea9a983186401f81c1d53b4a541143d17d4 /src/video_core/engines/shader_bytecode.h | |
| parent | 9b17486be613be2764c179e289fe855a732780ba (diff) | |
| parent | 2e95ba2e9c67d16456fb9f700cfe3da837e16a73 (diff) | |
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/shader_bytecode.h')
| -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 { } alu; union { + BitField<48, 1, u64> negate_b; + } fmul; + + union { BitField<48, 1, u64> is_signed; } shift; |
