diff options
| author | 2019-04-01 23:03:32 -0300 | |
|---|---|---|
| committer | 2019-04-03 17:12:44 -0300 | |
| commit | 24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e (patch) | |
| tree | 2d9837feabbdae61a71f69d63fb9b7d8cacff183 /src/video_core/engines | |
| parent | Merge pull request #2294 from lioncash/fatal (diff) | |
| download | yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.gz yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.tar.xz yuzu-24abeb9a67a45ba9c1d67163b7b75cac8aa3d03e.zip | |
shader_ir/memory: Reduce severity of ST_L cache management and log it
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 9 |
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 { | |||
| 387 | Offset = 2, | 387 | Offset = 2, |
| 388 | }; | 388 | }; |
| 389 | 389 | ||
| 390 | enum class LmemStoreCacheManagement : u64 { | ||
| 391 | Default = 0, | ||
| 392 | CG = 1, | ||
| 393 | CS = 2, | ||
| 394 | WT = 3, | ||
| 395 | }; | ||
| 396 | |||
| 390 | struct IpaMode { | 397 | struct IpaMode { |
| 391 | IpaInterpMode interpolation_mode; | 398 | IpaInterpMode interpolation_mode; |
| 392 | IpaSampleMode sampling_mode; | 399 | IpaSampleMode sampling_mode; |
| @@ -782,7 +789,7 @@ union Instruction { | |||
| 782 | } ld_l; | 789 | } ld_l; |
| 783 | 790 | ||
| 784 | union { | 791 | union { |
| 785 | BitField<44, 2, u64> unknown; | 792 | BitField<44, 2, LmemStoreCacheManagement> cache_management; |
| 786 | } st_l; | 793 | } st_l; |
| 787 | 794 | ||
| 788 | union { | 795 | union { |