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:
psucien 2024-07-04 23:15:57 +02:00 committed by GitHub
parent 6ceab6dfac
commit dd97b517f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 79 additions and 13 deletions

View file

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