diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-09-08 03:09:39 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-09-12 18:28:22 +0200 |
commit | a99d9db32faef06c74a1e2fd5fc8715a8f3016e1 (patch) | |
tree | 9fb83a733934972e9d2ec30117c89ca73b529679 /src/video_core/engines | |
parent | Merge pull request #1291 from lioncash/default (diff) | |
download | yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar.gz yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar.bz2 yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar.lz yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar.xz yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.tar.zst yuzu-a99d9db32faef06c74a1e2fd5fc8715a8f3016e1.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 9176a8dbc..7d3e2f8fc 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -254,6 +254,15 @@ enum class TextureQueryType : u64 { BorderColor = 22, }; +enum class TextureProcessMode : u64 { + None = 0, + LZ = 1, // Unknown, appears to be the same as none. + LB = 2, // Load Bias. + LL = 3, // Load LOD (LevelOfDetail) + LBA = 6, // Load Bias. The A is unknown, does not appear to differ with LB + LLA = 7 // Load LOD. The A is unknown, does not appear to differ with LL +}; + enum class IpaInterpMode : u64 { Linear = 0, Perspective = 1, Flat = 2, Sc = 3 }; enum class IpaSampleMode : u64 { Default = 0, Centroid = 1, Offset = 2 }; @@ -522,6 +531,7 @@ union Instruction { BitField<28, 1, u64> array; BitField<29, 2, TextureType> texture_type; BitField<31, 4, u64> component_mask; + BitField<55, 3, TextureProcessMode> process_mode; bool IsComponentEnabled(size_t component) const { return ((1ull << component) & component_mask) != 0; |