SamplerInfo: Add LOD bias and border color
This commit is contained in:
@@ -42,6 +42,9 @@ bool SamplerInfo::Prepare(const xenos::xe_gpu_texture_fetch_t& fetch,
|
||||
? static_cast<AnisoFilter>(fetch.aniso_filter)
|
||||
: fetch_instr.attributes.aniso_filter;
|
||||
|
||||
out_info->border_color = static_cast<BorderColor>(fetch.border_color);
|
||||
out_info->lod_bias = (fetch.lod_bias) / 32.f;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user