mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-17 17:05:02 +00:00
Recompiler: sampler patching (#236)
* recompiler: restored bfs in image instruction producers search * recompiler: added pattern check for s# anisotropy modification * added check if s# comes from constant load (e.g. EUD)
This commit is contained in:
parent
6ceab6dfac
commit
dd97b517f7
3 changed files with 79 additions and 13 deletions
|
@ -96,6 +96,8 @@ using ImageResourceList = boost::container::static_vector<ImageResource, 16>;
|
|||
struct SamplerResource {
|
||||
u32 sgpr_base;
|
||||
u32 dword_offset;
|
||||
u32 associated_image : 4;
|
||||
u32 disable_aniso : 1;
|
||||
};
|
||||
using SamplerResourceList = boost::container::static_vector<SamplerResource, 16>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue