diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-17 04:21:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 04:21:19 +0200 |
commit | 0cfbd3325b2f53449a58669b3911eab52084f86c (patch) | |
tree | 39220932da679ed9be9b63434cc4439bc6801092 /src/video_core/engines/shader_bytecode.h | |
parent | Merge pull request #2384 from ReinUsesLisp/gl-state-clear (diff) | |
parent | shader_ir/memory: Reduce severity of LD_L cache management and log it (diff) | |
download | yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.gz yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.bz2 yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.lz yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.xz yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.zst yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index acf475289..38db4addd 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -387,6 +387,20 @@ enum class IpaSampleMode : u64 { Offset = 2, }; +enum class LmemLoadCacheManagement : u64 { + Default = 0, + LU = 1, + CI = 2, + CV = 3, +}; + +enum class LmemStoreCacheManagement : u64 { + Default = 0, + CG = 1, + CS = 2, + WT = 3, +}; + struct IpaMode { IpaInterpMode interpolation_mode; IpaSampleMode sampling_mode; @@ -782,7 +796,7 @@ union Instruction { } ld_l; union { - BitField<44, 2, u64> unknown; + BitField<44, 2, LmemStoreCacheManagement> cache_management; } st_l; union { |