diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-03-15 21:23:04 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-15 21:23:04 -0300 |
| commit | ddafc997763dc67f790958e04a8c07a5317da549 (patch) | |
| tree | da411c4e5830153005d25922218aa837fc83928b /src/video_core/engines/shader_bytecode.h | |
| parent | d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3 (diff) | |
| parent | 3287b1247d97682b443f8db050b4ee73dac1d05b (diff) | |
Merge pull request #3502 from namkazt/patch-3
shader_decode: Reimplement BFE instructions
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index c9bc83cd7..eba42deb4 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -911,14 +911,9 @@ union Instruction { } fadd32i; union { - BitField<20, 8, u64> shift_position; - BitField<28, 8, u64> shift_length; - BitField<48, 1, u64> negate_b; - BitField<49, 1, u64> negate_a; - - u64 GetLeftShiftValue() const { - return 32 - (shift_position + shift_length); - } + BitField<40, 1, u64> brev; + BitField<47, 1, u64> rd_cc; + BitField<48, 1, u64> is_signed; } bfe; union { |
