mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
getX/state: Set LOD pre-clamp to OpenGL mode
This gets us another couple hundred sampler tests
This commit is contained in:
parent
580b2e85e4
commit
3276610ea6
2 changed files with 2 additions and 1 deletions
|
|
@ -98,6 +98,7 @@ VkResult genX(CreateSampler)(
|
|||
struct GEN7_SAMPLER_STATE sampler_state = {
|
||||
.SamplerDisable = false,
|
||||
.TextureBorderColorMode = DX10OGL,
|
||||
.LODPreClampEnable = OGL,
|
||||
.BaseMipLevel = 0.0,
|
||||
.MipModeFilter = vk_to_gen_mipmap_mode[pCreateInfo->mipmapMode],
|
||||
.MagModeFilter = filter,
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ VkResult genX(CreateSampler)(
|
|||
struct GENX(SAMPLER_STATE) sampler_state = {
|
||||
.SamplerDisable = false,
|
||||
.TextureBorderColorMode = DX10OGL,
|
||||
.LODPreClampMode = 0,
|
||||
.LODPreClampMode = CLAMP_OGL,
|
||||
#if ANV_GEN == 8
|
||||
.BaseMipLevel = 0.0,
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue