diff options
| author | 2020-03-13 12:52:16 +0700 | |
|---|---|---|
| committer | 2020-03-13 12:52:16 +0700 | |
| commit | 93547cac68ac5433c1080b53abe9822045f07604 (patch) | |
| tree | 57477e856dadea063ef19d2757d338fc2c681248 /src | |
| parent | node_helper: add IBitfieldExtract case (diff) | |
| download | yuzu-93547cac68ac5433c1080b53abe9822045f07604.tar.gz yuzu-93547cac68ac5433c1080b53abe9822045f07604.tar.xz yuzu-93547cac68ac5433c1080b53abe9822045f07604.zip | |
shader_bytecode: update BFE instructions struct.
Diffstat (limited to 'src')
| -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 { | |||
| 911 | } fadd32i; | 911 | } fadd32i; |
| 912 | 912 | ||
| 913 | union { | 913 | union { |
| 914 | BitField<20, 8, u64> shift_position; | 914 | BitField<40, 1, u64> brev; |
| 915 | BitField<28, 8, u64> shift_length; | 915 | BitField<47, 1, u64> rd_cc; |
| 916 | BitField<48, 1, u64> negate_b; | 916 | BitField<48, 1, u64> is_signed; |
| 917 | BitField<49, 1, u64> negate_a; | ||
| 918 | |||
| 919 | u64 GetLeftShiftValue() const { | ||
| 920 | return 32 - (shift_position + shift_length); | ||
| 921 | } | ||
| 922 | } bfe; | 917 | } bfe; |
| 923 | 918 | ||
| 924 | union { | 919 | union { |