summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorRodolfo Bogado <rodolfoosvaldobogado@gmail.com>2018-11-17 23:58:48 +0100
committerRodolfo Bogado <rodolfoosvaldobogado@gmail.com>2018-11-17 23:59:34 +0100
commit81a9c5fe6f3750914fa4a4fe4bd425ea6e398333 (patch)
treebb8809c983d68826172e3a0601daf7bdc8ab2a96 /src/video_core/textures
parentsmall type fix (diff)
downloadyuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar.gz
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar.bz2
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar.lz
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar.xz
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.tar.zst
yuzu-81a9c5fe6f3750914fa4a4fe4bd425ea6e398333.zip
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/texture.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h
index e199d019a..ffa08f5c1 100644
--- a/src/video_core/textures/texture.h
+++ b/src/video_core/textures/texture.h
@@ -190,6 +190,7 @@ struct TICEntry {
union {
BitField<0, 4, u32> res_min_mip_level;
BitField<4, 4, u32> res_max_mip_level;
+ BitField<12, 12, u32> min_lod_clamp;
};
GPUVAddr Address() const {
@@ -284,13 +285,25 @@ struct TSCEntry {
BitField<6, 3, WrapMode> wrap_p;
BitField<9, 1, u32> depth_compare_enabled;
BitField<10, 3, DepthCompareFunc> depth_compare_func;
+ BitField<13, 1, u32> srgb_conversion;
+ BitField<20, 3, u32> max_anisotropy;
};
union {
BitField<0, 2, TextureFilter> mag_filter;
BitField<4, 2, TextureFilter> min_filter;
BitField<6, 2, TextureMipmapFilter> mip_filter;
+ BitField<9, 1, u32> cubemap_interface_filtering;
+ BitField<12, 13, u32> mip_lod_bias;
+ };
+ union {
+ BitField<0, 12, u32> min_lod_clamp;
+ BitField<12, 12, u32> max_lod_clamp;
+ BitField<24, 8, u32> srgb_border_color_r;
+ };
+ union {
+ BitField<12, 8, u32> srgb_border_color_g;
+ BitField<20, 8, u32> srgb_border_color_b;
};
- INSERT_PADDING_BYTES(8);
float border_color_r;
float border_color_g;
float border_color_b;