mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
lavapipe: fixup mipmap precsion bits
8 seems more correct, however it fixes a bunch of explict lod tests but breaks some lod query tests. Cc: "20.3" <mesa-stable@lists.freedesktop.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7705>
This commit is contained in:
parent
2c0a078fdb
commit
4263162839
1 changed files with 2 additions and 2 deletions
|
|
@ -463,8 +463,8 @@ void lvp_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.maxComputeWorkGroupInvocations = max_threads_per_block,
|
||||
.maxComputeWorkGroupSize = { block_size[0], block_size[1], block_size[2] },
|
||||
.subPixelPrecisionBits = pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_RASTERIZER_SUBPIXEL_BITS),
|
||||
.subTexelPrecisionBits = 4 /* FIXME */,
|
||||
.mipmapPrecisionBits = 4 /* FIXME */,
|
||||
.subTexelPrecisionBits = 8,
|
||||
.mipmapPrecisionBits = 8,
|
||||
.maxDrawIndexedIndexValue = UINT32_MAX,
|
||||
.maxDrawIndirectCount = UINT32_MAX,
|
||||
.maxSamplerLodBias = 16,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue