mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 19:35:26 +00:00
amdgpu: Add some resource bits for Neo mode. (#2035)
This commit is contained in:
parent
9434cae458
commit
c2be12f009
|
@ -814,7 +814,9 @@ struct Liverpool {
|
||||||
BitField<26, 1, u32> fmask_compression_disable_ci;
|
BitField<26, 1, u32> fmask_compression_disable_ci;
|
||||||
BitField<27, 1, u32> fmask_compress_1frag_only;
|
BitField<27, 1, u32> fmask_compress_1frag_only;
|
||||||
BitField<28, 1, u32> dcc_enable;
|
BitField<28, 1, u32> dcc_enable;
|
||||||
BitField<29, 1, u32> cmask_addr_type;
|
BitField<29, 2, u32> cmask_addr_type;
|
||||||
|
/// Neo-mode only
|
||||||
|
BitField<31, 1, u32> alt_tile_mode;
|
||||||
|
|
||||||
u32 u32all;
|
u32 u32all;
|
||||||
} info;
|
} info;
|
||||||
|
|
|
@ -263,7 +263,15 @@ struct Image {
|
||||||
u64 min_lod_warn : 12;
|
u64 min_lod_warn : 12;
|
||||||
u64 counter_bank_id : 8;
|
u64 counter_bank_id : 8;
|
||||||
u64 lod_hw_cnt_en : 1;
|
u64 lod_hw_cnt_en : 1;
|
||||||
u64 : 43;
|
/// Neo-mode only
|
||||||
|
u64 compression_en : 1;
|
||||||
|
/// Neo-mode only
|
||||||
|
u64 alpha_is_on_msb : 1;
|
||||||
|
/// Neo-mode only
|
||||||
|
u64 color_transform : 1;
|
||||||
|
/// Neo-mode only
|
||||||
|
u64 alt_tile_mode : 1;
|
||||||
|
u64 : 39;
|
||||||
|
|
||||||
static constexpr Image Null() {
|
static constexpr Image Null() {
|
||||||
Image image{};
|
Image image{};
|
||||||
|
|
Loading…
Reference in a new issue