mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 06:43:17 +00:00
video_core: renderer_vulkan: write mask fallback
This commit is contained in:
parent
8e6d492524
commit
365df2a3ac
7 changed files with 43 additions and 21 deletions
|
@ -416,6 +416,10 @@ struct Liverpool {
|
|||
BitField<20, 4, u32> output5_mask;
|
||||
BitField<24, 4, u32> output6_mask;
|
||||
BitField<28, 4, u32> output7_mask;
|
||||
|
||||
[[nodiscard]] u8 GetMask(int buf_id) const {
|
||||
return (raw >> (buf_id * 4)) & 0xffu;
|
||||
}
|
||||
};
|
||||
|
||||
struct IndexBufferBase {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue