diff options
| author | 2019-04-16 22:21:19 -0400 | |
|---|---|---|
| committer | 2019-04-16 22:21:19 -0400 | |
| commit | 0cfbd3325b2f53449a58669b3911eab52084f86c (patch) | |
| tree | 39220932da679ed9be9b63434cc4439bc6801092 /src/video_core/engines | |
| 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.gz yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.tar.xz yuzu-0cfbd3325b2f53449a58669b3911eab52084f86c.zip | |
Merge pull request #2315 from ReinUsesLisp/severity-decompiler
shader_ir/decode: Reduce the severity of common assertions
Diffstat (limited to 'src/video_core/engines')
| -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 { | |||
| 387 | Offset = 2, | 387 | Offset = 2, |
| 388 | }; | 388 | }; |
| 389 | 389 | ||
| 390 | enum class LmemLoadCacheManagement : u64 { | ||
| 391 | Default = 0, | ||
| 392 | LU = 1, | ||
| 393 | CI = 2, | ||
| 394 | CV = 3, | ||
| 395 | }; | ||
| 396 | |||
| 397 | enum class LmemStoreCacheManagement : u64 { | ||
| 398 | Default = 0, | ||
| 399 | CG = 1, | ||
| 400 | CS = 2, | ||
| 401 | WT = 3, | ||
| 402 | }; | ||
| 403 | |||
| 390 | struct IpaMode { | 404 | struct IpaMode { |
| 391 | IpaInterpMode interpolation_mode; | 405 | IpaInterpMode interpolation_mode; |
| 392 | IpaSampleMode sampling_mode; | 406 | IpaSampleMode sampling_mode; |
| @@ -782,7 +796,7 @@ union Instruction { | |||
| 782 | } ld_l; | 796 | } ld_l; |
| 783 | 797 | ||
| 784 | union { | 798 | union { |
| 785 | BitField<44, 2, u64> unknown; | 799 | BitField<44, 2, LmemStoreCacheManagement> cache_management; |
| 786 | } st_l; | 800 | } st_l; |
| 787 | 801 | ||
| 788 | union { | 802 | union { |