mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-16 07:33:14 +00:00
texture_cache: Improve support for stencil reads (#1758)
* texture_cache: Improve support for stencil reads * libraries: Supress some spammy logs * core: Support loading font libraries * texture_cache: Remove assert
This commit is contained in:
parent
8acefd25e7
commit
cfbd869126
12 changed files with 69 additions and 13 deletions
|
@ -431,6 +431,10 @@ struct Liverpool {
|
|||
return u64(z_read_base) << 8;
|
||||
}
|
||||
|
||||
u64 StencilAddress() const {
|
||||
return u64(stencil_read_base) << 8;
|
||||
}
|
||||
|
||||
u32 NumSamples() const {
|
||||
return 1u << z_info.num_samples; // spec doesn't say it is a log2
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue