summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-02 04:03:32 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-04-03 22:12:44 +0200
commit24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e (patch)
tree2d9837feabbdae61a71f69d63fb9b7d8cacff183 /src/video_core/engines/shader_bytecode.h
parentMerge pull request #2294 from lioncash/fatal (diff)
downloadyuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.gz
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.bz2
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.lz
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.xz
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.zst
yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.zip
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 7f613370b..55d32ace6 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -387,6 +387,13 @@ enum class IpaSampleMode : u64 {
Offset = 2,
};
+enum class LmemStoreCacheManagement : u64 {
+ Default = 0,
+ CG = 1,
+ CS = 2,
+ WT = 3,
+};
+
struct IpaMode {
IpaInterpMode interpolation_mode;
IpaSampleMode sampling_mode;
@@ -782,7 +789,7 @@ union Instruction {
} ld_l;
union {
- BitField<44, 2, u64> unknown;
+ BitField<44, 2, LmemStoreCacheManagement> cache_management;
} st_l;
union {