summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-12-16 08:09:24 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-12-16 08:09:24 +0100
commite09c1fbc1f5868b1bff54a69a58fd6d788c54251 (patch)
tree4c77f899cb97fa590fbb028ef9ba3c5187900b99 /src/video_core/engines
parentshader/texture: Enable arrayed TLD4 (diff)
downloadyuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar.gz
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar.bz2
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar.lz
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar.xz
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.tar.zst
yuzu-e09c1fbc1f5868b1bff54a69a58fd6d788c54251.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index d6a2cc8b8..1cb0ac0c2 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -1239,7 +1239,7 @@ union Instruction {
BitField<35, 1, u64> ndv_flag;
BitField<49, 1, u64> nodep_flag;
BitField<50, 1, u64> dc_flag;
- BitField<54, 2, u64> info;
+ BitField<54, 2, u64> offset_mode;
BitField<56, 2, u64> component;
bool UsesMiscMode(TextureMiscMode mode) const {
@@ -1251,9 +1251,9 @@ union Instruction {
case TextureMiscMode::DC:
return dc_flag != 0;
case TextureMiscMode::AOFFI:
- return info == 1;
+ return offset_mode == 1;
case TextureMiscMode::PTP:
- return info == 2;
+ return offset_mode == 2;
default:
break;
}
@@ -1265,7 +1265,7 @@ union Instruction {
BitField<35, 1, u64> ndv_flag;
BitField<49, 1, u64> nodep_flag;
BitField<50, 1, u64> dc_flag;
- BitField<33, 2, u64> info;
+ BitField<33, 2, u64> offset_mode;
BitField<37, 2, u64> component;
bool UsesMiscMode(TextureMiscMode mode) const {
@@ -1277,9 +1277,9 @@ union Instruction {
case TextureMiscMode::DC:
return dc_flag != 0;
case TextureMiscMode::AOFFI:
- return info == 1;
+ return offset_mode == 1;
case TextureMiscMode::PTP:
- return info == 2;
+ return offset_mode == 2;
default:
break;
}