Cleanup.
This commit is contained in:
parent
55f6ab4f38
commit
2785124d1d
|
@ -387,8 +387,9 @@ TextureCache::SamplerEntry* TextureCache::LookupOrInsertSampler(
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
if (aniso)
|
||||
if (aniso) {
|
||||
glSamplerParameterf(entry->handle, GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso);
|
||||
}
|
||||
|
||||
// Add to map - map takes ownership.
|
||||
auto entry_ptr = entry.get();
|
||||
|
|
|
@ -342,8 +342,8 @@ XEPACKEDUNION(xe_gpu_texture_fetch_t, {
|
|||
uint32_t mag_filter : 2;
|
||||
uint32_t min_filter : 2;
|
||||
uint32_t mip_filter : 2;
|
||||
uint32_t aniso_filter : 3; // correct ?
|
||||
uint32_t arbitrary_filter : 3; // correct ?
|
||||
uint32_t aniso_filter : 3;
|
||||
uint32_t unk3_2 : 3;
|
||||
uint32_t border : 1;
|
||||
uint32_t unk4_0 : 2; // dword_4
|
||||
uint32_t mip_min_level : 4;
|
||||
|
|
Loading…
Reference in New Issue