diff options
| author | Subv <subv2112@gmail.com> | 2018-07-04 15:15:03 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-07-04 15:15:03 -0500 |
| commit | 53a55bd751f6f89ac6c9d9eac9d3e9a8bd28c552 (patch) | |
| tree | 8f549f2dbadb1e37c26fb7259ddc1a4ca5fdb5d4 /src/video_core/engines | |
| parent | 81a44d38ee0a9df2cc89e363c43b38548a1fcfe7 (diff) | |
GPU: Implemented the PSETP shader instruction.
It's similar to the isetp and fsetp instructions but it works on predicates instead.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index c1226a649..95b7d46ec 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -329,6 +329,19 @@ union Instruction { } isetp; union { + BitField<0, 3, u64> pred0; + BitField<3, 3, u64> pred3; + BitField<12, 3, u64> pred12; + BitField<15, 1, u64> neg_pred12; + BitField<24, 2, PredOperation> cond; + BitField<29, 3, u64> pred29; + BitField<32, 1, u64> neg_pred29; + BitField<39, 3, u64> pred39; + BitField<42, 1, u64> neg_pred39; + BitField<45, 2, PredOperation> op; + } psetp; + + union { BitField<39, 3, u64> pred39; BitField<42, 1, u64> neg_pred; BitField<43, 1, u64> neg_a; |
