Timo Aaltonen pushed to branch debian-experimental at X Strike Force / lib / mesa
Commits: 62d457ee by Bas Nieuwenhuizen at 2019-02-27T17:02:32Z radv: Interpolate less aggressively. Seems like dxvk used integer builtins without setting the flat interpolation decoration. I believe in the current spec the app is required to set these, but in the meantime to avoid breaking things in stable releases (and so close to release for 19.0), only expand the interpolation to float16 and struct (which cannot be builtins as our spirv parser lowers the builtin block). Fixes: f3247841040 "radv: Allow interpolation on non-float types." Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> (cherry picked from commit c0110477b5503978adf37f64c65c30c9304e3fe4) - - - - - f3454823 by Brian Paul at 2019-02-27T17:03:31Z mesa: fix display list corner case assertion This fixes a failed assertion in glDeleteLists() for the following case: list = glGenLists(1); glDeleteLists(list, 1); when those are the first display list commands issued by the application. When we generate display lists, we plug in empty lists created with the make_list() helper. This function uses the OPCODE_END_OF_LIST opcode but does not call dlist_alloc() which would set the InstSize[OPCODE_END_OF_LIST] element to non-zero. When the empty list was deleted, we failed the InstSize[opcode] > 0 assertion. Typically, display lists are created with glNewList/glEndList so we set InstSize[OPCODE_END_OF_LIST] = 1 in dlist_alloc(). That's why this bug wasn't found before. To fix this failure, simply initialize the InstSize[OPCODE_END_OF_LIST] element in make_list(). The game oolite was hitting this. Fixes: https://github.com/OoliteProject/oolite/issues/325 Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 6dabcb5bcfd5dc4c62dbdb1cfd1ea95e45a47f8a) - - - - - 17361a3b by Jose Fonseca at 2019-02-28T21:28:22Z scons: Workaround failures with MSVC when using SCons 3.0.[2-4]. This change applies the workaround suggested by Bill Deegan on the affected SCons versions. It also adds a comment with the URL explaining why we were using customizing the decider and max_drift in the first place, as I had forgotten all about it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109443 Tested-by: liviupro...@yahoo.com Reviewed-by: Roland Scheidegger <srol...@vmware.com> Reviewed-by: Brian Paul <bri...@vmware.com> - - - - - 04fd26cd by Jonathan Marek at 2019-03-05T20:03:05Z freedreno: a2xx: don't write 4th vertex in mem2gmem There is only room for 3 vertices now (RECT has 3 vertices). Fixes: 6ef7700a Signed-off-by: Jonathan Marek <jonat...@marek.ca> (cherry picked from commit 357313ab0f123b4e4b1efc74f5e5b1514c421e68) - - - - - 00fd6cf1 by Jonathan Marek at 2019-03-05T20:03:05Z freedreno: a2xx: add use_hw_binning function Fixes: cb2322c7 Signed-off-by: Jonathan Marek <jonat...@marek.ca> (cherry picked from commit 8eca6df5ed5ad6df51a3aad271856d7da56d1292) - - - - - 84effbe0 by Jonathan Marek at 2019-03-05T20:03:05Z freedreno: a2xx: fix fast clear for some gmem configurations In freedreno_gmem.c, gmem_align of 0x8000 is used. Alignment used here should be the same. Fixes: 912a9c8d Signed-off-by: Jonathan Marek <jonat...@marek.ca> (cherry picked from commit 4f23767590d1374c4cf2b5ddeedd9dd375c296f1) - - - - - 548893d5 by Jonathan Marek at 2019-03-05T20:03:05Z freedreno: a2xx: fix mipmapping for NPOT textures Fixes: 3a273a4a Signed-off-by: Jonathan Marek <jonat...@marek.ca> (cherry picked from commit 6c0fefb448f0b72971c96a60907c77ce0512d590) - - - - - 4b8df622 by Jonathan Marek at 2019-03-05T20:03:05Z freedreno: use renderonly path for buffers allocated with modifiers Now that freedreno has create_with_modifiers(), this "hack" is needed to make some cases work. Copied from vc4. Fixes: 41ddf1d1 Signed-off-by: Jonathan Marek <jonat...@marek.ca> (cherry picked from commit e3591b03393402321d24e10b93ec5a827a4b9b6a) - - - - - 77ae9a3a by Lionel Landwerlin at 2019-03-05T20:03:05Z intel/compiler: use correct swizzle for replacement The optimization in 4cd1a0be76883c introduced a replacement of : cmp(8).z.f0.0 vgrf11.y:D, vgrf10.xxxx:D, vgrf2.xyyy:D ... cmp(8).nz.f0.0 null.x:D, vgrf11.yyyy:D, 0D By : cmp(8).z.f0.0 vgrf15.x:D, vgrf10.xxxx:D, vgrf2.yyyy:D ... mov(8) vgrf11.y:D, vgrf15.yyyy:D The first cmp instruction is storing in x while the second mov is sourcing from y. We need to take into account where the replacement on the scan_inst destination is going to store thing so that the replacement mov can source things from the correct location. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: 4cd1a0be76883c ("i965/vec4: Propagate conditional modifiers from more compares to other compares") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109759 Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> (cherry picked from commit 6e184147ddce11e90c269a47af7d7395f5ed9c12) - - - - - 578716cb by Yevhenii Kolesnikov at 2019-03-05T20:03:05Z i965: Fix allow_higher_compat_version workaround limited by OpenGL 3.0 Added check for higher compat profile being allowed before assigning certain extensions. Fixes: 272fe9494232 (mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile) Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesni...@globallogic.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107052 (cherry picked from commit 07f4b4e4034d6c9f48d136ec39a03e59f65783cb) - - - - - 6b067b8d by Timothy Arceri at 2019-03-05T20:03:05Z glsl: fix shader cache for packed param list Some types of params such as some builtins are always padded. We need to keep track of this so we can restore the list correctly. Here we also remove a couple of cache entries that are not actually required as they get rebuilt by the _mesa_add_parameter() calls. This patch fixes a bunch of arb_texture_multisample and arb_sample_shading piglit tests for the radeonsi NIR backend. Fixes: edded1237607 ("mesa: rework ParameterList to allow packing") Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 7536af670b7501228628a8c90f9e8456b5aec9e1) - - - - - 8bda94e8 by Ray Zhang at 2019-03-05T20:03:05Z glx: fix shared memory leak in X11 call XShmDetach to allow X server to free shared memory Fixes: bcd80be49a8260c2233d "drisw/glx: use XShm if possible" Signed-off-by: Ray Zhang <zhanglei...@gmail.com> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit b344e32cdf7064a1f2ff7ef37027edda6589404f) - - - - - 688ce725 by Jose Maria Casanova Crespo at 2019-03-05T20:03:05Z glsl: TCS outputs can not be transform feedback candidates on GLES Avoids regression on: KHR-GLES*.core.tessellation_shader.single.xfb_captures_data_from_correct_stage that is uncovered by the following patch. "glsl: fix recording of variables for XFB in TCS shaders" v2: Rebased over glsl: fix recording of variables for XFB in TCS shaders v3: Move this patch before "glsl: fix recording of variables for XFB in TCS shaders" to avoid temporal regressions. (Illia Mirkin) Cc: 19.0 <mesa-sta...@lists.freedesktop.org> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> (cherry picked from commit bf1f49482d677e562993543cd9a9367597ce3ccc) - - - - - 9bdd64a1 by Ilia Mirkin at 2019-03-05T20:03:05Z glsl: fix recording of variables for XFB in TCS shaders This is purely for conformance, since it's not actually possible to do XFB on TCS output varyings. However we do have to make sure we record the names correctly, and this removes an extra level of array-ness from the names in question. Fixes KHR-GL45.tessellation_shader.single.xfb_captures_data_from_correct_stage v2: Add comment to the new program_resource_visitor::process function. (Ilia Mirkin) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108457 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: 19.0 <mesa-sta...@lists.freedesktop.org> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> (cherry picked from commit 4eec3a2a3652317f8e0fa97e0730c297bde8241a) - - - - - 949d6c35 by Mauro Rossi at 2019-03-05T20:03:05Z android: anv: fix generated files depedencies (v2) Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies Rename the variable labels according to targets and python scripts Align the building rules as per Automake for simplification Fixes building errors during rebuils due to missing dependencies (v2) Fixed a missing $(VULKAN_API_XML) reference Fixes: 9a508b7 ("android: anv/extensions: fix generated sources build") Fixes: dd088d4bec7 ("anv/extensions: Generate a header file with extension tables") Signed-off-by: Mauro Rossi <issor.or...@gmail.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> Cc: "19.0" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 14e7e26a0991e7f9b1d20147f04a43bb4cc3f824) - - - - - 682491f4 by Mauro Rossi at 2019-03-05T20:03:05Z android: anv: fix libexpat shared dependency Fixes undefined reference building errors for XML_* functions Signed-off-by: Mauro Rossi <issor.or...@gmail.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Cc: "19.0" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit ec0f465bc5f02c93aeb4193db8b5bd90a254b080) - - - - - eb159aab by Axel Davy at 2019-03-05T20:03:05Z st/nine: Ignore window size if error Check GetWindowInfo and ignore the computed sizes if there is an error. Fixes a regression caused by earlier commit when using old wine gallium nine patches. Should also address a crash at window destruction. Related issues: https://github.com/iXit/Mesa-3D/issues/331 https://github.com/iXit/Mesa-3D/issues/332 Cc: mesa-sta...@lists.freedesktop.org Fixes: 2318ca68bbe ("st/nine: Handle window resize when a presentation buffer is used") Signed-off-by: Axel Davy <davyax...@gmail.com> (cherry picked from commit 86666f051e0cae96f2596cac05e3c3f394744149) - - - - - 33424316 by Axel Davy at 2019-03-05T20:03:05Z st/nine: Ignore multisample quality level if no ms Apparently instead of returning error when passing a quality level different than 0 for D3DMULTISAMPLE_NONE, we should pass. Fixes: https://github.com/iXit/Mesa-3D/issues/340 Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Axel Davy <davyax...@gmail.com> (cherry picked from commit 1d363d440f261fbadc1db3c17acc514b7130d505) - - - - - 01458844 by Jason Ekstrand at 2019-03-05T20:03:05Z anv: Count surfaces for non-YCbCr images in GetDescriptorSetLayoutSupport We were accidentally not counting those surfaces Fixes: ddc4069122 "anv: Implement VK_KHR_maintenance3" Reviewed-by: Caio Marcelo de Oliveira Filho <caio.olive...@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (cherry picked from commit 5049fbddb4687799a10eb585c8789afa0d080535) - - - - - 8af54484 by Jason Ekstrand at 2019-03-05T20:03:05Z spirv: OpImageQueryLod requires a sampler No idea how this fell through the cracks besides the fact that the sampler bound at 0 almost always works and the CTS isn't amazing. In any case, this appears to have been broken for almost forever. Reviewed-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit ca295ddbfb414a526d3bab7daf93fffbbc417c6e) - - - - - b6324bdf by Jason Ekstrand at 2019-03-05T20:03:05Z intel,nir: Lower TXD with min_lod when the sampler index is not < 16 When we have a larger sampler index, we get into the "high sampler" scenario and need an instruction header. Even in SIMD8, this pushes the instruction over the sampler message size maximum of 11 registers. Instead, we have to lower TXD to TXL. Fixes: cb98e0755f8d "intel/fs: Support min_lod parameters on texture..." Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> (cherry picked from commit 5c96120b5ce158fea28d751d8a55b5e4d80df4f3) - - - - - 503746b1 by Tapani Pälli at 2019-03-05T20:03:05Z anv: retain the is_array state in create_plane_tex_instr_implicit This does not seem to fix anything ATM but is the right thing todo. Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Fixes: f3e91e78a33775 ("anv: add nir lowering pass for ycbcr textures") Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (cherry picked from commit 33bf3d510c98a22706eb25815f1214d2e1a0e868) - - - - - d7bea557 by Eric Engestrom at 2019-03-05T20:03:05Z egl: fix libdrm-less builds This function was never used, and isn't properly guarded by HAVE_LIBDRM, breaking the build on systems that don't have libdrm. Let's just remove it. Fixes: 7552fcb7b9b98392e6a8 "egl: add base EGL_EXT_device_base implementation" Reported-by: Timo Aaltonen <tjaal...@debian.org> Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Acked-by: Emil Velikov <emil.veli...@collabora.com> (cherry picked from commit bcc4bfc8e80da5dc4c6ee44f791f2112dac208d1) - - - - - 7c227427 by Samuel Pitoiset at 2019-03-05T20:03:05Z radv: properly align the fence and EOP bug VA on GFX9 If alignement is 0, offets returned by radv_cmd_buffer_upload_alloc() are always 0. These two virtual addresses were pointing at the same location. Cc: 18.3 19.0 <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> (cherry picked from commit c2a148692b4d728e481b60a503e21931f9cf43f0) - - - - - f852e938 by Dylan Baker at 2019-03-06T17:22:20Z VERSION: bump version for rc7 - - - - - c914c6bd by Timo Aaltonen at 2019-03-07T07:01:52Z Merge branch 'upstream-experimental' into debian-experimental - - - - - 01e9a954 by Timo Aaltonen at 2019-03-07T07:03:18Z bump the version - - - - - 4a95190c by Timo Aaltonen at 2019-03-07T07:14:49Z fix-hurd-ftbfs.diff: Refreshed, and partially replaced by two patches from upstream. - - - - - 22aeb80e by Timo Aaltonen at 2019-03-07T07:58:43Z upload to experimental - - - - - 30 changed files: - VERSION - debian/changelog - debian/patches/fix-hurd-ftbfs.diff - + debian/patches/meson-fix-with-dri2-def-for-hurd.diff - debian/patches/series - + debian/patches/util-define-path-max.diff - scons/gallium.py - src/amd/vulkan/radv_cmd_buffer.c - src/amd/vulkan/radv_nir_to_llvm.c - src/compiler/glsl/link_uniforms.cpp - src/compiler/glsl/link_varyings.cpp - src/compiler/glsl/linker.h - src/compiler/glsl/serialize.cpp - src/compiler/nir/nir.h - src/compiler/nir/nir_lower_tex.c - src/compiler/spirv/spirv_to_nir.c - src/egl/main/egldevice.c - src/egl/main/egldevice.h - src/gallium/drivers/freedreno/a2xx/fd2_gmem.c - src/gallium/drivers/freedreno/a2xx/fd2_resource.c - src/gallium/drivers/freedreno/freedreno_resource.c - src/gallium/state_trackers/nine/nine_pipe.h - src/gallium/state_trackers/nine/swapchain9.c - src/glx/drisw_glx.c - src/intel/Android.vulkan.mk - src/intel/compiler/brw_nir.c - src/intel/compiler/brw_vec4_cmod_propagation.cpp - src/intel/vulkan/anv_descriptor_set.c - src/intel/vulkan/anv_nir_lower_ycbcr_textures.c - src/mesa/drivers/dri/i965/intel_extensions.c The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/compare/848537ed962e1f913ab642e29bfb7d4806f17acf...22aeb80e50788735a2187794e3f9dbe95f098f43 -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/mesa/compare/848537ed962e1f913ab642e29bfb7d4806f17acf...22aeb80e50788735a2187794e3f9dbe95f098f43 You're receiving this email because of your account on salsa.debian.org.