video_core: multiple color attachments support

This commit is contained in:
psucien 2024-05-30 11:21:26 +02:00
parent 3741f013a3
commit 9227a2b868
3 changed files with 22 additions and 12 deletions

View file

@ -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;
}