diff options
author | Mat M <mathew1800@gmail.com> | 2020-04-12 15:11:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 15:11:44 +0200 |
commit | 4aec01b850cd11d4313fe168c8be09c0796f9c77 (patch) | |
tree | b6c6b7ac0d40bb8dbe338ba9f5865321c0493783 /src/video_core/textures/texture.h | |
parent | Merge pull request #3635 from FernandoS27/buffer-free (diff) | |
parent | video_core: Add MSAA registers in 3D engine and TIC (diff) | |
download | yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar.gz yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar.bz2 yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar.lz yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar.xz yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.tar.zst yuzu-4aec01b850cd11d4313fe168c8be09c0796f9c77.zip |
Diffstat (limited to 'src/video_core/textures/texture.h')
-rw-r--r-- | src/video_core/textures/texture.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index 59b8a5e66..eba05aced 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -131,6 +131,20 @@ enum class SwizzleSource : u32 { OneFloat = 7, }; +enum class MsaaMode : u32 { + Msaa1x1 = 0, + Msaa2x1 = 1, + Msaa2x2 = 2, + Msaa4x2 = 3, + Msaa4x2_D3D = 4, + Msaa2x1_D3D = 5, + Msaa4x4 = 6, + Msaa2x2_VC4 = 8, + Msaa2x2_VC12 = 9, + Msaa4x2_VC8 = 10, + Msaa4x2_VC24 = 11, +}; + union TextureHandle { TextureHandle(u32 raw) : raw{raw} {} @@ -197,6 +211,7 @@ struct TICEntry { union { BitField<0, 4, u32> res_min_mip_level; BitField<4, 4, u32> res_max_mip_level; + BitField<8, 4, MsaaMode> msaa_mode; BitField<12, 12, u32> min_lod_clamp; }; |