1Mesa 21.2.2 Release Notes / 2021-09-21 2====================================== 3 4Mesa 21.2.2 is a bug fix release which fixes bugs found since the 21.2.1 release. 5 6Mesa 21.2.2 implements the OpenGL 4.6 API, but the version reported by 7glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / 8glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. 9Some drivers don't support all the features required in OpenGL 4.6. OpenGL 104.6 is **only** available if requested at context creation. 11Compatibility contexts may report a lower version depending on each driver. 12 13Mesa 21.2.2 implements the Vulkan 1.2 API, but the version reported by 14the apiVersion property of the VkPhysicalDeviceProperties struct 15depends on the particular driver being used. 16 17SHA256 checksum 18--------------- 19 20:: 21 22 c4aaf1bf974217ed825e1c536de6ab72a4e266d44bcf69fc4ec499039f99e5c4 mesa-21.2.2.tar.xz 23 24 25New features 26------------ 27 28- None 29 30 31Bug fixes 32--------- 33 34- RADV: consistent crash in Splitgate 35- [RADV] The game "Aliens: Fireteam Elite" start crashing after commit 2e56e2342094e8ec90afa5265b1c43503f662939 36- llvmpipe doesn't compile a shader with an inner scope in a for loop 37- llvmpipe doesn't compile the increment of a for a loop 38- Mesa 21.2.1 implementation error: unexpected state[0] in make_state_flags() 39- freedreno: regression in org.skia.skqp.SkQPRunner#gles_localmatriximagefilter 40- [Radeonsi] VA-API Encoding no longer works on AMD PITCAIRN 41- turnip: Geometry flickering in Genshin Impact after 83e9a7fbcf53b90d0de66985dbbf91986fc7b05d 42- OSMesa problem resizing 43- Memory leak: si_get_shader_binary_size is missing a call to ac_rtld_close 44- dEQP-GLES3.stress.draw.unaligned_data.random.4 segfault 45- gl_DrawID is incorrect for glMultiDrawElementsBaseVertex/glMultiDrawElementsIndirect 46- i915: GPU hang when doing FB fetch and gl_FragDepth write in one shader 47- ../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp:10009:30: error: 'exchange' is not a member of 'std' 48- radv: disable DCC for displayable images with storage on navi12/14 49- RADV: Menu static/artifacts in Doom Eternal 50- Crash happens when testing GL_PIXEL_PACK_BUFFER 51- panfrost G31 - Cathedral crash- opengl 2.1 game (I guess) 52- panfrost / armv7 - crash with mesa newer than 21.0.3 53- freedreno C++14 build error 54- llvmpipe doesn't compile a valid shader with an useless switch 55- GetFragDataLocation(prog, "gl_FragColor") generates INVALID_OPERATION, but specs don't say it should 56 57 58Changes 59------- 60 61Adrian Bunk (1): 62 63- util/format: NEON is not available with the soft-float ABI 64 65Alyssa Rosenzweig (24): 66 67- panfrost: Handle non-dithered clear colours 68- panfrost: Disable shader-assisted indirect draws 69- pan/bi: Don't set td in blend shaders 70- pan/bi: Correct the sr_count on +ST_TILE 71- pan/bi: Extract load_sample_id to a helper 72- pan/bi: Set the sample ID for blend shader LD_TILE 73- pan/bi: Use CLPER_V6 on Mali G31 74- panfrost: Remove unneeded quirks from T760 75- panfrost: Use blendable check for tib read check 76- pan/mdg: Insert moves before writeout when needed 77- panfrost: Zero initialize blend_shaders 78- panfrost: Fix NULL dereference in allowlist code 79- panfrost: Protect the variants array with a lock 80- panfrost: Don't use ralloc for resources 81- panfrost: Move bo->label assignment into the lock 82- panfrost: Switch resources from an array to a set 83- panfrost: Cache number of users of a resource 84- panfrost: Maintain a bitmap of active batches 85- panfrost: Add foreach_batch iterator 86- panfrost: Prefer batch->resources to rsrc->users 87- panfrost: Remove rsrc->track.users 88- panfrost: Remove writer = NULL assignments 89- panfrost: Replace writers pointer with hash table 90- panfrost: Raise maximum texture size 91 92Bas Nieuwenhuizen (2): 93 94- util/fossilize_db: Don't corrupt keys during entry read. 95- nir: Avoid visiting instructions multiple times in nir_instr_free_and_dce. 96 97Boris Brezillon (2): 98 99- panfrost: Add explicit padding to pan_blend_shader_key 100- panfrost: v7 does not support RGB32_UNORM textures 101 102Connor Abbott (4): 103 104- ir3/ra: Fix available bitset for live-through collect srcs 105- ir3/ra: Handle huge merge sets 106- ir3/lower_pcopy: Use right flags for src const/immed 107- ir3/lower_pcopy: Set entry->done in the swap loop 108 109Corentin Noël (1): 110 111- glx: Prevent crashes when an extension isn't found 112 113Daniel Schürmann (1): 114 115- aco: fix p_insert lowering with 16bit sources 116 117Danylo Piliaiev (1): 118 119- turnip: re-emit vertex params after they are invalidated 120 121Dave Airlie (5): 122 123- vulkan/wsi/sw: wait for image fence before submitting to queue 124- crocus: copy views before adjusting 125- crocus: add missing line smooth bits. 126- crocus: add missing fs dirty on reduced prim change. 127- crocus/gen7: add missing IVB/GT2 geom shader workaround. 128 129Dylan Baker (11): 130 131- docs: add SHA256 sum for mesa 21.2.1 132- .pick_status.json: Update to 35c3f5f08b7b11f3896412fb5778f127be329615 133- .pick_status.json: Update to 8e5e70bb3de7f75ab1b039e2cec2975ba59e4af7 134- .pick_status.json: Update to 572ed2249465acd4c5f8a229d504a48cbddf95a5 135- .pick_status.json: Update to 71e748ad2443c373bb090fa1da2626da367b1d20 136- .pick_status.json: Update to 9bc61108d73db4e614dda2a27750ff80165eedbb 137- .pick_status.json: Update to a6a89aaa2f2943532d99d9bc7b80106a1740f237 138- .pick_status.json: Update to f4b61e90617f19ca1b8a3cfe046bac5801081057 139- .pick_status.json: Update to 076c8f041a63c74c31d9f541684860628a8b9979 140- .pick_status.json: Update to b58d6eaf1174aab296c4230e3895c65cba4bd9e3 141- .pick_status.json: Update to 7244aa19806cec5265e1e219cac1a99b0d3c62c6 142 143Ed Martin (1): 144 145- winsys/radeonsi: Set vce_encode = true when VCE found 146 147Emma Anholt (2): 148 149- llvmpipe: Free CS shader images on context destroy. 150- llvmpipe: Fix leak of CS local memory with 0 threads. 151 152Erik Faye-Lund (4): 153 154- gallivm: fix texture-mapping with 16-bit result 155- gallium/nir/tgsi: fixup indentation 156- gallium/nir/tgsi: initialize file_max for inputs 157- lavapipe: fix reported subpixel precision for lines 158 159Filip Gawin (2): 160 161- nir: fix shadowed variable in nir_lower_bit_size.c 162- nir: fix ifind_msb_rev by using appropriate type 163 164Ian Romanick (3): 165 166- util: Add and use functions to calculate min and max int for a size 167- nir/lower_bit_size: Support add_sat and sub_sat 168- nir/lower_gs_intrinsics: Return progress if append_set_vertex_and_primitive_count makes progress 169 170Icecream95 (1): 171 172- pan/bi: Extend bi_add_nop_for_atest for tilebuffer loads 173 174Ilia Mirkin (3): 175 176- mesa: don't return errors for gl_* GetFragData* queries 177- glsl: fix explicit-location ifc matching in presence of array types 178- freedreno: use OUT_WFI for emit_marker 179 180Jason Ekstrand (1): 181 182- anv: Set CONTEXT_PARAM_RECOVERABLE to false 183 184Jordan Justen (1): 185 186- intel/isl: Enable MOCS 61 for external surfaces on TGL 187 188Juan A. Suarez Romero (1): 189 190- broadcom/compiler: force a last thrsw for spilling 191 192Lionel Landwerlin (2): 193 194- nir: prevent peephole from generating invalid NIR 195- intel/fs: fix framebuffer reads 196 197Mao, Marc (1): 198 199- iris: declare padding for iris_vue_prog_key 200 201Marcin Ślusarz (2): 202 203- glsl: propagate errors from \*=, /=, +=, -= operators 204- glsl: break out early if compound assignment's operand errored out 205 206Marek Olšák (6): 207 208- mesa: remove unused indices parameter from validate functions 209- mesa: fix gl_DrawID with indirect multi draws using user indirect buffer 210- mesa: skip draw calls with unaligned indices 211- radeonsi: fix a memory leak in si_get_shader_binary_size 212- radeonsi: disable DCC stores on Navi12-14 for displayable DCC to fix corruption 213- radeonsi: strengthen the VGT_FLUSH condition in begin_new_gfx_cs 214 215Mike Blumenkrantz (8): 216 217- nir/lower_vectorize_tess_levels: set num_components for vectorized loads 218- zink: fix pipeline caching 219- radv: use pool stride when copying single query results 220- zink: free local shader nirs on program free 221- zink: destroy shader modules on program free to avoid leaking 222- tgsi_to_nir: force int type for LAYER output 223- util/primconvert: force restart rewrites if original primtype wasn't supported 224- zink: fix ZINK_MAX_DESCRIPTORS_PER_TYPE to stop exploding the stack 225 226Nanley Chery (1): 227 228- intel/blorp: Fix Gfx7 stencil surface state valign 229 230Neha Bhende (1): 231 232- svga/drm: use pb_usage_flags instead of pipe_map_flags in vmw_svga_winsys_buffer_map 233 234Quantum (1): 235 236- main: allow all external textures for BindImageTexture 237 238Rhys Perry (4): 239 240- aco: include utility in isel 241- aco: don't constant propagate to DPP instructions 242- aco/spill: add temporary operands of exec phis to next_use_distances_end 243- nir: fix serialization of loop/if control 244 245Samuel Pitoiset (5): 246 247- radv: fix fast clearing depth images with mips on GFX10+ 248- radv: fix copying depth+stencil images on compute 249- radv: disable DCC image stores on Navi12-14 for displayable DCC corruption 250- radv: fix determining the maximum number of waves that can use scratch 251- radv/llvm: fix using Wave32 252 253Simon Ser (4): 254 255- etnaviv: add stride, offset and modifier to resource_get_param 256- panfrost: implement resource_get_param 257- vc4: implement resource_get_param 258- v3d: implement resource_get_param 259 260Timothy Arceri (6): 261 262- glsl: fix variable scope for instructions inside case statements 263- nir: move nir_block_ends_in_break() to nir.h 264- mesa: fix mesa_problem() call in _mesa_program_state_flags() 265- glsl: fix variable scope for loop-expression 266- glsl: handle scope correctly when inlining loop expression 267- glsl: fix variable scope for do-while loops 268 269Timur Kristóf (7): 270 271- aco: Fix to_uniform_bool_instr when operands are not suitable. 272- aco: Emit zero for the derivatives of uniforms. 273- aco: Unset 16 and 24-bit flags from operands in apply_extract. 274- nir: Fix local_invocation_index upper bound for non-compute-like stages. 275- aco: Fix invalid usage of std::fill with std::array. 276- aco: Use Builder reference in emit_copies_block. 277- aco: Skip code paths to emit copies when there are no copies. 278 279Vinson Lee (1): 280 281- freedreno: Require C++17. 282 283Yevhenii Kharchenko (1): 284 285- iris: fix layer calculation for TEXTURE_3D ReadPixels() on mip-level>0 286 287liuyujun (1): 288 289- gallium: fix surface->destroy use-after-free 290 291mattvchandler (1): 292 293- gallium/osmesa: fix buffer resizing 294