summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar bunnei2019-09-03 22:35:33 -0400
committerGravatar GitHub2019-09-03 22:35:33 -0400
commit81fbc5370d8f09a3a167c96556fb3a4bf211673a (patch)
tree496c370578de2ef494faab0fe8c5b1e4d93593bf /src/video_core/engines
parentMerge pull request #2811 from ReinUsesLisp/fsetp-fix (diff)
parentshader_ir/conversion: Split int and float selector and implement F2F H1 (diff)
downloadyuzu-81fbc5370d8f09a3a167c96556fb3a4bf211673a.tar.gz
yuzu-81fbc5370d8f09a3a167c96556fb3a4bf211673a.tar.xz
yuzu-81fbc5370d8f09a3a167c96556fb3a4bf211673a.zip
Merge pull request #2812 from ReinUsesLisp/f2i-selector
shader_ir/conversion: Implement F2I and F2F F16 selector
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index ba28ff51c..c3678b9ea 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -1020,7 +1020,6 @@ union Instruction {
1020 } iset; 1020 } iset;
1021 1021
1022 union { 1022 union {
1023 BitField<41, 2, u64> selector; // i2i and i2f only
1024 BitField<45, 1, u64> negate_a; 1023 BitField<45, 1, u64> negate_a;
1025 BitField<49, 1, u64> abs_a; 1024 BitField<49, 1, u64> abs_a;
1026 BitField<10, 2, Register::Size> src_size; 1025 BitField<10, 2, Register::Size> src_size;
@@ -1046,6 +1045,13 @@ union Instruction {
1046 } 1045 }
1047 } f2f; 1046 } f2f;
1048 1047
1048 union {
1049 BitField<41, 2, u64> selector;
1050 } int_src;
1051
1052 union {
1053 BitField<41, 1, u64> selector;
1054 } float_src;
1049 } conversion; 1055 } conversion;
1050 1056
1051 union { 1057 union {