URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cad22541216620e59fac0f507d84965ddcd26150 Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Mon Nov 12 13:25:27 2018 +1100
nir: don't pack varyings ints with floats unless flat Fixes: 1c9c42d16b4c ("nir: add varying component packing helpers") Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit a068958692cc662203f04e488356005533568a56) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d03f9a05ea12ad4ef3107f6fbb7f78709fe8e12e Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Mon Nov 12 13:24:42 2018 +1100 nir: add glsl_type_is_integer() helper Fixes: 1c9c42d16b4c ("nir: add varying component packing helpers") Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 9dd737bb02923d26d4d947ebf265b05f13dd2c0c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0583e3133f92775e0479bbd17bf4e0e79295660e Author: Andre Heider <a.hei...@gmail.com> Date: Tue Nov 6 09:27:12 2018 +0100 st/nine: fix stack corruption due to ABI mismatch This fixes various crashes and hangs when using nine's 'thread_submit' feature. On 64bit, the thread function's data argument would just be NULL. On 32bit, the data argument would be garbage depending on the compiler flags (in my case -march>=core2). Fixes: f3fa7e3068512d ("st/nine: Use WINE thread for threadpool") Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Andre Heider <a.hei...@gmail.com> Reviewed-by: Axel Davy <davyax...@gmail.com> (cherry picked from commit 10598c9667a9c5ea04ac8279549b1df8c026ef51) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff85e527e07af5ac785f12251fbb364d0241ccb6 Author: Sergii Romantsov <sergii.romant...@gmail.com> Date: Thu Nov 1 13:02:43 2018 +0200 autotools: library-dependency when no sse and 32-bit Building of 32bit Mesa may fail if __SSE__ is not specified. Added missed dependency from libm. v2: avoided dependecy on any flag, just link v3: meson doesn't fail, but have added dependency on libm CC: Dylan Baker <dy...@pnwbakers.com> CC: Lionel G Landwerlin <lionel.g.landwer...@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108560 Signed-off-by: Sergii Romantsov <sergii.romant...@globallogic.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit ce837a537282f10bc48c4ac426fa9a31241beea2) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98c5522d8ddecf8ff46e8620b19e3076a3fca1d6 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Wed Nov 7 17:06:27 2018 +0100 radv: only expose VK_SUBGROUP_FEATURE_ARITHMETIC_BIT for VI+ Inclusive and exclusives scan are missing because older chips don't have llvm.amdgcn.update.dpp. This fixes crashes with dEQP-VK.subgroups.arithmetic.*. CC: mesa-sta...@lists.freedesktop.org Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 0dcd99c6870aae5b15c8709a8afcc942d116c976) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbd9b4a95d8f502ed22e2377f0b6196dfe9a450d Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Nov 5 09:54:28 2018 +0100 radv: disable conditional rendering for vkCmdCopyQueryPoolResults() VK_EXT_conditional_rendering says that copy commands should not be affected by conditional rendering. Cc: 18.2 18.3 <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 0a0aa2ba6c37085948cc7efe11695ebe4fdf12fe) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: src/amd/vulkan/radv_query.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c7c711332fdc67fb65b044f74f378f08ae542e7 Author: Eric Engestrom <eric.engest...@intel.com> Date: Mon Nov 5 09:57:09 2018 +0000 wsi/wayland: only finish() a successfully init()ed display Fixes: 43691024982b3ea734ad0 "vulkan/wsi/wayland: Stop caching Wayland displays" Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dave Airlie <airl...@redhat.com> Reviewed-by: Philipp Zabel <p.za...@pengutronix.de> (cherry picked from commit d515ded4d951b830b560c352d64918a89027bee5) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21dfd29996958149bbb1cc1dc8a2c257065bf164 Author: Eric Engestrom <eric.engest...@intel.com> Date: Mon Nov 5 09:55:02 2018 +0000 wsi/wayland: use proper VkResult type Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit dcee22afed935a434118935bcdad5c4fc7246077) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2b252ceeda15faa3e3c29e938fc6298be6d6cd1 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Tue Nov 6 11:37:51 2018 +0000 anv/android: mark gralloc allocated BOs as external Allocating through Gralloc implies buffers are going to be used outside the driver. We have special MOCS settings for external BOs and we probably want to use them here too. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: a1220e73116bad7 ("anv/android: Set the BO flags in bo_cache_import (v2)") Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> (cherry picked from commit 421fa01d64d9f2a7191ded3a819118d216436ab8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc672227563e057929750e497b388040139b8538 Author: Olivier Fourdan <ofour...@redhat.com> Date: Thu Oct 25 14:48:15 2018 +0200 wayland/egl: Resize EGL surface on update buffer for swrast After commit a9fb331ea ("wayland/egl: update surface size on window resize"), the surface size is updated as soon as the resize is done, and `update_buffers()` would resize only if the surface size differs from the attached size. However, in the case of swrast, there is no resize callback and the attached size is updated in `dri2_wl_swrast_commit_backbuffer()` prior to the `swrast_update_buffers()` so the attached size is always up to date when it reaches `swrast_update_buffers()` and the surface is never resized. This can be observed with "totem" using the GDK backend on Wayland (the default) when running on software rendering: $ LIBGL_ALWAYS_SOFTWARE=true CLUTTER_BACKEND=gdk totem Resizing the window would leave the EGL surface size unchanged. To avoid the issue, partially revert the part of commit a9fb331ea for `swrast_update_buffers()` and resize on the win size and not the attached size. Fixes: a9fb331ea - wayland/egl: update surface size on window resize Signed-off-by: Olivier Fourdan <ofour...@redhat.com> CC: Daniel Stone <dan...@fooishbar.org> CC: Juan A. Suarez Romero <jasua...@igalia.com> CC: mesa-sta...@lists.freedesktop.org Reviewed-by: Juan A. Suarez <jasua...@igalia.com> (cherry picked from commit 55af17ffed289bdcc1396829e461245644175ed4) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=407e3e5a896c57671356e01e59f9437e8a02ccdf Author: Gert Wollny <gert.wol...@collabora.com> Date: Thu Nov 1 10:49:58 2018 +0100 virgl/vtest-winsys: Use virgl version of bind flags The bind flags defined by mesa/gallium might not always be in sync with the ones copied to virglrenderer/gallium. Therefore, use the flags defined in virgl like it is done for all the other calls to create resources. Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit b710680093a29d4f7dcde2e5a3ee61bba80404ca) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9476cec273d76c49bdddb368e40958373d57d979 Author: Emil Velikov <emil.veli...@collabora.com> Date: Wed Oct 24 18:53:11 2018 +0100 m4: add Werror when checking for compiler flags Seemingly that at some point clang started accepting _any_ flags, whereas previously it would error out. These days, you can give it -Whamsandwich and it will succeed, while at the same time throwing an annoying warning. Add -Werror so that everything gets flagged and set accordingly. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108082 Cc: Vinson Lee <v...@freedesktop.org> Repored-by: Vinson Lee <v...@freedesktop.org> Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 29283921b72fa9386322fc9eb301d00e88b634b6) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a3e47e5e66e86509f69aa7ae59af4fe990e0eb5 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Tue Nov 6 13:21:28 2018 +0100 cherry-ignore: i965/batch: avoid reverting batch buffer if saved state is an empty fixes: This commit was reverted by commit 5f312e95f87. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab5990fe825d4c0c89cbdef668f1b625a1bc24d5 Author: Emil Velikov <emil.veli...@collabora.com> Date: Fri Nov 2 18:34:19 2018 +0000 egl/glvnd: correctly report errors when vendor cannot be found If the user provides an invalid display or device the ToVendor lookup will fail. In this case, the local [Mesa vendor] error code will be set. Thus on sequential eglGetError(), the error will be EGL_SUCCESS. To be more specific, GLVND remembers the last vendor and calls back into it's eglGetError, although there's no guarantee to ever have had one. v2: - Add _eglError call, so the debug callback is executed (Kyle) - Drop XXX comment. Piglit: tests/egl/spec/egl_ext_device_query Fixes: ce562f9e3fa ("EGL: Implement the libglvnd interface for EGL (v3)") Cc: Eric Engestrom <e...@engestrom.ch> Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Kyle Brenneman <kbrenne...@nvidia.com> (cherry picked from commit b3ade6538798ad9bf397d8b386eab3dd8af57f3d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7a7fd28e5b8c5a1be8004840f7b3869836baa5e Author: Marek Olšák <marek.ol...@amd.com> Date: Fri Nov 2 20:56:42 2018 -0400 st/va: fix incorrect use of resource_destroy Fixes: 4373dd32154 ("st/va: Support YUV formats in vaCreateSurfaces") Cc: Drew Davenport <ddavenp...@chromium.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Michel Dänzer <michel.daen...@amd.com> (cherry picked from commit 04298a2f24455541f28ccffd2f0f73b831833d57) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e93e8dcf2efb1a8683d24f69f780da1741cf5074 Author: Vinson Lee <v...@freedesktop.org> Date: Wed Oct 31 15:35:23 2018 -0700 r600/sb: Fix constant logical operand in assert. Fixes: da977ad90747 ("r600/sb: start adding GDS support") Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-By: Gert Wollny <gert.wol...@collabora.com> (cherry picked from commit 64a9ed8848ed5c2c909b59e0e4b600b2b01bba28) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ece45ce5b201963bb7d04e5ecce60d293e7021a4 Author: Dylan Baker <dy...@pnwbakers.com> Date: Thu Nov 1 14:12:57 2018 -0700 meson: link gallium nine with pthreads In some cases (not building with llvm, which automatically pulls in pthreads) nine needs to be directly linked with pthreads. Fixes building on x86 (32 bit) without llvm. Distro bug: https://bugs.gentoo.org/670094 Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3 ("meson: build gallium nine state_tracker") Tested-by: Rafal Lalik <rafalla...@gmail.com> Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit 7652931d33b36c93b2e84713baa8c283d568402e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c78ca0fe86d2439eb93779c66d92c61f80c05339 Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Sat Oct 20 15:02:59 2018 +1100 st/glsl_to_nir: fix next_stage gathering ffs() just returns the bit that is set, we need to know what stage that bit represents so use u_bit_scan() instead. Fixes: 2ca5d9548fc4 ("st/glsl_to_nir: gather next_stage in shader_info") Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 31596836fc22e1f5b4cf85abc012acd27366db87) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b54b748c7cc5ad90e54b2c06ff788da48b8902a9 Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Mon Oct 29 20:27:08 2018 +1100 st/mesa: calculate buffer size correctly for packed uniforms Fixes: edded1237607 ("mesa: rework ParameterList to allow packing") Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 9ec4a5ef29cd94c7d810cad5aa58c0c59148c88f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b9bb81ff6c9d97b10b9dc489d20aa90ffc07195 Author: Rhys Perry <pendingchao...@gmail.com> Date: Sat Oct 20 14:54:10 2018 +0100 glsl_to_tgsi: don't create 64-bit integer MAD/FMA TGSI has no I64MAD/U64MAD opcode. Fixes: 278580729a5 ('st/glsl_to_tgsi: add support for 64-bit integers') Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Marek Olšák <marek.ol...@amd.com> (cherry picked from commit 5172eb231d9e9c632569426c7768d921e98d711f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=430ca812ee22043c950e17497fd1f23a9b9763a4 Author: Andrii Simiklit <andrii.simik...@globallogic.com> Date: Wed Sep 12 19:05:45 2018 +0300 i965/batch: don't ignore the 'brw_new_batch' call for a 'new batch' If we restore the 'new batch' using 'intel_batchbuffer_reset_to_saved' function we must restore the default state of the batch using 'brw_new_batch' function because the 'intel_batchbuffer_flush' function will not do it for the 'new batch' again. At least the following fields of the batch 'state_base_address_emitted','aperture_space', 'state_used' should be restored to default values to avoid: 1. the aperture_space overflow 2. the missed STATE_BASE_ADDRESS commad in the batch 3. the memory overconsumption of the 'statebuffer' due to uncleared 'state_used' field. etc. v2: merge with new commits, changes was minimized, added the 'fixes' tag v3: added in to patch series Fixes: 3faf56ffbdeb "intel: Add an interface for saving/restoring the batchbuffer state." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107626 Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit e4e0fd5ffe1de9078ac8906155e1a80ca2006994) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=409838cea57bea2ab591f5d64ef957252c9e3a61 Author: Vadym Shovkoplias <vadim.shovkopl...@gmail.com> Date: Wed Oct 24 13:28:23 2018 +0300 glsl/linker: Fix out variables linking during single stage Since out variables are copied from shader objects instruction streams to linked shader instruction steam it should be cloned at first to keep source instruction steam unaltered. Fixes: 966a797e433 ("glsl/linker: Link all out vars from a shader objects on a single stage") Signed-off-by: Vadym Shovkoplias <vadym.shovkopl...@globallogic.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105731 (cherry picked from commit 7d66eddbbdec98df21dc9d8286f8e047d575b52d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00359407590ae567aa44fc47046323cb51c835e2 Author: Marek Olšák <marek.ol...@amd.com> Date: Mon Oct 29 17:22:03 2018 -0400 ac: fix ac_build_fdiv for f64 trivial Fixes: a5f35aa742c (cherry picked from commit 8676af12c8e8e223f186059705f189ae7d3cae60) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=746659919f93f1a68a71ea79a44658aeef43baa4 Author: Eric Engestrom <eric.engest...@intel.com> Date: Tue Oct 2 14:58:29 2018 +0100 clover: add missing meson build dependency Fixes: 42ea0631f108d82554339 "meson: build clover" Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit 1df0c1e8fbd333a4f0e9fea5d1dfac5b32551cae) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6760093afef90dafb403c202557bea77a78c0420 Author: Eric Engestrom <eric.engest...@intel.com> Date: Tue Oct 2 14:57:20 2018 +0100 svga: add missing meson build dependency Fixes: a537231b226280bc1e5b7 "meson: build svga driver on linux" Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit 98e7c3e7a720a77e844e66c1f8fc8e6a42a539b1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=614dd3a5fb65edafb0d1ff083474011a0960426c Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Tue Nov 6 11:57:20 2018 +0100 cherry-ignore: add explicit 18.3 only nominations Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3d76bcefa2fbb448c53287884a652648001b680 Author: Jonathan Gray <j...@jsg.id.au> Date: Thu Nov 1 15:07:32 2018 +1100 intel/tools: include stdarg.h in error2aub Include stdarg.h in error2aub.c otherwise it fails to build on OpenBSD due to not finding definitions for va_list va_start va_end. Signed-off-by: Jonathan Gray <j...@jsg.id.au> Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (cherry picked from commit ae8e81b0e300e9ad5c3635378cc0467e8d50f239) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=624e384ea86afea737f9d3b952a9c3edbecd3950 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Oct 31 19:55:05 2018 +0100 docs: add sha256 checksums for 18.2.4 Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cdef5e70ca1745b6cbc133c3bdb94cd6541ad4a Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Oct 31 18:04:16 2018 +0000 docs: add release notes for 18.2.4 Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e0f666710c7156232b94a5c276ce431037c1e0b Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Oct 31 18:01:02 2018 +0000 Update version to 18.2.4 Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5ecce3c6ee324470140003bbdc5f69dac2654ad Author: Alok Hota <alok.h...@intel.com> Date: Wed Sep 19 12:42:57 2018 -0500 swr/rast: fix intrinsic/function for LLVM 7 compatibility Converted from x86 VFMADDPS intrinsic to generic LLVM intrinsic, and removed createInstructionSimplifierPass, which were both removed in LLVM 7.0.0 These changes combine patches we received from the community and our own internal patches Reviewed-by: Bruce Cherniak <bruce.chern...@intel.com> Tested-by: Chuck Atkins <chuck.atk...@kitware.com> (cherry picked from commit 8c872ac2e39affb2df3586a596e44a029535949d) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit