diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-12 04:58:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 04:58:16 +0100 |
commit | 2c6efda2352a1133a1091d2aa206b1f044b7642a (patch) | |
tree | 2a1bbae2d93fb2a52f0ff3f7802919cef8b4d6d3 /src/video_core/textures/texture.h | |
parent | Merge pull request #1652 from FreddyFunk/static-cast (diff) | |
parent | Use core extensions when available to set max anisotropic filtering level (diff) | |
download | yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar.gz yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar.bz2 yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar.lz yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar.xz yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.tar.zst yuzu-2c6efda2352a1133a1091d2aa206b1f044b7642a.zip |
Diffstat (limited to 'src/video_core/textures/texture.h')
-rw-r--r-- | src/video_core/textures/texture.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index d12d2ecb8..e199d019a 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -168,20 +168,29 @@ struct TICEntry { // High 16 bits of the pitch value BitField<0, 16, u32> pitch_high; - + BitField<26, 1, u32> use_header_opt_control; + BitField<27, 1, u32> depth_texture; BitField<28, 4, u32> max_mip_level; }; union { BitField<0, 16, u32> width_minus_1; BitField<22, 1, u32> srgb_conversion; BitField<23, 4, TextureType> texture_type; + BitField<29, 3, u32> border_size; }; union { BitField<0, 16, u32> height_minus_1; BitField<16, 15, u32> depth_minus_1; }; + union { + BitField<6, 13, u32> mip_lod_bias; + BitField<27, 3, u32> max_anisotropy; + }; - INSERT_PADDING_BYTES(8); + union { + BitField<0, 4, u32> res_min_mip_level; + BitField<4, 4, u32> res_max_mip_level; + }; GPUVAddr Address() const { return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) | address_low); |