17ec681f3SmrgMesa 21.2.2 Release Notes / 2021-09-21 27ec681f3Smrg====================================== 37ec681f3Smrg 47ec681f3SmrgMesa 21.2.2 is a bug fix release which fixes bugs found since the 21.2.1 release. 57ec681f3Smrg 67ec681f3SmrgMesa 21.2.2 implements the OpenGL 4.6 API, but the version reported by 77ec681f3SmrgglGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / 87ec681f3SmrgglGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. 97ec681f3SmrgSome drivers don't support all the features required in OpenGL 4.6. OpenGL 107ec681f3Smrg4.6 is **only** available if requested at context creation. 117ec681f3SmrgCompatibility contexts may report a lower version depending on each driver. 127ec681f3Smrg 137ec681f3SmrgMesa 21.2.2 implements the Vulkan 1.2 API, but the version reported by 147ec681f3Smrgthe apiVersion property of the VkPhysicalDeviceProperties struct 157ec681f3Smrgdepends on the particular driver being used. 167ec681f3Smrg 177ec681f3SmrgSHA256 checksum 187ec681f3Smrg--------------- 197ec681f3Smrg 207ec681f3Smrg:: 217ec681f3Smrg 227ec681f3Smrg c4aaf1bf974217ed825e1c536de6ab72a4e266d44bcf69fc4ec499039f99e5c4 mesa-21.2.2.tar.xz 237ec681f3Smrg 247ec681f3Smrg 257ec681f3SmrgNew features 267ec681f3Smrg------------ 277ec681f3Smrg 287ec681f3Smrg- None 297ec681f3Smrg 307ec681f3Smrg 317ec681f3SmrgBug fixes 327ec681f3Smrg--------- 337ec681f3Smrg 347ec681f3Smrg- RADV: consistent crash in Splitgate 357ec681f3Smrg- [RADV] The game "Aliens: Fireteam Elite" start crashing after commit 2e56e2342094e8ec90afa5265b1c43503f662939 367ec681f3Smrg- llvmpipe doesn't compile a shader with an inner scope in a for loop 377ec681f3Smrg- llvmpipe doesn't compile the increment of a for a loop 387ec681f3Smrg- Mesa 21.2.1 implementation error: unexpected state[0] in make_state_flags() 397ec681f3Smrg- freedreno: regression in org.skia.skqp.SkQPRunner#gles_localmatriximagefilter 407ec681f3Smrg- [Radeonsi] VA-API Encoding no longer works on AMD PITCAIRN 417ec681f3Smrg- turnip: Geometry flickering in Genshin Impact after 83e9a7fbcf53b90d0de66985dbbf91986fc7b05d 427ec681f3Smrg- OSMesa problem resizing 437ec681f3Smrg- Memory leak: si_get_shader_binary_size is missing a call to ac_rtld_close 447ec681f3Smrg- dEQP-GLES3.stress.draw.unaligned_data.random.4 segfault 457ec681f3Smrg- gl_DrawID is incorrect for glMultiDrawElementsBaseVertex/glMultiDrawElementsIndirect 467ec681f3Smrg- i915: GPU hang when doing FB fetch and gl_FragDepth write in one shader 477ec681f3Smrg- ../mesa-9999/src/amd/compiler/aco_instruction_selection.cpp:10009:30: error: 'exchange' is not a member of 'std' 487ec681f3Smrg- radv: disable DCC for displayable images with storage on navi12/14 497ec681f3Smrg- RADV: Menu static/artifacts in Doom Eternal 507ec681f3Smrg- Crash happens when testing GL_PIXEL_PACK_BUFFER 517ec681f3Smrg- panfrost G31 - Cathedral crash- opengl 2.1 game (I guess) 527ec681f3Smrg- panfrost / armv7 - crash with mesa newer than 21.0.3 537ec681f3Smrg- freedreno C++14 build error 547ec681f3Smrg- llvmpipe doesn't compile a valid shader with an useless switch 557ec681f3Smrg- GetFragDataLocation(prog, "gl_FragColor") generates INVALID_OPERATION, but specs don't say it should 567ec681f3Smrg 577ec681f3Smrg 587ec681f3SmrgChanges 597ec681f3Smrg------- 607ec681f3Smrg 617ec681f3SmrgAdrian Bunk (1): 627ec681f3Smrg 637ec681f3Smrg- util/format: NEON is not available with the soft-float ABI 647ec681f3Smrg 657ec681f3SmrgAlyssa Rosenzweig (24): 667ec681f3Smrg 677ec681f3Smrg- panfrost: Handle non-dithered clear colours 687ec681f3Smrg- panfrost: Disable shader-assisted indirect draws 697ec681f3Smrg- pan/bi: Don't set td in blend shaders 707ec681f3Smrg- pan/bi: Correct the sr_count on +ST_TILE 717ec681f3Smrg- pan/bi: Extract load_sample_id to a helper 727ec681f3Smrg- pan/bi: Set the sample ID for blend shader LD_TILE 737ec681f3Smrg- pan/bi: Use CLPER_V6 on Mali G31 747ec681f3Smrg- panfrost: Remove unneeded quirks from T760 757ec681f3Smrg- panfrost: Use blendable check for tib read check 767ec681f3Smrg- pan/mdg: Insert moves before writeout when needed 777ec681f3Smrg- panfrost: Zero initialize blend_shaders 787ec681f3Smrg- panfrost: Fix NULL dereference in allowlist code 797ec681f3Smrg- panfrost: Protect the variants array with a lock 807ec681f3Smrg- panfrost: Don't use ralloc for resources 817ec681f3Smrg- panfrost: Move bo->label assignment into the lock 827ec681f3Smrg- panfrost: Switch resources from an array to a set 837ec681f3Smrg- panfrost: Cache number of users of a resource 847ec681f3Smrg- panfrost: Maintain a bitmap of active batches 857ec681f3Smrg- panfrost: Add foreach_batch iterator 867ec681f3Smrg- panfrost: Prefer batch->resources to rsrc->users 877ec681f3Smrg- panfrost: Remove rsrc->track.users 887ec681f3Smrg- panfrost: Remove writer = NULL assignments 897ec681f3Smrg- panfrost: Replace writers pointer with hash table 907ec681f3Smrg- panfrost: Raise maximum texture size 917ec681f3Smrg 927ec681f3SmrgBas Nieuwenhuizen (2): 937ec681f3Smrg 947ec681f3Smrg- util/fossilize_db: Don't corrupt keys during entry read. 957ec681f3Smrg- nir: Avoid visiting instructions multiple times in nir_instr_free_and_dce. 967ec681f3Smrg 977ec681f3SmrgBoris Brezillon (2): 987ec681f3Smrg 997ec681f3Smrg- panfrost: Add explicit padding to pan_blend_shader_key 1007ec681f3Smrg- panfrost: v7 does not support RGB32_UNORM textures 1017ec681f3Smrg 1027ec681f3SmrgConnor Abbott (4): 1037ec681f3Smrg 1047ec681f3Smrg- ir3/ra: Fix available bitset for live-through collect srcs 1057ec681f3Smrg- ir3/ra: Handle huge merge sets 1067ec681f3Smrg- ir3/lower_pcopy: Use right flags for src const/immed 1077ec681f3Smrg- ir3/lower_pcopy: Set entry->done in the swap loop 1087ec681f3Smrg 1097ec681f3SmrgCorentin Noël (1): 1107ec681f3Smrg 1117ec681f3Smrg- glx: Prevent crashes when an extension isn't found 1127ec681f3Smrg 1137ec681f3SmrgDaniel Schürmann (1): 1147ec681f3Smrg 1157ec681f3Smrg- aco: fix p_insert lowering with 16bit sources 1167ec681f3Smrg 1177ec681f3SmrgDanylo Piliaiev (1): 1187ec681f3Smrg 1197ec681f3Smrg- turnip: re-emit vertex params after they are invalidated 1207ec681f3Smrg 1217ec681f3SmrgDave Airlie (5): 1227ec681f3Smrg 1237ec681f3Smrg- vulkan/wsi/sw: wait for image fence before submitting to queue 1247ec681f3Smrg- crocus: copy views before adjusting 1257ec681f3Smrg- crocus: add missing line smooth bits. 1267ec681f3Smrg- crocus: add missing fs dirty on reduced prim change. 1277ec681f3Smrg- crocus/gen7: add missing IVB/GT2 geom shader workaround. 1287ec681f3Smrg 1297ec681f3SmrgDylan Baker (11): 1307ec681f3Smrg 1317ec681f3Smrg- docs: add SHA256 sum for mesa 21.2.1 1327ec681f3Smrg- .pick_status.json: Update to 35c3f5f08b7b11f3896412fb5778f127be329615 1337ec681f3Smrg- .pick_status.json: Update to 8e5e70bb3de7f75ab1b039e2cec2975ba59e4af7 1347ec681f3Smrg- .pick_status.json: Update to 572ed2249465acd4c5f8a229d504a48cbddf95a5 1357ec681f3Smrg- .pick_status.json: Update to 71e748ad2443c373bb090fa1da2626da367b1d20 1367ec681f3Smrg- .pick_status.json: Update to 9bc61108d73db4e614dda2a27750ff80165eedbb 1377ec681f3Smrg- .pick_status.json: Update to a6a89aaa2f2943532d99d9bc7b80106a1740f237 1387ec681f3Smrg- .pick_status.json: Update to f4b61e90617f19ca1b8a3cfe046bac5801081057 1397ec681f3Smrg- .pick_status.json: Update to 076c8f041a63c74c31d9f541684860628a8b9979 1407ec681f3Smrg- .pick_status.json: Update to b58d6eaf1174aab296c4230e3895c65cba4bd9e3 1417ec681f3Smrg- .pick_status.json: Update to 7244aa19806cec5265e1e219cac1a99b0d3c62c6 1427ec681f3Smrg 1437ec681f3SmrgEd Martin (1): 1447ec681f3Smrg 1457ec681f3Smrg- winsys/radeonsi: Set vce_encode = true when VCE found 1467ec681f3Smrg 1477ec681f3SmrgEmma Anholt (2): 1487ec681f3Smrg 1497ec681f3Smrg- llvmpipe: Free CS shader images on context destroy. 1507ec681f3Smrg- llvmpipe: Fix leak of CS local memory with 0 threads. 1517ec681f3Smrg 1527ec681f3SmrgErik Faye-Lund (4): 1537ec681f3Smrg 1547ec681f3Smrg- gallivm: fix texture-mapping with 16-bit result 1557ec681f3Smrg- gallium/nir/tgsi: fixup indentation 1567ec681f3Smrg- gallium/nir/tgsi: initialize file_max for inputs 1577ec681f3Smrg- lavapipe: fix reported subpixel precision for lines 1587ec681f3Smrg 1597ec681f3SmrgFilip Gawin (2): 1607ec681f3Smrg 1617ec681f3Smrg- nir: fix shadowed variable in nir_lower_bit_size.c 1627ec681f3Smrg- nir: fix ifind_msb_rev by using appropriate type 1637ec681f3Smrg 1647ec681f3SmrgIan Romanick (3): 1657ec681f3Smrg 1667ec681f3Smrg- util: Add and use functions to calculate min and max int for a size 1677ec681f3Smrg- nir/lower_bit_size: Support add_sat and sub_sat 1687ec681f3Smrg- nir/lower_gs_intrinsics: Return progress if append_set_vertex_and_primitive_count makes progress 1697ec681f3Smrg 1707ec681f3SmrgIcecream95 (1): 1717ec681f3Smrg 1727ec681f3Smrg- pan/bi: Extend bi_add_nop_for_atest for tilebuffer loads 1737ec681f3Smrg 1747ec681f3SmrgIlia Mirkin (3): 1757ec681f3Smrg 1767ec681f3Smrg- mesa: don't return errors for gl_* GetFragData* queries 1777ec681f3Smrg- glsl: fix explicit-location ifc matching in presence of array types 1787ec681f3Smrg- freedreno: use OUT_WFI for emit_marker 1797ec681f3Smrg 1807ec681f3SmrgJason Ekstrand (1): 1817ec681f3Smrg 1827ec681f3Smrg- anv: Set CONTEXT_PARAM_RECOVERABLE to false 1837ec681f3Smrg 1847ec681f3SmrgJordan Justen (1): 1857ec681f3Smrg 1867ec681f3Smrg- intel/isl: Enable MOCS 61 for external surfaces on TGL 1877ec681f3Smrg 1887ec681f3SmrgJuan A. Suarez Romero (1): 1897ec681f3Smrg 1907ec681f3Smrg- broadcom/compiler: force a last thrsw for spilling 1917ec681f3Smrg 1927ec681f3SmrgLionel Landwerlin (2): 1937ec681f3Smrg 1947ec681f3Smrg- nir: prevent peephole from generating invalid NIR 1957ec681f3Smrg- intel/fs: fix framebuffer reads 1967ec681f3Smrg 1977ec681f3SmrgMao, Marc (1): 1987ec681f3Smrg 1997ec681f3Smrg- iris: declare padding for iris_vue_prog_key 2007ec681f3Smrg 2017ec681f3SmrgMarcin Ślusarz (2): 2027ec681f3Smrg 2037ec681f3Smrg- glsl: propagate errors from \*=, /=, +=, -= operators 2047ec681f3Smrg- glsl: break out early if compound assignment's operand errored out 2057ec681f3Smrg 2067ec681f3SmrgMarek Olšák (6): 2077ec681f3Smrg 2087ec681f3Smrg- mesa: remove unused indices parameter from validate functions 2097ec681f3Smrg- mesa: fix gl_DrawID with indirect multi draws using user indirect buffer 2107ec681f3Smrg- mesa: skip draw calls with unaligned indices 2117ec681f3Smrg- radeonsi: fix a memory leak in si_get_shader_binary_size 2127ec681f3Smrg- radeonsi: disable DCC stores on Navi12-14 for displayable DCC to fix corruption 2137ec681f3Smrg- radeonsi: strengthen the VGT_FLUSH condition in begin_new_gfx_cs 2147ec681f3Smrg 2157ec681f3SmrgMike Blumenkrantz (8): 2167ec681f3Smrg 2177ec681f3Smrg- nir/lower_vectorize_tess_levels: set num_components for vectorized loads 2187ec681f3Smrg- zink: fix pipeline caching 2197ec681f3Smrg- radv: use pool stride when copying single query results 2207ec681f3Smrg- zink: free local shader nirs on program free 2217ec681f3Smrg- zink: destroy shader modules on program free to avoid leaking 2227ec681f3Smrg- tgsi_to_nir: force int type for LAYER output 2237ec681f3Smrg- util/primconvert: force restart rewrites if original primtype wasn't supported 2247ec681f3Smrg- zink: fix ZINK_MAX_DESCRIPTORS_PER_TYPE to stop exploding the stack 2257ec681f3Smrg 2267ec681f3SmrgNanley Chery (1): 2277ec681f3Smrg 2287ec681f3Smrg- intel/blorp: Fix Gfx7 stencil surface state valign 2297ec681f3Smrg 2307ec681f3SmrgNeha Bhende (1): 2317ec681f3Smrg 2327ec681f3Smrg- svga/drm: use pb_usage_flags instead of pipe_map_flags in vmw_svga_winsys_buffer_map 2337ec681f3Smrg 2347ec681f3SmrgQuantum (1): 2357ec681f3Smrg 2367ec681f3Smrg- main: allow all external textures for BindImageTexture 2377ec681f3Smrg 2387ec681f3SmrgRhys Perry (4): 2397ec681f3Smrg 2407ec681f3Smrg- aco: include utility in isel 2417ec681f3Smrg- aco: don't constant propagate to DPP instructions 2427ec681f3Smrg- aco/spill: add temporary operands of exec phis to next_use_distances_end 2437ec681f3Smrg- nir: fix serialization of loop/if control 2447ec681f3Smrg 2457ec681f3SmrgSamuel Pitoiset (5): 2467ec681f3Smrg 2477ec681f3Smrg- radv: fix fast clearing depth images with mips on GFX10+ 2487ec681f3Smrg- radv: fix copying depth+stencil images on compute 2497ec681f3Smrg- radv: disable DCC image stores on Navi12-14 for displayable DCC corruption 2507ec681f3Smrg- radv: fix determining the maximum number of waves that can use scratch 2517ec681f3Smrg- radv/llvm: fix using Wave32 2527ec681f3Smrg 2537ec681f3SmrgSimon Ser (4): 2547ec681f3Smrg 2557ec681f3Smrg- etnaviv: add stride, offset and modifier to resource_get_param 2567ec681f3Smrg- panfrost: implement resource_get_param 2577ec681f3Smrg- vc4: implement resource_get_param 2587ec681f3Smrg- v3d: implement resource_get_param 2597ec681f3Smrg 2607ec681f3SmrgTimothy Arceri (6): 2617ec681f3Smrg 2627ec681f3Smrg- glsl: fix variable scope for instructions inside case statements 2637ec681f3Smrg- nir: move nir_block_ends_in_break() to nir.h 2647ec681f3Smrg- mesa: fix mesa_problem() call in _mesa_program_state_flags() 2657ec681f3Smrg- glsl: fix variable scope for loop-expression 2667ec681f3Smrg- glsl: handle scope correctly when inlining loop expression 2677ec681f3Smrg- glsl: fix variable scope for do-while loops 2687ec681f3Smrg 2697ec681f3SmrgTimur Kristóf (7): 2707ec681f3Smrg 2717ec681f3Smrg- aco: Fix to_uniform_bool_instr when operands are not suitable. 2727ec681f3Smrg- aco: Emit zero for the derivatives of uniforms. 2737ec681f3Smrg- aco: Unset 16 and 24-bit flags from operands in apply_extract. 2747ec681f3Smrg- nir: Fix local_invocation_index upper bound for non-compute-like stages. 2757ec681f3Smrg- aco: Fix invalid usage of std::fill with std::array. 2767ec681f3Smrg- aco: Use Builder reference in emit_copies_block. 2777ec681f3Smrg- aco: Skip code paths to emit copies when there are no copies. 2787ec681f3Smrg 2797ec681f3SmrgVinson Lee (1): 2807ec681f3Smrg 2817ec681f3Smrg- freedreno: Require C++17. 2827ec681f3Smrg 2837ec681f3SmrgYevhenii Kharchenko (1): 2847ec681f3Smrg 2857ec681f3Smrg- iris: fix layer calculation for TEXTURE_3D ReadPixels() on mip-level>0 2867ec681f3Smrg 2877ec681f3Smrgliuyujun (1): 2887ec681f3Smrg 2897ec681f3Smrg- gallium: fix surface->destroy use-after-free 2907ec681f3Smrg 2917ec681f3Smrgmattvchandler (1): 2927ec681f3Smrg 2937ec681f3Smrg- gallium/osmesa: fix buffer resizing 294