[Vulkan] Initial support for mipmaps
This commit is contained in:
@@ -44,6 +44,8 @@ bool SamplerInfo::Prepare(const xenos::xe_gpu_texture_fetch_t& fetch,
|
||||
|
||||
out_info->border_color = static_cast<BorderColor>(fetch.border_color);
|
||||
out_info->lod_bias = (fetch.lod_bias) / 32.f;
|
||||
out_info->mip_min_level = fetch.mip_min_level;
|
||||
out_info->mip_max_level = fetch.mip_max_level;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user