URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d41354148563aa2756109d4d28276c6efb457d6 Author: Danylo Piliaiev <danylo.pilia...@globallogic.com> Date: Mon May 25 19:07:08 2020 +0300
i965: Work around incorrect usage of glDrawRangeElements in UE4 Unreal Engine 4 has a bug in usage of glDrawRangeElements, causing it to be called with a number of vertices in place of "end" parameter (which specifies the maximum array index contained in indices). Since there is unknown amount of games affected and we could not identify that a game is built with UE4 - we are forced to make a blanket workaround, disregarding max_index in range calculations. Fortunately all such calls look like: glDrawRangeElements(GL_TRIANGLES, 0, 3, 3, ...); So we are able to narrow down this workaround. This was uncovered after b684030c3a656ffdbc93581856034e0982db46fd broke a bunch of UE4 games. Cc: 20.1 <mesa-sta...@lists.freedesktop.org> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2917 Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5203> (cherry picked from commit a751051248d445c3d726a3eab8fc999b0876364e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=259280b26f91578c8db10d8e514836372e509076 Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com> Date: Fri Jun 5 14:40:01 2020 +0200 winsys/radeon: do not cast bo->va as void* Using a util_hash_table_create_ptr_keys to store bo->va address doesn't work on 32 bits. This commit makes radeon_drm_winsys::bo_vas a hash_table_u64 instead. Tested by Miklós Máté. CC: 20.1 <mesa-sta...@lists.freedesktop.org> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3056 Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5380> (cherry picked from commit db57624c0ca693fae38871787cabab50e58358d7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37fe77e351b7e0fff127793e1820b2abf643548d Author: Jonathan Marek <jonat...@marek.ca> Date: Sat Jun 6 11:16:16 2020 -0400 freedreno/a6xx: use nonbinning VS when GS is used The current "ds = state->bs" seems broken, and the "vs = state->bs" is unnecessary (already set above). Since it was added as part of a GS-related patch, I think this is what was intended. Note: tesselation disables GMEM rendering so we shouldn't have to worry about hs/ds + binning interaction. Fixes: 0eebedb6190fdab8956769 ("freedreno/a6xx: Emit program state for GS") Signed-off-by: Jonathan Marek <jonat...@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370> (cherry picked from commit 6cc95abb273a130fb396f4f0dd2b233c534fd008) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43ba616d09f1e6b3c0b52eac0d7004f987dd7dfe Author: Danylo Piliaiev <danylo.pilia...@globallogic.com> Date: Fri May 29 13:51:32 2020 +0300 glsl: inline functions with unsupported return type before converting to nir glsl_to_nir doesn't expect non-vector/scalar return types in functions. Fixes: 7e60d5a501f311fa5e7bca5335adc6013dc1aeb9 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3058 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3060 Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Tested-by: Witold Baryluk <witold.bary...@gmail.com> Reviewed-by: Witold Baryluk <witold.bary...@gmail.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5333> (cherry picked from commit 9f1cf0e4915262c68e5fb8bd8e87fbd0af30dbe2) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b31739a89a506fa5d67426f12597680b6b7e50b4 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Wed Jun 3 14:35:02 2020 +0200 nir/lower_explicit_io: fix NON_UNIFORM access for UBO loads Make sure to propagate the NON_UNIFORM access for UBO loads, so that non-uniform loads are correctly lowered. Cc: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Rhys Perry <pendingchao...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5311> (cherry picked from commit 86f21e4eba7ad980109f13bd5480c02593ca19fe) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=473e6f985619b69b4a3348fc4dfd0174fc1d9f46 Author: Charmaine Lee <charmai...@vmware.com> Date: Thu Jun 4 17:46:33 2020 -0700 llvmpipe: do not enable tessellation shader without llvm coroutines support Tessellation shader in llvmpipe depends on llvm coroutines support. So do not advertise tessellation shader support in llvmpipe if GALLIVM_HAVE_CORO is FALSE. This fixes assertion in LLVMTokenTypeInContext() running tessellation shader tests with llvm version < 6. Fixes: eb522717 "llvmpipe: add support for tessellation shaders" Reviewed-by: Roland Scheidegger <srol...@vmware.com> Reviewed-by: Dave Airlie <airl...@redhat.com> Reviewed-by: Brian Paul <bri...@vmware.com> Reviewed-by: Neha Bhende <bhen...@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5366> (cherry picked from commit dd81f4853c879c38987909f5e6e670b325f9f6af) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f42e4326c8ebaa5278de99ec80591e8f7a084cf Author: Dave Airlie <airl...@redhat.com> Date: Thu Jun 4 12:10:40 2020 +1000 llvmpipe: move coroutines out of noopt case the virgl CI code was using the noopt path and crashing with a wierd can't select llvm.coro.subfn.addr error, turns out we have to call the cleanup pass no matter what. This enable a lot more virgl gles31 passes, but we have to disable tessellation shaders as now they executed, they crash due to missing OES_gpu_shader5, I should try and reenable them when llvmpipe is further along Fixes: d32690b43c91d ("gallivm: add coroutine pass manager support") Reviewed-by: Roland Scheidegger <srol...@vmware.com> Acked-by: Elie Tournier <elie.tourn...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5320> (cherry picked from commit c8c7450fc73b888504174733e905f4a69a72062a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9dd4c84c7a499a173813a88ca0131f6b60e5403 Author: Peter Seiderer <ps.rep...@gmx.net> Date: Sun Mar 22 13:03:00 2020 +0100 v3d_bufmgr: fix time_t printf Fixes: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’} Signed-off-by: Peter Seiderer <ps.rep...@gmx.net> Reviewed-by: Eric Anholt <e...@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279> (cherry picked from commit b3beb6207f16ac55e3934b4d4d1f178adb4f4cad) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dda9128f02caaf18e33adc34ab588380890da6c1 Author: Peter Seiderer <ps.rep...@gmx.net> Date: Sun Mar 22 11:48:31 2020 +0100 pan_bo.h: add time.h include for time_t Fixes: ../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’ Signed-off-by: Peter Seiderer <ps.rep...@gmx.net> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279> (cherry picked from commit d512028d06c40ba56b642095379638b49ebf4a23) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de1aa727be950fad2b0cd77c2272ca0be4f24745 Author: Peter Seiderer <ps.rep...@gmx.net> Date: Sun Mar 22 11:42:35 2020 +0100 vc4_bufmgr: fix time_t printf Fixes: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’} Signed-off-by: Peter Seiderer <ps.rep...@gmx.net> Reviewed-by: Eric Anholt <e...@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279> (cherry picked from commit 07ba5e47e6674b568219cb91ddbcece20fe9030d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=450a756bf335f75743d97eb18c8d98c185106d4e Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Fri Jun 5 13:57:40 2020 +1000 glsl: fix potential slow compile times for GLSLOptimizeConservatively See code comment for full description of the change. Fixes: 0a5018c1a483 ("mesa: add gl_constants::GLSLOptimizeConservatively") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3034 Tested-by: Witold Baryluk <witold.bary...@gmail.com> Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5346> (cherry picked from commit e43ab7bb05857461609ed2bd43703eb272a3ebe1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0829fa2b63e3e20433cf7e5f4b6706cbcedaf783 Author: Vinson Lee <v...@freedesktop.org> Date: Fri Jun 5 00:46:10 2020 -0700 Switch from cElementTree to ElementTree. The xml.etree.cElementTree module will be removed in Python 3.9. Since Python 3.3 the xml.etree.cElementTree module has been deprecated, the xml.etree.ElementTree module uses a fast implementation whenever available. Builds using Python 2.7 can still work but with the slower implementation. Signed-off-by: Vinson Lee <v...@freedesktop.org> Acked-by: Eric Engestrom <e...@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5349> (cherry picked from commit faa339e666b4d0c4f88f2588cd84176e2b19ec0f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69e6a257cdaac2040048ae59d9e0c62ba878c02c Author: Vinson Lee <v...@freedesktop.org> Date: Fri Jun 5 00:36:55 2020 -0700 intel/genxml: Migrate from deprecated xml.etree.ElementTree getchildren. xml.etree.ElementTree getchildren was deprecated since Python 2.7 and will be removed in Python 3.9. Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5348> (cherry picked from commit 6a841dbf4e4f0cb33bc36a8ba880a9bd6f6e7941) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f883105035a4ea6cc4063df16329a22dc23bbb3 Author: Eric Engestrom <e...@engestrom.ch> Date: Fri Jun 5 11:26:56 2020 +0200 intel: fix gen_sort_tags.py The script was failing for me (python 3.8), not sure if this is a recent python version break or not as I don't know how often people have been running this script: Processing ./gen9.xml... Traceback (most recent call last): File "./gen_sort_tags.py", line 177, in <module> main() File "./gen_sort_tags.py", line 170, in main genxml[:] = enums + sorted_structs.values() + instructions + registers TypeError: can only concatenate list (not "odict_values") to list Turning the odict into a list fixes it for me, and the resulting xml file are identical to before :) Fixes: 903e142f0d35bc550ffd ("genxml: add a sorting script") Signed-off-by: Eric Engestrom <e...@engestrom.ch> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5352> (cherry picked from commit 981d07c74a1611d8c308a96f59899fff66674c1a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbba9414c0d8621454b817c8732f8c1ce72216af Author: Rob Clark <robdcl...@chromium.org> Date: Thu Jun 4 14:15:58 2020 -0700 freedreno/computerator: fix missing dependency on generated header Fixes: ``` ../mesa-freedreno-20.2.0_pre/src/freedreno/computerator/ir3_asm.c:25:10: fatal error: 'ir3/ir3_parser.h' file not found #include "ir3/ir3_parser.h" ^~~~~~~~~~~~~~~~~~ 1 error generated. ``` Fixes: da467817e3e ("freedreno/ir3: Move ir3 assembler to backend compiler") Signed-off-by: Rob Clark <robdcl...@chromium.org> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5340> (cherry picked from commit ef5b8bbc5ea0c55e99dd1e6c2c7a85590724aa4f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b048cd21370a2aaa73a938d942cabc93c8321dee Author: Eric Engestrom <e...@engestrom.ch> Date: Fri Jun 5 01:05:46 2020 +0200 glapi: remove deprecated .getchildren() that has been replace with an iterator Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3086 Signed-off-by: Eric Engestrom <e...@engestrom.ch> Reviewed-by: Vinson Lee <v...@freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5342> (cherry picked from commit 7a68045b5d3ca52ea9db6f4c2606ae16546187ea) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16a7e854cba1387e94d5e28ba5297bcb0d26d3c5 Author: Clément Guérin <li...@protonmail.com> Date: Tue Jun 2 22:14:44 2020 -0700 radv: Always expose non-visible local memory type on dedicated GPUs DOOM Eternal expects this type, but RADV doesn't expose it when the VRAM is entirely host-visible, in my case on Fiji. Matches AMDVLK behavior. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/3054 Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5308> (cherry picked from commit 202252566bf053a31a4162e99f6fef5b82efc837) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf8e292cfc64460264d9c35db87c48acd3ea772f Author: Erik Faye-Lund <erik.faye-l...@collabora.com> Date: Tue Jun 2 10:44:13 2020 +0200 nir: reuse existing psiz-variable For shaders where there's already a psiz-variable, we should rather reuse it than create a second one. This can happen if a shader writes gl_PointSize, but disables GL_PROGRAM_POINT_SIZE. Fixes: 878c94288a8 ("nir: add lowering-pass for point-size mov") Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5328> (cherry picked from commit e61a98877ccdaf7ec1f9f890f0f7c1a993ee70a1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6caced8497aad5919750a427d2cf323bd2eaf230 Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Sat May 2 16:46:47 2020 +0300 iris: fix export of GEM handles We reuse DRM file descriptors internally. Therefore when we export a GEM handle we must do so in the file descriptor used externally. This change also fixes a file descriptor leak of the FD given at screen creation. v2: Don't bother checking fd equals, they're always different Fix dmabuf leak Fix GEM handle leaks by tracking exported handles v3: Check os_same_file_description error (Michel) Don't create multiple exports for a given GEM table v4: Add WARN_ONCE (Ken) Rename external_fd to winsys_fd v5: Remove export lock in favor of bufmgr's Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882 Fixes: 7557f1605968 ("iris: share buffer managers accross screens") Tested-by: Eric Engestrom <e...@engestrom.ch> Tested-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861> (cherry picked from commit aba3aed96e4394a213e188f2f71ef045803a27c5) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e2cedd88e87b32726c1a640b1fb19714791fc6b Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Sat May 2 16:59:19 2020 +0300 i965: fix export of GEM handles We reuse DRM file descriptors internally. Therefore when we export a GEM handle we must do so in the file descriptor used externally. v2: Fix dmabuf leak Fix GEM handle leaks by tracking exported handles v3: Check os_same_file_description error (Michel) Don't create multiple exports for a given GEM table v4: Add WARN_ONCE (Ken) v5: Remove blank line (Ian) Remove unused field (Ian) Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882 Fixes: 4094558e8643 ("i965: share buffer managers across screens") Tested-by: Eric Engestrom <e...@engestrom.ch> Tested-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861> (cherry picked from commit 57e4d0aa1c16d3be36ccee4065c55901cb6fad43) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9b75fbbdcb85887ad137f5e29b7e5b5371c662c Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Tue Jun 2 11:52:35 2020 +0300 i965: don't forget to set screen on duped image We'll start using this field more for querying image properties. Without it we run into a crash. Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861> (cherry picked from commit e41e820648b1cb662cbe938c73d755331d48c6db) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b0bfdff3d68a0aa6792f9fc3ef40cc3641fcfea Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Sat May 2 22:43:22 2020 +0300 iris: fix BO destruction in error path Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Cc: <mesa-sta...@lists.freedesktop.org> Tested-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861> (cherry picked from commit 604a86e46f67b517e43c4646080ee1993ff95ecd) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bbe9dfca474f495a97f370ea19b5658d4ab9b32 Author: Vinson Lee <v...@freedesktop.org> Date: Sat May 23 13:46:28 2020 -0700 mesa: Fix NetBSD compiler macro. Reported-by: Rafał Mikrut <mikrutrafa...@gmail.com> Fixes: a63b90712aad ("mesa: also check for __NetBSD__") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3015 Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5191> (cherry picked from commit c3025bde192919649999da202e7527849bf2038f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3a294faacbfd8159b26cfb7ebe2584f83bedc55 Author: Vinson Lee <v...@freedesktop.org> Date: Fri May 22 17:59:27 2020 -0700 vdpau: Fix wrong calloc sizeof argument. Fix warning reported by Coverity Scan. Wrong sizeof argument (SIZEOF_MISMATCH) suspicious_sizeof: Passing argument 3544UL (sizeof (vlVdpPresentationQueue)) to function calloc that returns a pointer of type vlVdpPresentationQueueTarget * is suspicious because a multiple of sizeof (vlVdpPresentationQueueTarget) /*16*/ is expected. Fixes: 65fe0866aec7 ("vl: implemented a few functions and made stubs to get mplayer running") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3026 Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5182> (cherry picked from commit 8b353524b04fa9cd77e21e2d036c69f1cff30c35) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d30c96743991c5cb1e458a8c8b5212f76f8d8fa Author: Danylo Piliaiev <danylo.pilia...@globallogic.com> Date: Fri May 29 16:20:45 2020 +0300 glsl: Don't replace lrp pattern with lrp if arguments are not floats We don't have "lrp(int, int, int)" and validation of ir_triop_lrp fails down the road. Fixes: 8d37e991 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3059 Signed-off-by: Danylo Piliaiev <danylo.pilia...@globallogic.com> Tested-by: Witold Baryluk <witold.bary...@gmail.com> Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5257> (cherry picked from commit 9f3956fea080d73d98fc28bc8cd148755b597b74) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aae3ff570a0369ce355ca7d9c383c604deb83497 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Fri May 29 20:26:00 2020 +0200 radv: enable zero VRAM for all VKD3D (DX12->VK) games To fix rendering issues with Metro Exodus, RE2 and 3 and probably more titles. It seems the default behaviour of DX12 anyways. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064 Cc: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5262> (cherry picked from commit d3c937c0e4d1dd05072d9a7169532517ef7d0c7f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7eeb3e029d7148138bb685a7670e2e172662263f Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Fri May 29 20:02:49 2020 +0200 radv: enable zero VRAM for Doom Eternal That fixes some rendering issues. Probably some unitialized data from the game. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064 Cc: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5262> (cherry picked from commit fd5ffd3a83e178f14fcc69806d3a52724f05b56c) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e3e3e37ff28cea0c788a1acebf8bf9269c1a8db Author: Erik Faye-Lund <erik.faye-l...@collabora.com> Date: Thu May 28 14:41:17 2020 +0200 zink: Use store_dest_raw instead of storing an uint I cleaned up the other similar call-sites, but somehow missed this one. There's nothing different with this, so let's also fix this. Fixes: 16339646f03 ("zink/spirv: rename functions a bit") Reviewed-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5250> (cherry picked from commit a21966837acd2e053ce183c5f145afcff2fd51b7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ca6e96a97e341ab3a6f2dc993dd068be0069a5d Author: Marek Olšák <marek.ol...@amd.com> Date: Tue May 26 05:39:08 2020 -0400 radeonsi: add a hack to disable TRUNC_COORD for shadow samplers This fixes dEQP-GLES3.functional.shaders.texture_functions.textureprojlodoffset.sampler2dshadow_vertex. This is probably a dEQP bug. Fixes: d573d1d82524b8a2e5f56938069cabc0f0176a0e Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209> (cherry picked from commit fe3947632ce9946562a39ef95a6796b8604f1f42) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a62e46e67eb68439db5bed7e49af209c75d1468 Author: Dylan Baker <dylan.c.ba...@intel.com> Date: Wed May 20 18:00:14 2020 -0700 vulkan-overlay/meson: use install_data instead of configure_file We don't want to copy the file into the build directory, we want to install it. That's what install_data is for. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2924 Fixes: 56ccea58ae7f6fd56cf4a1697d2cceb68866b552 ("vulkan/overlay: Add basic overlay control script.") Acked-by: Matt Turner <matts...@gmail.com> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740> (cherry picked from commit fb62e642ae667c99aeb3015fa77ab668af5e4ee6) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4302b746c3ae64efab5e0a224f643f568bd2fc96 Author: Satyeshwar Singh <satyeshwar.si...@intel.com> Date: Thu May 28 00:44:26 2020 -0700 intel/dev: Don't consider all TGL SKUs as GT1 only We should be passing _gt instead of 1 to GEN12_FEATURES or else all TGL SKUs will be considered as gt1 only. Fixes: 54996ad4927 ("intel/dev: Split .num_subslices out of GEN12_FEATURES macro") Signed-off-by: Satyeshwar Singh <satyeshwar.si...@intel.com> Reviewed-by: Eric Engestrom <e...@engestrom.ch> Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5261> (cherry picked from commit aaec065f03e65f75fd18f8cc24d003f220209714) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97d2f22d95e05ed5ac795dba03c4ee00922babbb Author: Vinson Lee <v...@freedesktop.org> Date: Fri May 29 17:13:35 2020 -0700 r300g: Remove extra printf format specifiers. Fix warning reported by Coverity Scan. Missing argument to printf format specifier (PRINTF_ARGS) missing_argument: No argument for format specifier %s. Fixes: 04c1536bf7ab ("r300g: rasterizer debug logging") Fixes: 85efb2fff0d4 ("r300g: try to use color varyings for texcoords if max texcoord limit is exceeded") Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5274> (cherry picked from commit d2f8105b606269c0e71cd599f57997279385d300) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=952a6d86c479a61b61b8d145bbce44e8ea1e2d46 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Sat May 30 02:47:42 2020 -0400 nouveau: allow invalidating coherent/persistent buffer backings This is needed to support the core's usage of coherent buffers for glVertex-style input. The reason why this was disallowed is that any mappings will be invalidated. Let the state tracker worry about that, and just reallocate when we're told. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Karol Herbst <kher...@redhat.com> Cc: mesa-sta...@lists.freedesktop.org Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5276> (cherry picked from commit 6e1c47b98df384b46ff41ffbf9689a93c78c040d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4a93b1fa12813f6e7adcd30a7b6dd10b7f7093e Author: Jason Ekstrand <ja...@jlekstrand.net> Date: Sun Apr 26 09:48:16 2020 -0500 intel/fs: Fix unused texture coordinate zeroing on Gen4-5 We were inserting the right number of MOVs but, thanks to the way we advanced msg_end earlier in the function, were often writing the zeros past the end of where we actually read in the register file. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243> (cherry picked from commit 94aa7997e45b5314d169bbee5bf22ad368c2fd25) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=def23c7785826cb710e1bf01f201dcf5a2357ca9 Author: Jason Ekstrand <ja...@jlekstrand.net> Date: Sat Apr 25 14:15:11 2020 -0500 intel/vec4: Stomp the return type of RESINFO to UINT32 We already do this in the FS back-end; we just weren't doing it in vec4 so RESINFO messages weren't returning the right data. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243> (cherry picked from commit a7c8811fe4012b60a9bcdb2ea2ef6ab79e402809) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=065b1f6b55973963335749dd4b7bfc68169f50c5 Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Fri May 29 17:02:24 2020 +1000 radv: fix regression with builtin cache If the ~/.cache dir already exists continue on without failing. Fixes: cd61f5234d2c ("radv: Handle failing to create .cache dir.") Tested-by: Dieter Nützel <die...@nuetzel-hh.de> Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5249> (cherry picked from commit e843303d6f18d56d7c412e6c879134f7b79372ac) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23d2a52e27d9b55d1de093630eca81209b5a2248 Author: Vinson Lee <v...@freedesktop.org> Date: Tue May 26 15:54:06 2020 -0700 etnaviv: Fix memory leak on error path. Fix warning reported by Coverity Scan. Resource leak (RESOURCE_LEAK) leaked_storage: Variable pq going out of scope leaks the storage it points to. Suggested-by: Christian Gmeiner <christian.gmei...@gmail.com> Fixes: eed5a009897a ("etnaviv: convert perfmon queries to acc queries") Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5220> (cherry picked from commit f047d585ee472a314d4ad5da4dffa5e7c2a42eb5) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86500757730779975e555e1e0ed06a7a95684704 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed May 27 18:27:08 2020 -0400 pan/bi: Fix emit_if successor assignment Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Fixes: 9a00cf3d1ef ("pan/bi: Add support for if-else blocks") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260> (cherry picked from commit e42a5dfd4f2b22c73f4627128ac6d3dbcb10aca1) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c72b2524215a3f1e17aee904603df64c52be8c6 Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Fri May 29 10:02:39 2020 +0200 aco: fix register allocation for subdword instructions on GFX10 Cc: 20.1 <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5148> (cherry picked from commit 75a730ced59701201ef4247cbe2189a9be6a9d18) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad2272bf49565ed14df6f1311909aff6ba6818d Author: Vinson Lee <v...@freedesktop.org> Date: Wed May 27 16:19:25 2020 -0700 zink: Check fopen result. Fix warning reported by Coverity. Dereference null return value (NULL_RETURNS) dereference: Dereferencing a pointer that might be NULL fp when calling fwrite. Fixes: 8d46e35d16e3 ("zink: introduce opengl over vulkan") Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5235> (cherry picked from commit a2ee293422c09c9ecc8150ad70d29273e28c6a71) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=130d26f4ba0aad16e8a68f4c6b701da7a10dbff4 Author: Neha Bhende <bhen...@vmware.com> Date: Wed May 27 20:45:29 2020 +0530 util: Initialize pipe_shader_state for passthrough and transform shaders mesa/st is initializing pipe_shader_state for user define shaders. This patch intialized pipe_shader_state for all passthough and transform shaders. This fixes crashes for several opengl apps. Issue is found in vmware internal testing Fixes: f01c0565bb9 ("draw: free the NIR IR.") Reviewed-by: Charmaine Lee <charmai...@vmware.com> Reviewed-by: Roland Scheidegger <srol...@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5240> (cherry picked from commit 838666a41dcbbf566bff57e7a7b841e50bf2bdce) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59ae825ef46feb4aac63f0f59a81387ba77068c4 Author: Gert Wollny <gert.wol...@collabora.com> Date: Tue May 19 17:52:31 2020 +0200 nir: lower_tex: Don't normalize coordinates for TXF with RECT v2: remove the option to actually request normalization and its application in Intel < Gen6 (Jason) v3: Also don't lower for query operations (Jason) Fixes: 1ce8060c25c7f2c7a54159fab6a6974c0ba182a8 nir/lower_tex: support for lowering RECT textures Signed-off-by: Gert Wollny <gert.wol...@collabora.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5105> (cherry picked from commit 682e14d3eaee8991ee08ea309cbf9a509b6e6b27) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6dd7f680645fed48e7ed0449a4798a9d6e861aa Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Thu May 28 10:21:27 2020 +0200 spirv,radv,anv: implement no-op VK_GOOGLE_user_type This extension only allows HLSL shader compilers to optionally embed unambiguous type information which can be safely ignored by the driver. This fixes a crash with the recent Vulkan backend of Path Of Exile (it uses the extension without checking if it's supported). Cc: <mesa-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Tested-by: Edmondo Tommasina <edmondo.tommas...@gmail.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5237> (cherry picked from commit 10c4a7cf59733ae2058a76b880ea0767a59dad4f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=baa2b6fa2edddb98289e2245cf503b9ea9b95e45 Author: Rhys Perry <pendingchao...@gmail.com> Date: Thu Apr 30 16:10:42 2020 +0100 aco: preserve more fields when combining additions into SMEM Totals from 11 (0.01% of 127638) affected shaders: Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler') Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880> (cherry picked from commit e1900ee2c70c15dea56027c21676174704f12348) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e928acbea3c0912e411833ebf0fa1e5a2cbd9b4b Author: Rhys Perry <pendingchao...@gmail.com> Date: Wed Apr 29 17:47:50 2020 +0100 aco: check instruction format before waiting for a previous SMEM store Totals from 7 (0.01% of 127638) affected shaders: CodeSize: 40336 -> 40320 (-0.04%) Instrs: 7807 -> 7803 (-0.05%) Cycles: 118588 -> 118344 (-0.21%); split: -0.23%, +0.02% SMEM: 331 -> 339 (+2.42%) Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Fixes: 1749953ea3 ('aco/gfx10: Wait for pending SMEM stores before loads') Reviewed-by: Daniel Schürmann <dan...@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880> (cherry picked from commit 95d5c1b8a1ebe4a2ce47206b9ff0af4fbfd5a31a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e340f1d06c2be0d7320e5ce938f251e0c0ca1121 Author: Rhys Perry <pendingchao...@gmail.com> Date: Fri May 22 15:42:39 2020 +0100 aco: consider SDWA during value numbering Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Fixes: 23ac24f5b1fdde73cf8ec1ef6cbe08d73d6776f5 ('aco: add missing conversion operations for small bitsizes') Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164> (cherry picked from commit 5ccc7c277c86f754f40515820b27b55296107c54) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=060a47b4865ea7b6b778f58b48f8fea89393fb84 Author: Rhys Perry <pendingchao...@gmail.com> Date: Fri May 22 15:42:12 2020 +0100 aco: fix interaction with 3f branch workaround and p_constaddr The offset was incorrect if we inserted a nop before the p_constaddr. Signed-off-by: Rhys Perry <pendingchao...@gmail.com> Fixes: 93c8ebfa ('aco: Initial commit of independent AMD compiler') Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164> (cherry picked from commit 8aa98cebc15e6f6f8bcf42162399b5826376b3dc) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4008140f58c2616d13ddd766e626d579d8e6fb2a Author: Vinson Lee <v...@freedesktop.org> Date: Tue May 26 17:26:47 2020 -0700 pan/bi: Initialize struct fma_op_info member extended. Fix warning reported by Coverity Scan. Uninitialized scalar variable (UNINIT) uninit_use: Using uninitialized value info. Field info.extended is uninitialized. Fixes: 8c79c710d4e1 ("pan/bi: Identify extended FMA opcodes") Signed-off-by: Vinson Lee <v...@freedesktop.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5224> (cherry picked from commit df2c68ee4fd470efdc4f0121a2fe4aa5c64771e0) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a7b03c33f7707a0ca4cb4d99910310d050bc383 Author: Eric Engestrom <e...@engestrom.ch> Date: Thu May 28 01:19:03 2020 +0200 .pick_status.json: Update to ceaf848c564d74bcee14f0cd30b298aef86bd42b _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit