diff options
| author | bunnei <bunneidev@gmail.com> | 2018-07-01 11:06:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-01 11:06:04 -0400 |
| commit | 066d6184d453fdcf6e9a4622646a514e0cbccc53 (patch) | |
| tree | 22d1d5a2f191416276b159b28bc1441946cba62d /src/video_core/engines/shader_bytecode.h | |
| parent | b611d852db85eb8b2d5b4b69696bc2411b7bf0fb (diff) | |
| parent | f33e406ff28724cd64a945d97b1f2df051fe4881 (diff) | |
Merge pull request #602 from Subv/mufu_subop
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 0527fc376..86fd64979 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -166,7 +166,6 @@ enum class SubOp : u64 { Lg2 = 0x3, Rcp = 0x4, Rsq = 0x5, - Min = 0x8, }; enum class F2iRoundingOp : u64 { @@ -210,7 +209,7 @@ union Instruction { } pred; BitField<19, 1, u64> negate_pred; BitField<20, 8, Register> gpr20; - BitField<20, 7, SubOp> sub_op; + BitField<20, 4, SubOp> sub_op; BitField<28, 8, Register> gpr28; BitField<39, 8, Register> gpr39; BitField<48, 16, u64> opcode; |
