mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 06:43:17 +00:00
video_core: multiple color attachments support
This commit is contained in:
parent
3741f013a3
commit
9227a2b868
3 changed files with 22 additions and 12 deletions
|
@ -631,6 +631,10 @@ struct Liverpool {
|
|||
u32 clear_word1;
|
||||
INSERT_PADDING_WORDS(2);
|
||||
|
||||
operator bool() const {
|
||||
return info.format != DataFormat::FormatInvalid;
|
||||
}
|
||||
|
||||
u32 Pitch() const {
|
||||
return (pitch.tile_max + 1) << 3;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue