mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-26 14:15:27 +00:00
video_core/texture: Add a raw representation of TSCEntry
This commit is contained in:
parent
2ad44a453f
commit
8ebeb9ade2
|
@ -282,6 +282,8 @@ enum class TextureMipmapFilter : u32 {
|
|||
};
|
||||
|
||||
struct TSCEntry {
|
||||
union {
|
||||
struct {
|
||||
union {
|
||||
BitField<0, 3, WrapMode> wrap_u;
|
||||
BitField<3, 3, WrapMode> wrap_v;
|
||||
|
@ -308,6 +310,9 @@ struct TSCEntry {
|
|||
BitField<20, 8, u32> srgb_border_color_b;
|
||||
};
|
||||
std::array<f32, 4> border_color;
|
||||
};
|
||||
std::array<u32, 8> raw;
|
||||
};
|
||||
|
||||
float GetMaxAnisotropy() const {
|
||||
return static_cast<float>(1U << max_anisotropy);
|
||||
|
|
Loading…
Reference in a new issue