summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-05 02:47:11 +0200
committerGitHub <noreply@github.com>2018-06-05 02:47:11 +0200
commitf564822e781ade1fe16ecd3cf93f1ffa247ed82e (patch)
treec51f197ddaac4a0c9df01b87aef6d5bdbb6a0e2f /src/video_core/engines/shader_bytecode.h
parentMerge pull request #512 from Subv/fset (diff)
parentGPU: Use explicit types when retrieving the uniform values for fsetp/fset and isetp instead of the type of an invalid output register. (diff)
downloadyuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar.gz
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar.bz2
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar.lz
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar.xz
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.tar.zst
yuzu-f564822e781ade1fe16ecd3cf93f1ffa247ed82e.zip
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index e7ef7e71f..3add56155 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -239,6 +239,16 @@ union Instruction {
} fsetp;
union {
+ BitField<0, 3, u64> pred0;
+ BitField<3, 3, u64> pred3;
+ BitField<39, 3, u64> pred39;
+ BitField<42, 1, u64> neg_pred;
+ BitField<45, 2, PredOperation> op;
+ BitField<48, 1, u64> is_signed;
+ BitField<49, 3, PredCondition> cond;
+ } isetp;
+
+ union {
BitField<39, 3, u64> pred39;
BitField<42, 1, u64> neg_pred;
BitField<43, 1, u64> neg_a;