URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfcde49122b2d6c0920b3e49cd41ef908f668ccd Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Tue Oct 8 15:36:48 2019 -0700
intel/common: include unistd.h for ioctl() prototype on Solaris Fixes build errors of: In file included from ../src/intel/vulkan/anv_private.h:48, from ../src/intel/vulkan/genX_blorp_exec.c:26: ../src/intel/common/gen_gem.h: In function ‘gen_ioctl’: ../src/intel/common/gen_gem.h:68:15: error: implicit declaration of function ‘ioctl’ [-Werror=implicit-function-declaration] 68 | ret = ioctl(fd, request, arg); | ^~~~~ In file included from ../include/c11/threads_posix.h:35, from ../include/c11/threads.h:66, from ../src/mesa/main/mtypes.h:39, from ../src/intel/compiler/brw_compiler.h:30, from ../src/intel/vulkan/anv_private.h:51, from ../src/intel/vulkan/genX_blorp_exec.c:26: /usr/include/unistd.h: At top level: /usr/include/unistd.h:471:12: error: conflicting types for ‘ioctl’ 471 | extern int ioctl(int, int, ...); | ^~~~~ /usr/include/unistd.h:471:1: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration 471 | extern int ioctl(int, int, ...); | ^~~~~~ In file included from ../src/intel/vulkan/anv_private.h:48, from ../src/intel/vulkan/genX_blorp_exec.c:26: ../src/intel/common/gen_gem.h:68:15: note: previous implicit declaration of ‘ioctl’ was here 68 | ret = ioctl(fd, request, arg); | ^~~~~ Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> Acked-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 6804b8e1ff4b62b6685418f773041f10db01f879) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: src/intel/common/gen_gem.h URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c100e31a2270067802e949c7a7bd61384540a56 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Mon Oct 7 18:46:41 2019 -0700 meson: recognize "sunos" as the system name for Solaris Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> Acked-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit d8a9420f6f1a9eabe6dffe19779de9ec8fba9ab0) [Juan A. Suarez: resolve trivial conflict] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: meson.build URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fd001f21ea8539365ef00bc16853676c0bef352 Author: Matt Turner <matts...@gmail.com> Date: Wed Jul 24 18:26:49 2019 -0700 util: Drop preprocessor guards for glibc-2.12 glibc-2.12 was released in 2010. No one is building new Mesa against 9 year old glibc, and removing these checks allows the code to work on other C libraries like musl. Acked-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 9c411e020d164563fb6fcd92a28a435277bf0745) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13120904e463868e4a6eb51644c5e3a1a2c732e4 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Fri Apr 21 21:57:50 2017 -0700 util: Workaround lack of flock on Solaris v2: Replace autoconf check for flock() with meson check Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> Acked-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit b3028a9fb8110fd37f60e9d66dad3cde6e7b062b) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: meson.build URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=740b0e9dc7597070a345cbcea57421f6894041fb Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sat Feb 11 18:35:55 2017 -0800 util: Make Solaris implemention of p_atomic_add work with gcc gcc is very particular about where you place the (void) cast The previous placement made it error out with: In file included from disk_cache.c:40:0: ../../src/util/u_atomic.h:203:29: error: void value not ignored as it ought to be #define p_atomic_add(v, i) ((void) \ ^ disk_cache.c:658:4: note: in expansion of macro ‘p_atomic_add’ p_atomic_add(cache->size, size); ^ Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit a56c3e3a470eb8f13d11ca0aad5b5934de54ca1c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9eaa6998cc4326e3895159ddae7b20cc5bcf4ed8 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sat Sep 10 09:46:02 2016 -0700 c99_compat.h: Don't try to use 'restrict' in C++ code Fixes build failures on Solaris in C++ files using gcc: ../src/util/u_math.h:628:41: error: expected ‘,’ or ‘...’ before ‘dest’ 628 | util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t n) | ^~~~ ../src/util/u_math.h: In function ‘void* util_memcpy_cpu_to_le32(void*)’: ../src/util/u_math.h:641:18: error: ‘dest’ was not declared in this scope 641 | return memcpy(dest, src, n); | ^~~~ ../src/util/u_math.h:641:24: error: ‘src’ was not declared in this scope 641 | return memcpy(dest, src, n); | ^~~ ../src/util/u_math.h:641:29: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 641 | return memcpy(dest, src, n); | ^ | yn Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> Acked-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit ddde652e7000a13e3431316ad9ad7d1237552a0b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e56b3afd2dbb16356dd573f5213976f137439b36 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Mon Oct 7 14:29:43 2019 +0000 cherry-ignore: Revert "radv: disable viewport clamping even if FS doesn't write Z" Revert: this commit was explicitly requested to be removed from the branch. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d169d0df0eeff508391f898b10b1ae7b0886f100 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Fri Oct 4 13:12:44 2019 +0300 intel/isl: Set null surface format to R32_UINT It appears we never had a test in piglit or deqp sampling from a null surface... It turns out this triggers a hang on IVB only. Updating the null surface format to R32_UINT fixes the hang on ivb and doesn't affect other platforms, so set it by default for all platforms. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1872 Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit c445d6f66e336d9486c7dfd72dbdf698de93a650) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d763e801cd9297512547e8958c03f668513ea7e Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Fri Oct 4 19:37:14 2019 +0300 intel: fix subslice computation from topology data We're missing the offset of the slice in the subslice mask... This worked for most platforms that don't have first slice fused off because we would reread the same mask from slice0 again and again... Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Fixes: c1900f5b0f ("intel: devinfo: add helper functions to fill fusing masks values") Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1869 Reviewed-by: Mark Janes <mark.a.ja...@intel.com> (cherry picked from commit d36763b2a45105b2bd4ca714ceb05b488c2d97ce) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b75c1eaef3d8350571468bb53c845bd781429ec Author: Prodea Alexandru-Liviu <liviupro...@yahoo.com> Date: Sat Oct 5 08:43:13 2019 +0000 scons/MSYS2-MinGW-W64: Fix build options defaults Signed-off-by: Prodea Alexandru-Liviu <liviupro...@yahoo.com> Reviewed-by: Jose Fonseca <jfons...@vmware.com> Cc: <mesa-sta...@lists.freedesktop.org> When building in a MSYS2 Mingw-w64 environment Mesa3D sets wrong default build options which inevitably lead to build failure. (cherry picked from commit 6309c31fd815285dab4d6e79dcbdd4773350e50f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e3d9424034116d3abc47eb92c04da1861d91aab Author: Dylan Baker <dy...@pnwbakers.com> Date: Thu Oct 3 10:17:08 2019 -0700 meson: Only error building gallium video without libdrm when the platform is drm Fixes: 3b265f61f5f61f08718fe5bb4b2726f9b8e016cc ("meson: gallium media state trackers require libdrm with x11") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1878 Tested-by: Vinson Lee <v...@freedesktop.org> (cherry picked from commit 1481d0540987cca11cb76c39f7c0fa84983d9e3b) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=142e51da08f76122176db412941972ca52b2ef7b Author: Andres Gomez <ago...@igalia.com> Date: Wed Oct 2 18:50:38 2019 +0300 egl: Remove the 565 pbuffer-only EGL config under X11. The CTS finally has agreed to drop the requirement for a 565-no-depth-no-stencil config for ES 3.0. Hence we can now remove the code to satisfy this requirement using a pbuffer-only visual with whatever other buffers the driver happens to have given us. This reverts commit 82607f8a900796871470ac4f1a04e154392e4898, commit 6ad31c4ff33d92f6359b196a94ace99682272111 and commit dacb11a585face5ca179c34cfc588a71a425c1e0. v2: - Reference the VK-GL-CTS issue (Eric E.). v3: - Don't revert fc21394bc4d ("egl: Quiet warning about front buffer rendering for pixmaps/pbuffers") (Kenneth). References: VK-GL-CTS issue 1601. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Andres Gomez <ago...@igalia.com> Acked-by: Eric Engestrom <eric.engest...@intel.com> Acked-by: Eric Anholt <e...@anholt.net> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 02c265be9dcc5c5c23123e716ef62b384540d2fa) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: src/egl/drivers/dri2/platform_x11.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=844c59483797502e1f45af5e43a4b12becf6af12 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Mon Oct 7 12:19:19 2019 +0000 cherry-ignore: radv: Fix condition for skipping the continue CS. Fixes: this commit depends on commit e1dc3ab75348 in order to compile, which did not land in the branch. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fc609585d579a17e80249c5595a4e06a67af0e8 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Tue Oct 1 11:55:46 2019 +0300 mesa: don't forget to clear _Layer field on texture unit On the Android Antutu benchmark we ran into an assert in ISL where the (base layer + num layers) > total layers. It turns out the core of mesa forgot to clear the _Layer variable, potentially leaving an inconsistent value. v2: Pull setting u->_Layer out of the conditional blocks (Jason) Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 2208d79ddeebd1673f477611d508566ef82bd7c0) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab1ae127908f601f64c95c61fbbe40a99abbdb60 Author: Ken Mays <kmays2...@gmail.com> Date: Thu Sep 26 09:47:06 2019 +0000 haiku: fix Mesa build 1. The hgl.c file is a read-only file versus read-write. Ref: src/gallium/state_trackers/hgl/hgl.c 2. I've included the Haiku-specific patches I used to get a successful build of Mesa 19.1.7 on Haiku using the meson/ninja build procedure. Shows "[764/764] linking target ... libswpipe.so" at build completion. v2: Remove autotools files (Eric) v3: Update the patch Reported-by: Ken Mays <kmays2...@gmail.com> Tested-by: Ken Mays <kmays2...@gmail.com> CC: mesa-sta...@lists.freedesktop.org Reviewed-by: Alexander von Gluck IV <kallis...@unixzen.com> (cherry picked from commit 4943c89d6d3f522b3100be9187ff045f84f032b1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bc34d54db6ecd82cbb1d4709a32bd2cd3249ff6 Author: Kenneth Graunke <kenn...@whitecape.org> Date: Mon Sep 23 20:37:39 2019 -0700 iris: Fix iris_rebind_buffer() for VBOs with non-zero offsets. We can't just check for the BO base address, we need to check for the full address including any offset we may have applied. When updating the address, we need to include the offset again. Fixes: 5ad0c88dbe3 ("iris: Replace buffer backing storage and rebind to update addresses.") (cherry picked from commit 309924c3c927b6f167d9306ecd7270076c7dc3ea) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7338bfe1f50efc17e409389ec44c91a56f09d84 Author: Dylan Baker <dy...@pnwbakers.com> Date: Thu May 9 10:32:31 2019 -0700 meson: gallium media state trackers require libdrm with x11 v2: - update copyright year in all changed files - rebase on master Cc: 19.1 19.2 <mesa-sta...@lists.freedesktop.org> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 3b265f61f5f61f08718fe5bb4b2726f9b8e016cc) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d584d7386b548dd21141c8bd8d4198e55f1f0c8 Author: Kenneth Graunke <kenn...@whitecape.org> Date: Thu Aug 29 00:38:15 2019 -0700 iris: Disable CCS_E for 32-bit floating point textures. A while back, Michael Larabel noticed that Paraview's Wavelet Volume case runs significantly slower on iris than i965. It turns out this is because we enable CCS_E for 32-bit floating point formats, while i965 disables it, with an oblique comment saying that we benchmarked it (on what exactly?) and determined that it was a loss. Paraview uses both R32_FLOAT and R32G32B32A32_FLOAT, and I observed large framerate drops when enabling CCS_E for either format. However, several other benchmarks (Aztec Ruins, many Synmark cases) use 16-bit floating point formats, with no apparent ill effects. So, disable compression for 32-bit float formats for now, but leave it enabled for 16-bit float formats as they seem to be working fine. Improves performance in Paraview's Wavelet Volume test by 62% on a Skylake GT4e. Fixes: 3cfc6a207bd ("iris: Fill out res->aux.possible_usages") (cherry picked from commit a0a93763fba18ce3c9c90a0f939005f0b594e27c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2739dd9621afc8d256a747c1c72b5b20780bea54 Author: pal1000 <liviupro...@yahoo.com> Date: Fri Mar 1 12:30:15 2019 +0200 scons: Fix MSYS2 Mingw-w64 build. Reviewed-by: Jose Fonseca <jfons...@vmware.com> This patch is based on https://github.com/msys2/MINGW-packages/blob/28e3f85e09b6947ea80036c49f6c38f1394f93ca/mingw-w64-mesa/link-ole32.patch but with tweaks to avoid MSVC build break when applied. v2: Create Mingw platform alias pointing to windows host platform define to avoid spurious crosscompilation; v3: Fix obviously wrong compiler flags for swr driver; v4: Update original patch URL because it has been relocated; v5: Don't bother patching autools stuff as it's not used by MSYS2 Mingw-w64 build and it's days are numbered anyway; v6: After Mingw posix flag fix in 295851eb things are far simpler as we don't need more linking of uuid, ole32, version and shell32 than what is already in place. (cherry picked from commit ffb0d3a25c60dd7fc5cb1f2c33c2977b245b5fee) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e53ca66c4a252ef4adcfdfda7e645bf622ec14b2 Author: pal1000 <liviupro...@yahoo.com> Date: Fri Sep 6 17:34:30 2019 +0300 scons/windows: Support build with LLVM 9. As X86AsmPrinter component is gone, LLVMX86AsmPrinter got replaced with LLVMRemarks, LLVMBitstreamReader and LLVMDebugInfoDWARF. Tests done with llvm-config on both LLVM 8 and 9 indicate that mcjit, bitwriter and x86asmprinter fully fit inside engine component. On other platforms and with meson build mcdisassembler was used to replace X86AsmPrinter but mcdisassembler also fully fits inside engine component for LLVM>=8 according to same tests. v2: Avoid duplicating code related to Mingw pthreads. Reviewed-by: Jose Fonseca <jfons...@vmware.com> Cc: 19.1 19.2 <mesa-sta...@lists.freedesktop.org> On 19.1 this patch does not apply cleanly without 88eb2a1f (cherry picked from commit bcb4dfb14ba1cbbbd43cb6466fb7f73e5dd98513) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c0ce1b35e9591902ef85bf4f89d6d8d4efc8938 Author: Michel Zou <xantare...@hotmail.com> Date: Fri May 24 12:32:01 2019 +0200 scons: For MinGW use -posix flag. Signed-off-by: Jose Fonseca <jfons...@vmware.com> (cherry picked from commit 88eb2a1f7e6277c7f10adfc95ebeaf3d2f73e862) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09ba783aea6599e44c8a25658869b4d93f377b32 Author: Michel Zou <xantare...@hotmail.com> Date: Sat Sep 28 08:53:38 2019 +0200 scons: add py3 support SCons 3.1 has moved to python 3, requiring this fix to continue supporting scons builds. Closes: #944 Cc: mesa-sta...@lists.freedesktop.org Acked-by: Eric Engestrom <e...@engestrom.ch> Tested-by: Eric Engestrom <e...@engestrom.ch> (cherry picked from commit 3f92d17894bedf2da6aabe017004391b91a5e860) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70ef5d63f70f07da615065f17e74c85f17dbb69e Author: Andrii Simiklit <andrii.simik...@globallogic.com> Date: Tue Sep 10 17:00:32 2019 +0300 glsl: disallow incompatible matrices multiplication glsl 4.4 spec section '5.9 expressions': "The operator is multiply (*), where both operands are matrices or one operand is a vector and the other a matrix. A right vector operand is treated as a column vector and a left vector operand as a row vector. In all these cases, it is required that the number of columns of the left operand is equal to the number of rows of the right operand. Then, the multiply (*) operation does a linear algebraic multiply, yielding an object that has the same number of rows as the left operand and the same number of columns as the right operand. Section 5.10 “Vector and Matrix Operations” explains in more detail how vectors and matrices are operated on." This fix disallows a multiplication of incompatible matrices like: mat4x3(..) * mat4x3(..) mat4x2(..) * mat4x2(..) mat3x2(..) * mat3x2(..) .... CC: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Eric Anholt <e...@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111664 Signed-off-by: Andrii Simiklit <andrii.simik...@globallogic.com> (cherry picked from commit b32bb888c70576bf7e48f22703028eb1a43da651) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f04184036737b81415de6d34442ff4749abe0cfd Author: Jason Ekstrand <ja...@jlekstrand.net> Date: Tue Sep 24 17:06:12 2019 -0500 intel/fs: Fix fs_inst::flags_read for ANY/ALL predicates Without this, we were DCEing flag writes because we didn't think their results were used because we didn't understand that an ANY32 predicate actually read all the flags. Fixes: df1aec763eb "i965/fs: Define methods to calculate the flag..." Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit 6c858b9a915b54d127a64ab817f111a82716a037) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a50b8add1b6bb7601a995caa67469f2bef97f59 Author: Dylan Baker <dy...@pnwbakers.com> Date: Thu Sep 26 15:42:59 2019 -0700 meson: Link xvmc with libxv Prior to xvmc 1.0.12 libxvmc incorrectly required libxv, but that was fixed. This results in compilation failures for the gallium xvmc tracker and tools. This patch fixes that by explicitly linking to libxv. Fixes: 22a817af8a89eb3c762fc3e07b443a3ce37d7416 ("meson: build gallium xvmc state tracker") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1844 Reviewed-by: Adam Jackson <a...@redhat.com> (cherry picked from commit e456a053c3d6ec4f3d4581edcad05c72dfdaa407) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b30a0afc0c2c7dbcf307c03a3b0dda99bd5f2d50 Author: Dylan Baker <dy...@pnwbakers.com> Date: Thu Sep 26 15:19:54 2019 -0700 meson: Try finding libxvmcw via pkg-config before using find_library This fixes cross compiling issues, because pkg-config is less likely to get the wrong libs. v2: - Fix typo in comment Fixes: 22a817af8a89eb3c762fc3e07b443a3ce37d7416 ("meson: build gallium xvmc state tracker") Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/939 Reviewed-by: Adam Jackson <a...@redhat.com> (cherry picked from commit 8c5c21d7e337bbaffe8d68d9abbb166a271b35cc) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8118131f372e01a98ab2edb016764f5f0555cfe3 Author: Andreas Gottschling <andreasgottschl...@outlook.de> Date: Fri Sep 27 12:02:06 2019 -0400 drisw: Fix shared memory leak on drawable resize XDestroyImage will mark the segment as to-be-destroyed, but it will persist until we detach it, and we weren't doing so. Cc: mesa-sta...@lists.freedesktop.org Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/121 Reviewed-by: Adam Jackson <a...@redhat.com> (cherry picked from commit c5a2ccec5e9fa60bbec5e7b574877f8af4c14462) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=950d16702623efa816175ca10d2fcd2408192f16 Author: Michel Dänzer <mdaen...@redhat.com> Date: Wed Sep 18 20:18:39 2019 -0400 radeonsi: fix VAAPI segfault due to various bugs Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111236 (cherry picked from commit 67d930d64bb27944f4ad02068720a832c503ab1f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e37019723f084b6ed55d526b99d5218771222d5b Author: Dylan Baker <dy...@pnwbakers.com> Date: Wed Sep 25 23:25:27 2019 +0000 meson: fix logic for generating .pc files with old glvnd We want to generate PC files for non-glvnd builds and for builds with old glvnd, but the current logic doesn't do that, it builds them unconditionally, and for GLES it builds the shared libraries, which is also not what we want. This does not generate .pc files for gles1 or gles2. Which it we weren't doing before either, making this not a regression but a return to status-quo.o Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1838 Fixes: 93df862b6affb6b8507e40601212a58012bfa873 ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility") Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit fafd20f67dec9f5891838435ecde1dedb77ab742) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=450b808eea7979f973fec7f248a0f3c32e7932a1 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Wed Sep 25 17:40:50 2019 +0300 intel: use proper label for Comet Lake skus Fixes: 82f6a746e8 ("intel: Add support for Comet Lake") Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 813f3460e7d331ad752c48ee08ca8988f8bfabd7) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: include/pci_ids/i965_pci_ids.h URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b927c447fcd49b332d326c047d82e09228f3c45 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Wed Sep 25 16:26:52 2019 +0300 anv: gem-stubs: return a valid fd got anv_gem_userptr() Fixes invalid close(-1) in the unit tests. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit da2d67fc3b04128f3dad08c1002b260841312420) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52dc974cd1a892ce8ef1fcc2d4f8e800cc97f562 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Tue Aug 20 08:59:23 2019 +0300 util: fix os_create_anonymous_file on android Commit fixes current crashes with Vulkan applications on Android. Fixes: c0376a123418 "util: add anon_file.h for all memfd/temp file usage" Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Eric Engestrom <e...@engestrom.ch> (cherry picked from commit ce8fd042a5b0130cc5c62981828b122127711712) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26ab4e161425afee29f6b0c98becd6d529b4220c Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Thu Sep 26 08:48:34 2019 +0000 cherry-ignore: util: added missing headers in anon-file Fixes: The commit was reverted later. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5e81d653036eb7f2b2bc93507d5535e91ac62c3 Author: Eric Engestrom <eric.engest...@intel.com> Date: Thu Aug 8 10:45:08 2019 +0100 util/anon_file: const string param Fixes: c0376a123418df0050dc ("util: add anon_file.h for all memfd/temp file usage") Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Tested-by: Eric Anholt <e...@anholt.net> Tested-by: Andreas Baierl <ich...@imkreisrum.de> (cherry picked from commit 525a917c6c2a166d72ca83295f6ea32a5d6d83a7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b13396622c5320183b704201ee1c18be1eb2e4f9 Author: Eric Engestrom <eric.engest...@intel.com> Date: Thu Aug 8 10:44:54 2019 +0100 util/anon_file: add missing #include Fixes: c0376a123418df0050dc ("util: add anon_file.h for all memfd/temp file usage") Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Tested-by: Eric Anholt <e...@anholt.net> Tested-by: Andreas Baierl <ich...@imkreisrum.de> (cherry picked from commit 60af7f5a81f822b869b3ebe98e892e6b0aeede0f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb22ac12d610310ec15a94ce1ced75ebb4cfebee Author: Greg V <greg@unrelenting.technology> Date: Thu Jan 18 23:29:14 2018 +0300 util: add anon_file.h for all memfd/temp file usage Move the Weston os_create_anonymous_file code from egl/wayland into util, add support for Linux memfd and FreeBSD SHM_ANON, use that code in anv/aubinator instead of explicit memfd calls for portability. Acked-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit c0376a123418df0050dc45d3e1e84f6b29a6a1f3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2963e9fa3dc8a54e6958f50a5d5a7bebbce1bbd3 Author: Danylo Piliaiev <danylo.pilia...@globallogic.com> Date: Tue Sep 24 14:12:39 2019 +0300 st/nine: Ignore D3DSIO_RET if it is the last instruction in a shader RET as a last instruction could be safely ignored. Remove it to prevent crashes/warnings in case underlying driver doesn't implement arbitrary returns. A better way would be to remove the RET after the whole shader is parsed which will handle a possible case when the last RET is followed by a comment. CC: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Reviewed-by: Axel Davy <davyax...@gmail.com> (cherry picked from commit 2d8f77db839cb3a83f0b1575a028d5aa4258c322) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a74657d4aaf40297d575c893d41165eaccc61eb3 Author: Eric Engestrom <eric.engest...@intel.com> Date: Thu Sep 19 14:18:55 2019 +0100 meson: re-add incorrect pkg-config files with GLVND for backward compatibility This is a bit counter-intuitive, but the issue is that GLVND is broken in versions <= 1.1.1, so we need to keep wrongly providing these files to cover up their mistake, otherwise the rest of the world ends up broken. Suggested-by: Dylan Baker <dy...@pnwbakers.com> Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit 93df862b6affb6b8507e40601212a58012bfa873) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: src/egl/meson.build URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a0b77e3f7837ba3e0dd9876ab9bb4edb95c0ce6 Author: Erik Faye-Lund <erik.faye-l...@collabora.com> Date: Tue Sep 24 16:57:03 2019 +0200 glsl: correct bitcast-helpers Without this, we'll incorrectly round off huge values to the nearest representable double instead of keeping it at the exact value as we're supposed to. Found by inspecting compiler-warnings. Signed-off-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Fixes: 85faf5082f ("glsl: Add 64-bit integer support for constant expressions") Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 88f909eb37dc3867f9d2fcd44ccee6dceaac071c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef35babd339bff94937cc6fbee433e005fde34e3 Author: Rhys Perry <pendingchao...@gmail.com> Date: Mon Sep 23 14:48:22 2019 +0100 nir/opt_remove_phis: handle phis with no sources This can happen with loops with unreachable exits which are later optimized away. Fixes assertion in dEQP-VK.graphicsfuzz.unreachable-loops with RADV. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 12372d60fff676c458c7a54a934f619548337f0e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=954ace9e3e2a6ee920435a7ce08220264c6eb957 Author: Marek Olšák <marek.ol...@amd.com> Date: Tue Sep 17 18:22:08 2019 -0400 gallium/vl: don't set PIPE_HANDLE_USAGE_EXPLICIT_FLUSH because vl doesn't call flush_resource and I wasn't able to find all places where flush_resource needs to be called. This fixes corrupted / unflushed surfaces with fullscreen videos on Raven. Cc: 19.1 19.2 <mesa-sta...@lists.freedesktop.org> (cherry picked from commit f52afdf67274d58951124b20a42fe932a5deda4d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f48aaf50ae04ac897c57e7cda44a86cc440f33d Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Wed Sep 25 10:07:52 2019 +0000 cherry-ignore: nir/opt_large_constants: Handle store writemasks Fixes: This commit does not apply cleanly on 19.1 branch, as it depends on other commits not present in the branch. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d34ae3876adf5764fbcc978d5ed1e2cae646aea5 Author: Stephen Barber <smbar...@chromium.org> Date: Mon Sep 23 17:51:43 2019 -0700 nouveau: add idep_nir_headers as dep for libnouveau Fixes a compilation error when building libnouveau: In file included from ../src/gallium/drivers/nouveau/nv50/nv50_program.c:25: ../src/compiler/nir/nir.h:1115:10: fatal error: nir_intrinsics.h: No such file or directory #include "nir_intrinsics.h" ^~~~~~~~~~~~~~~~~~ compilation terminated. Fixes: f014ae3c7cce504afe5d ("nouveau: add support for nir") Signed-off-by: Stephen Barber <smbar...@chromium.org> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Karol Herbst <kher...@redhat.com> (cherry picked from commit 8c3ace6991a67bffd4e1f7559c098b6861ef4162) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=895f0a2ca29168566e933fc7c21dbfd238e50a9a Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Tue Sep 10 10:30:43 2019 +0200 bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars The script only handles commits with "Fixes: <sha1>" where <sha1> is equal or great than 8 chars. But <sha1> can be smaller, like 7 chars. This commit relax the restriction to handle <sha1> 4 or more chars. Fixes: 533fead4236 ("bin/get-pick-list.sh: tweak the commit sha matching pattern") Acked-by: Eric Engestrom <eric.engest...@intel.com> Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> (cherry picked from commit b3c25e6f9953b6c7d196b47c6ba1987f681edf7d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ee9251ef89356f8704c6eb1580aa522b9ac4d64 Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Date: Tue Sep 24 02:53:21 2019 +0200 radv: Add workaround for hang in The Surge 2. Released today and hangs on RADV. We don't have the root cause yet, but this should unblock people playing the game. No drirc because the radv debugflags are not usable from drirc and I want this backported. CC: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Dave Airlie <airl...@redhat.com> (cherry picked from commit 780182f0a0caa9b6f48f87b1930b3bcba1ac9319) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b977c7444c77f70863d7f35f064f6b5789152347 Author: Kenneth Graunke <kenn...@whitecape.org> Date: Thu Aug 22 17:32:25 2019 -0700 intel: Increase Gen11 compute shader scratch IDs to 64. From the MEDIA_VFE_STATE docs: "Starting with this configuration, the Maximum Number of Threads must be set to (#EU * 8) for GPGPU dispatches. Although there are only 7 threads per EU in the configuration, the FFTID is calculated as if there are 8 threads per EU, which in turn requires a larger amount of Scratch Space to be allocated by the driver." It's pretty clear that we need to increase this for scratch address calculations, because the FFTID has a certain bit-pattern. The quote above seems to indicate that we should increase the actual thread count programmed in MEDIA_VFE_STATE as well, but we think the intention is to only bump the scratch space. Fixes GPU hangs in Bioshock Infinite and Synmark's CSDof on Icelake 8x8. Fixes: 5ac804bd9ac ("intel: Add a preliminary device for Ice Lake") Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit b9e93db20896a436c716107dd0d12057b3aa9f72) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c94e5e3ee13a7e5657d3074722137e6ff92119d9 Author: Jason Ekstrand <ja...@jlekstrand.net> Date: Mon Sep 9 13:38:37 2019 -0500 nir/repair_ssa: Replace the unreachable check with the phi builder In a3268599f3c9, I attempted to fix nir_repair_ssa for unreachable blocks. However, that commit missed the possibility that the use is in a block which, itself, is unreachable. In this case, we can end up in an infinite loop trying to replace a def with itself. Even though a no-op replacement is a fine operation, it keeps extending the end of the uses list as we're walking it. Instead of explicitly checking for the group of conditions, just check if the phi builder gives us a different def. That's guaranteed to be 100% reliable and, while it lacks symmetry with the is_valid checks, should be more reliable. Fixes: a3268599 "nir/repair_ssa: Repair dominance for unreachable..." Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> (cherry picked from commit d63162cff0e0922fc3c2ef5dfd4402004caf141e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c140c260c18263eb98bae941371af7a8ac82d190 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Mon Sep 23 08:51:09 2019 +0000 cherry-ignore: Revert "gallium: remove PIPE_CAP_TEXTURE_SHADOW_MAP" revert: The following commit was requested to be removed from stable branch by original author. Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ee0eb6cc92fc85933da6aa4ab471bf25a98478 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Mon Sep 23 08:44:44 2019 +0000 Revert "Revert "intel/fs: Move the scalar-region conversion to the generator."" This reverts commit 667920050a7f3941a83c51863501b58abbbde4f5. This commit was breaking Xorg rendering in all Icelake devices. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/795 Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db6974fa2a05342e136e25786a8553914c0f1daf Author: Hal Gentz <zegen...@protonmail.com> Date: Sun Sep 15 15:29:50 2019 -0600 gallium/osmesa: Fix the inability to set no context as current. Currently there is no way to make no context current w/gallium + osmesa. The non-gallium version of osmesa does this if the context and buffer passed to `OSMesaMakeCurrent` are both null. This small change makes it so that this is also the case with the gallium version. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Hal Gentz <zegen...@protonmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> (cherry picked from commit 57c894334ee14c7075bc8c1fb8ff180631ccb527) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e754647ba88ab9d22a45db5c72a1eaf6bed4afe Author: Andres Gomez <ago...@igalia.com> Date: Wed Sep 18 15:34:33 2019 +0300 docs/features: Update VK_KHR_display_swapchain status It was set as done by mistake. Fixes: bc15d74529e ("docs/features: Mark some Vulkan extensions as done") Signed-off-by: Andres Gomez <ago...@igalia.com> Acked-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> (cherry picked from commit bcd9224728dcb8d8fe4bcddc4bd9b2c36fcfe9dd) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: docs/features.txt URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b8c7cf51cce8d20e623240c7f583b96def524a4 Author: Adam Jackson <a...@redhat.com> Date: Wed Sep 18 15:59:41 2019 -0400 docs: Update bug report URLs for the gitlab migration Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Eric Anholt <e...@anholt.net> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> (cherry picked from commit 5b5c5bf8335b79c7c1152bbdf0956598d2246567) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e6dd1ce7afd66828c525f64dd77a9c1b7d7bc50 Author: Arcady Goldmints-Orlov <agoldmi...@igalia.com> Date: Thu Sep 12 14:20:22 2019 -0500 anv: fix descriptor limits on gen8 Later generations support bindless for samplers, images, and buffers and thus per-stage descriptors are not limited by the binding table size. However, gen8 doesn't support bindless images and thus needs to report a lower per-stage limit so that all combinations of descriptors that fit within the advertised limits are reported as supported by vkGetDescriptorSetLayoutSupport. Fixes test dEQP-VK.api.maintenance3_check.descriptor_set Fixes: 79fb0d27f3 ("anv: Implement SSBOs bindings with GPU addresses in the descriptor BO") Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (cherry picked from commit 5ec5fecc26d1818157298c8507ba208f9f3501a1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ee0add2a5a99164f6a01eaee9e42daa5c87998f Author: Tapani Pälli <tapani.pa...@intel.com> Date: Mon Jun 10 13:06:05 2019 +0300 egl: check for NULL value like eglGetSyncAttribKHR does Commit d1e1563bb63 added a NULL check for eglGetSyncAttribKHR but eglGetSyncAttrib does not do this. Patch adds same check to happen with eglGetSyncAttrib. Fixes crashes in (when exposing EGL 1.5): dEQP-EGL.functional.fence_sync.invalid.get_invalid_value Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Eric Engestrom <eric.engest...@intel.com> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 99cbec0a5f463fef4d9c61f34482d9eb00293704) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b0e5912280c6bb90f8c688f103ed94f15999846 Author: Paulo Zanoni <paulo.r.zan...@intel.com> Date: Wed Sep 4 15:07:20 2019 -0700 intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 The current code can create functions with a width of 32, which is not supported by our hardware. Add some code to simplify how we express what we want and prevent such cases. For some unknown reason, all the tests I could run seem to work even with these unsupported MOVs. Fixes: b0858c1cc6 "intel/fs: Add a couple of simple helper opcodes" Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Signed-off-by: Paulo Zanoni <paulo.r.zan...@intel.com> (cherry picked from commit 8e614c7a29a8926b20f5c18ef447ff82cafb7f1c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5936c8f4f44dbff70e749499a396347ab7a8c7ac Author: Eric Engestrom <eric.engest...@intel.com> Date: Wed Sep 18 21:48:49 2019 +0100 gl: drop incorrect pkg-config file for glvnd Akin to 1a25980c469b38d2c645 ("egl: drop incorrect pkg-config file for glvnd") and b01524fff05eef66e8cd ("meson: don't build libGLES*.so with GLVND") , removes a pkg-config file that shouldn't have been there in the first place, but was needed because of that GLVND bug. Now that the glvnd bug has been fixed, it was apparent that this gl.pc pkg-config file was forgotten to be removed, so let's do just that :) Suggested-by: Matt Turner <matts...@gmail.com> Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Eric Engestrom <eric.engest...@intel.com> Reviewed-by: Matt Turner <matts...@gmail.com> (cherry picked from commit a1de3011f380b6ffd5583708b58e3f86d8d45ea9) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87487470070de1325cc86adc5b16a6fd6e022f07 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Thu Sep 19 11:12:14 2019 +0000 cherry-ignore: add explicit 19.3 only nominations Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac31da352914b09024bafb103fc4db053abc67e8 Author: Andres Gomez <ago...@igalia.com> Date: Wed Sep 18 12:42:13 2019 +0300 docs: Add the maximum implemented Vulkan API version in 19.1 rel notes Currently, Vulkan 1.1. Cc: 19.1 <mesa-sta...@lists.freedesktop.org> Signed-off-by: Andres Gomez <ago...@igalia.com> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> (cherry picked from commit d2db43fcad6a2ea2070ff5f7884411f4b7d3925c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97af29d6da4531e4ff5f3df67ac4974af8f3c75d Author: Bas Nieuwenhuizen <ba...@chromium.org> Date: Wed Sep 18 14:11:47 2019 +0200 tu: Set up glsl types. Addresses this assert: deqp-vk: ../mesa-freedreno-9999/src/compiler/glsl_types.cpp:1244: static const glsl_type *glsl_type::get_interface_instance(const glsl_struct_field *, unsigned int, enum glsl_interface_packing, bool, const char *): Assertion `glsl_type_users > 0' failed. running dEQP-VK.api.smoke.triangle . Fixes: 624789e3708 "compiler/glsl: handle case where we have multiple users for types" Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (cherry picked from commit 7999e10cab93fe854fbc7accd4d8cf2e60726b75) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81a44834655aa8e2752772daec4e14c110c3c96b Author: Haihao Xiang <haihao.xi...@intel.com> Date: Mon Sep 16 14:52:56 2019 +0800 i965: support AYUV/XYUV for external import only Fixes: 89785e2d56e7fa ("i965: add support for sampling from AYUV") Fixes: 7cab8d3661f243 ("i965: Add support for sampling from XYUV images") Cc: Vivek Kasireddy <vivek.kasire...@intel.com> Cc: Lionel Landwerlin <lionel.g.landwer...@intel.com> Signed-off-by: Haihao Xiang <haihao.xi...@intel.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> (cherry picked from commit 8a9b81ab9dbd44ea4ce87b8fb8ebc4ec3530a3f9) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00651091fa4035d0ab2c408c2e49b957c836c402 Author: Samuel Iglesias Gonsálvez <sigles...@igalia.com> Date: Tue Dec 4 16:41:36 2018 +0100 intel/nir: do not apply the fsin and fcos trig workarounds for consts If we have fsin or fcos trigonometric operations with constant values as inputs, we will multiply the result by 0.99997 in brw_nir_apply_trig_workarounds, making the result wrong. Adjusting the rules so they do not apply to const values we let a later constant fold to deal with it. v2: - Do not early constant fold but only apply the trig workaround for non constants (Caio). - Add fixes tag to commit log (Caio). Fixes: bfd17c76c12 "i965: Port INTEL_PRECISE_TRIG=1 to NIR." Signed-off-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com> Signed-off-by: Andres Gomez <ago...@igalia.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.olive...@intel.com> (cherry picked from commit 3c474f851313db5318d727d017b763ea2cb01e6d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d11d2c6def76e6a269afc7bd2a1c68e5b3ee0166 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Tue Sep 17 10:21:24 2019 +0300 iris: close screen fd on iris_destroy_screen Otherwise it never gets closed, this fixes errors seen with deqp-egl where we end up opening 1024 files. Fixes: 2dce0e94 ("iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.") Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> (cherry picked from commit 631255387f0469910db99eccbfbaa63345425739) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> Conflicts: src/gallium/drivers/iris/iris_screen.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c38ecd276379d760b20ceae55adbb630557783 Author: Rhys Perry <pendingchao...@gmail.com> Date: Mon Sep 2 17:40:43 2019 +0100 radv: always emit a position export in gs copy shaders Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Fixes: f8d0337299f ('radv: add multiple streams support for the GS copy shader') Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> (cherry picked from commit ffabcbba606eacb8c955bf9e0424be8ca242b53f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3859e211db6e931a9f85131ab0493483ce611474 Author: Juan A. Suarez Romero <jasua...@igalia.com> Date: Thu Sep 19 09:34:49 2019 +0000 cherry-ignore: add explicit 19.2 only nominations Signed-off-by: Juan A. Suarez Romero <jasua...@igalia.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d45999a24d210edd491d86d24bdbdef091ece7d Author: Kenneth Graunke <kenn...@whitecape.org> Date: Fri Sep 13 02:32:25 2019 -0700 iris: Initialize ice->state.prim_mode to an invalid value It was calloc'd to 0 which is PIPE_PRIM_POINTS, which means that we fail to notice an initial primitive of points being new, and fail at updating the "primitive is points or lines" field. We do not need to reset this on device loss because we're tracking the last primitive mode sent to us on the CPU via draw_vbo, not the last primitive mode sent to the GPU. Fixes several tests: - dEQP-GLES3.functional.clipping.point.wide_point_clip - dEQP-GLES3.functional.clipping.point.wide_point_clip_viewport_center - dEQP-GLES3.functional.clipping.point.wide_point_clip_viewport_corner Fixes: dcfca0af7c5 ("iris: Set XY Clipping correctly.") (cherry picked from commit c9fb704f7277b1c1303d28d35c8e145d5b55ebce) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit