Mesa 21.3.8 Release Notes / 2022-03-18 — The Mesa 3D Graphics Library latest documentation

# Mesa 21.3.8 Release Notes / 2022-03-18

Mesa 21.3.8 is a bug fix release which fixes bugs found since the 21.3.7 release.

Mesa 21.3.8 implements the OpenGL 4.6 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.6. OpenGL 4.6 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.

Mesa 21.3.8 implements the Vulkan 1.2 API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used.

## SHA256 checksum

    e70d273bdc53a4e931871bb5550ba3900e6a3deab2fff64184107c33e92d9da7  mesa-21.3.8.tar.xz

## New features

- None

## Bug fixes

- freedreno: deqp cts fails

- radeonsi dEQP-GLES3.functional.buffer.map.write.explicit_flush.* flake crashes

- Square Artifacts Dragons Dogma

- radv: When using VS+PS only, primitive ID is mixed up after NGG culling

- Redraw freeze after upgrade to Xwayland 21.1.3

- anv doesn’t always resolve aux buffers with private bindings on transition to external queue

- [ANV] Rendering corruption in DOOM Eternal

## Changes

Adam Jackson (1):

- meson: Add “amber” option for automatic LTS build configuration

Alyssa Rosenzweig (6):

- panfrost: Fix FD resource_get_handle

- panfrost: Handle NULL sampler views

- panfrost: Handle NULL samplers

- panfrost: Flush resources when shadowing

- panfrost: Push twice as many uniforms

- panfrost: Fix set_sampler_views for big GL

Connor Abbott (4):

- ir3: Don’t always set bindless_tex with readonly images

- ir3/nir: Fix 1d array readonly images

- ir3/ra: Sanitize parallel copy flags better

- util/bitset: Fix off-by-one in __bitset_set_range

Danylo Piliaiev (1):

- turnip: Use LATE_Z when there might be depth/stencil feedback loop

Dave Airlie (5):

- draw/so: don’t use pre clip pos if we have a tes either.

- crocus: change the line width workaround for gfx4/5

- gallivm/nir: extract a valid texture index according to exec_mask.

- zink: workaround depth texture mode alpha.

- lavapipe: remove broken workaround for zink depth texturing.

Eric Engestrom (14):

- .pick_status.json: Update to 2106c3bab6bdea736c468fb1866fd0f372cc0baa

- .pick_status.json: Mark 7ec0e2b89351e6e56cb112e00e6c68c6bbc6faea as denominated

- .pick_status.json: Mark 0136545d169adb75e4f9f6b4de38eef0817c1241 as denominated

- .pick_status.json: Mark 62b8daa889daefb2f191a63f370541bf2b807e88 as denominated

- .pick_status.json: Mark 698ae34844b7199b8acc3b4d74a9cad3b903bdef as denominated

- .pick_status.json: Mark 03a80490a47b0b616566c6f56581560694976b1a as denominated

- .pick_status.json: Mark e1964e1dde7bf44ceeaf3fa8b3869e791af4a369 as denominated

- .pick_status.json: Mark 3ef093f697ad9027ba514c7a4a6a10b7bd95bd47 as denominated

- .pick_status.json: Mark 2d1b506acfe55165511a2bb83acb013353e531ab as denominated

- .pick_status.json: Mark 204ea77b0674fb611155bd3ba2e6169cc8646b3f as denominated

- .pick_status.json: Mark a5c7d34fdf8403b0115d5eead7ca67027e93efc7 as denominated

- .pick_status.json: Mark 432700fc61a33e0c040d47d9b7bd8cfe970d35cc as denominated

- .pick_status.json: Mark 4ed7329236a576b6b6f615787bb722b960f32c6b as denominated

- .pick_status.json: Mark 3f7da0c58447979976eb2928625b1f93154f6c57 as denominated

Erik Faye-Lund (2):

- docs: remove incorrect drivers from extension

- docs: fixup zink gl 4.3 requirements

Icecream95 (6):

- panfrost: Set PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION

- pan/bi: Check dependencies of both destinations of instructions

- panfrost: Set dirty state in set_shader_buffers

- panfrost: Re-emit descriptors after resource shadowing

- pan/bi: Make disassembler build reproducibly

- panfrost: Fix ubo_mask calculation

Faith Ekstrand (2):

- anv: Don’t assume depth/stencil attachments have depth

- lavapipe: Reset the free_cmd_buffers list in TrimCommandPool

Jonathan Gray (6):

- util: unbreak non-linux mips64 build

- util: fix util_cpu_detect_once() build on OpenBSD

- util/u_atomic: fix build on clang archs without 64-bit atomics

- util: fix build with clang 10 on mips64

- util: use correct type in sysctl argument

- radv: use MAJOR_IN_SYSMACROS for sysmacros.h include

Lionel Landwerlin (3):

- anv: fix conditional render for vkCmdDrawIndirectByteCountEXT

- anv: fix fast clear type value with external images

- intel/fs: fix total_scratch computation

Marek Olšák (2):

- amd: add a workaround for an SQ perf counter bug

- radeonsi: fix an assertion failure with register shadowing

Mike Blumenkrantz (16):

- gallivm: avoid division by zero when computing cube face

- zink: always update shader variants when rebinding a gfx program

- zink: use a fence for pipeline cache update jobs

- zink: wait on program cache fences before destroying programs

- zink: fix descriptor cache pointer array allocation

- zink: mark fbfetch push sets as non-cached

- zink: stop leaking descriptor sets

- zink: invalidate non-punted recycled descriptor sets that are not valid

- zink: fix 64bit float shader ops

- llvmpipe: fix debug print iterating in set_framebuffer_state

- llvmpipe: clamp surface clear geometry

- lavapipe: update multisample state after blend state

- aux/trace: rzalloc the context struct

- zink: lower dmod on AMD hardware

- lavapipe: skip format checks for EXTENDED_USAGE

- lavapipe: run nir_opt_copy_prop_vars during optimization loop

Paulo Zanoni (1):

- iris: fix register spilling on compute shaders on XeHP

Pierre-Eric Pelloux-Prayer (3):

- radeonsi: change rounding mode to round to even

- util/slab: add slab_zalloc

- gallium/tc: zero alloc transfers

Rhys Perry (2):

- anv: Enable nir_opt_access

- radv: include adjust_frag_coord_z in key

Rob Clark (1):

- mesa: Fix discard_framebuffer for fbo vs winsys

Samuel Pitoiset (2):

- radv,drirc: move RADV workarounds to 00-radv-defaults.conf

- radv: disable DCC for Fable Anniversary, Dragons Dogma, GTA IV and more

Timur Kristóf (1):

- ac/nir/ngg: Fix mixed up primitive ID after culling.

Xiaohui Gu (1):

- iris: Mark a dirty update when vs_needs_sgvs_element value changed