mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
video_core/texture: Add a raw representation of TSCEntry
This commit is contained in:
parent
2ad44a453f
commit
8ebeb9ade2
1 changed files with 29 additions and 24 deletions
|
@ -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