Mesa 17.2.1 Release Notes / September 17, 2017
==============================================

Mesa 17.2.1 is a bug fix release which fixes bugs found since the 17.2.0
release.

Mesa 17.2.1 implements the OpenGL 4.5 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.5. OpenGL 4.5 is **only** available if requested at context creation
because compatibility contexts are not supported.

SHA256 checksums
----------------

::

    c902d8dc2540195bc570d88af1a8fd8a1774373660a27bb1d539551f46824bc1  mesa-17.2.1.tar.gz
    77385d17827cff24a3bae134342234f2efe7f7f990e778109682571dbbc9ba1e  mesa-17.2.1.tar.xz

New features
------------

None

Bug fixes
---------

-  `Bug 100613 <https://bugs.freedesktop.org/show_bug.cgi?id=100613>`__
   - Regression in Mesa 17 on s390x (zSystems)
-  `Bug 101709 <https://bugs.freedesktop.org/show_bug.cgi?id=101709>`__
   - [llvmpipe] piglit gl-1.0-scissor-offscreen regression
-  `Bug 102454 <https://bugs.freedesktop.org/show_bug.cgi?id=102454>`__
   - glibc 2.26 doesn't provide anymore xlocale.h
-  `Bug 102467 <https://bugs.freedesktop.org/show_bug.cgi?id=102467>`__
   - src/mesa/state\_tracker/st\_cb\_readpixels.c:178]: (warning)
   Redundant assignment
-  `Bug 102502 <https://bugs.freedesktop.org/show_bug.cgi?id=102502>`__
   - [bisected] Kodi crashes since commit 707d2e8b - gallium: fold
   u\_trim\_pipe\_prim call from st/mesa to drivers

Changes
-------

Bas Nieuwenhuizen (4):

-  radv: Actually set the cmd\_buffer usage\_flags.
-  radv: Fix vkCopyImage with both depth and stencil aspects.
-  radv: Disable multilayer & multilevel DCC.
-  radv: Don't allocate CMASK for linear images.

Ben Crocker (1):

-  llvmpipe: lp\_build\_gather\_elem\_vec BE fix for 3x16 load

Brian Paul (1):

-  llvmpipe: initialize llvmpipe->dirty with LP\_NEW\_SCISSOR

Charmaine Lee (1):

-  vbo: fix offset in minmax cache key

Dave Airlie (12):

-  radv: disable 1d/2d linear optimisation on gfx9.
-  radv/gfx9: set descriptor up for base\_mip to level range.
-  Revert "radv: disable support for VEGA for now."
-  radv/winsys: use amdgpu\_bo\_va\_op\_raw.
-  radv/gfx9: allocate events from uncached VA space
-  radv: use simpler indirect packet 3 if possible.
-  radv: don't use iview for meta image width/height.
-  radv: handle GFX9 1D textures
-  radv/gfx9: set mip0-depth correctly for 2d arrays/3d images
-  radv/ac: bump params array for image atomic comp swap
-  radv/gfx9: fix image resource handling.
-  radv/winsys: fix flags vs va\_flags thinko.

Emil Velikov (7):

-  docs: add sha256 checksums for 17.2.0
-  cherry-ignore: add getCapability patches
-  cherry-ignore: ignore gfx9 tile swizzle fix
-  cherry-ignore: add execution\_type() fix to the list
-  cherry-ignore: add EGL+gbm swast patches
-  egl/x11/dri3: adding missing \_\_DRI\_BACKGROUND\_CALLABLE extension
-  Update version to 17.2.1

Eric Engestrom (3):

-  util: improve compiler guard
-  mesa/st: remove unwanted backup file
-  docs/egl: remove reference to EGL\_DRIVERS\_PATH

Grazvydas Ignotas (1):

-  radv: don't assert on empty hash table

Jason Ekstrand (2):

-  anv/formats: Nicely handle unknown VkFormat enums
-  spirv: Add support for the HelperInvocation builtin

Karol Herbst (1):

-  nvc0: write 0 to pipeline\_statistics.cs\_invocations

Kenneth Graunke (2):

-  i965: Fix crash in fallback GTT mapping.
-  i965: Set "Subslice Hashing Mode" to 16x16 on Apollolake.

Marek Olšák (1):

-  st/mesa: skip draw calls with pipe\_draw\_info::count == 0

Michael Olbrich (1):

-  egl/dri2: only destroy created objects

Nicolai Hähnle (1):

-  radeonsi: apply a mask to gl\_SampleMaskIn in the PS prolog

Nicolai Hähnle (4):

-  radeonsi/gfx9: always flush DB metadata on framebuffer changes
-  st/glsl\_to\_tgsi: only the first (inner-most) array reference can be
   a 2D index
-  ac/surface: match Z and stencil tile config
-  glsl: fix glsl\_struct\_field size calculations for shader cache

Ray Strode (1):

-  gallivm: correct channel shift logic on big endian

Rob Clark (1):

-  freedreno: skip batch-cache for compute shaders

Roland Scheidegger (1):

-  st/mesa: fix view template initialization in try\_pbo\_readpixels

Samuel Pitoiset (1):

-  radeonsi: update dirty\_level\_mask before dispatching

Timothy Arceri (9):

-  glsl: allow NULL to be passed to encode\_type\_to\_blob()
-  glsl: stop adding pointers from gl\_shader\_variable to the cache
-  glsl: stop adding pointers from glsl\_struct\_field to the cache
-  glsl: add has\_uniform\_storage() helper to shader cache
-  glsl: don't write uniform storage offset if there isn't one
-  glsl: always write a name/label string to the cache
-  compiler: move pointers to the start of shader\_info
-  glsl: stop adding pointers from shader\_info to the cache
-  glsl: stop adding pointers from bindless structs to the cache