- 11 Mar, 2022 2 commits
-
-
Sebastian Krzyszkowiak authored
-
- 07 Mar, 2022 1 commit
-
-
Sebastian Krzyszkowiak authored
-
- 23 Dec, 2021 1 commit
-
-
Guido Gunther authored
-
- 09 Dec, 2021 1 commit
-
-
Guido Gunther authored
byzantium: Update to 21.2.6 See merge request Librem5/mesa!11
-
- 07 Dec, 2021 2 commits
-
-
Sebastian Krzyszkowiak authored
-
Sebastian Krzyszkowiak authored
This fixes lintian error python3-script-but-no-python3-dep (because of /usr/bin/mesa-overlay-control.py)
-
- 28 Nov, 2021 2 commits
-
-
Sebastian Krzyszkowiak authored
-
Sebastian Krzyszkowiak authored
Tagging upload of mesa 21.2.6-1 to unstable.
-
- 25 Nov, 2021 3 commits
-
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
- 24 Nov, 2021 28 commits
-
-
Dylan Baker authored
-
Dylan Baker authored
-
Rhys Perry authored
spirv_to_nir sometimes wraps derefs in vec2 or mov instructions as part of its texture handling. These get in the way of nir_rematerialize_derefs_in_use_blocks_impl. Running copy propagation should get rid of the extra move instructions and get us back to intact deref chains for everything except variable pointer use-cases. fossil-db (Sienna Cichlid): Totals from 6 (0.00% of 134572) affected shaders: CodeSize: 92656 -> 93088 (+0.47%) Instrs: 17060 -> 17138 (+0.46%) Latency: 224408 -> 227539 (+1.40%) InvThroughput: 37402 -> 37924 (+1.40%) VClause: 408 -> 402 (-1.47%) Copies: 1065 -> 1107 (+3.94%) Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5668 Fixes: 14a12b77 ("spirv: Rework our handling of images and samplers") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13924> (cherry picked from commit b4251007810bc2a02d44580b04ad34ec381f891b)
-
Thomas H.P. Andersen authored
The function need_temp_reg_initialization looks suspecious. It will only ever return true if we get past this if: if (!(emit->info.indirect_files && (1u << TGSI_FILE_TEMPORARY)) ... Using the logical && means the intended initialization done based on the result of this check is not performed. This code was both introduced and altered in MR 5317. ccb4ea5a introduces the function. ba37d408 is a collection of performance improvements and misc fixes. This altered the if from using bitwise to logical and. This commit changes it back to bitwise. Spotted from a compile warning. Fixes: ba37d408 ("svga: Performance fixes") Reviewed-by:
Zoltán Böszörményi <zboszor@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12157> (cherry picked from commit 64292c0f05ba891d9c7319e1a1cea98eb0630af4)
-
Roman Stratiienko authored
Android build system may use different internal variables to specify cflags/cppflags. Small change in product confguration may force Android to use diffrent set of variables, therefore we should keep all of them attached to the make rule's target. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5549 Fixes: 8621bd8d ("android: Add scripts to build using meson") Signed-off-by:
Roman Stratiienko <r.stratiienko@gmail.com> Acked-by:
Jesse Natalie <jenatali@microsoft.com> Reviewed-by:
Marijn Suijten <marijn.suijten@somainline.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13914> (cherry picked from commit 32ec0fffa6fbe58b0fd76901c6a7dc8a9cfc79b1)
-
Rhys Perry authored
If a predecessor has only spilled constants (no temporaries), spills_exit will be empty. fossil-db (Sienna Cichlid): Totals from 2 (0.00% of 128647) affected shaders: Latency: 139106 -> 139104 (-0.00%) Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5633 Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13821> (cherry picked from commit cc2894345f1161fcbb2f9b9150257e0f6b0b303e)
-
Lionel Landwerlin authored
Now that we removed the intel intrinsic and just use the generic one, we can skip it in the intel call lowering pass and just deal with it in the intel rt intrinsic lowering. v2: rewrite with nir_shader_instructions_pass() (Jason) v3: handle everything in switch (Jason) Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 423c47de ("nir: drop the btd_resume_intel intrinsic") Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12113> (cherry picked from commit c5a42e401036eb2eecf8798c103f8ae2cce08eab)
-
Connor Abbott authored
If the source and destination were within the same full register, like hr90.x and hr90.y (which both map to r45.x), then we'd perform the swap/copy with the wrong register. This broke dEQP-VK.ssbo.phys.layout.random.16bit.scalar.35 once BDA is enabled. Fixes: 0ffcb19b ("ir3: Rewrite register allocation") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13818> (cherry picked from commit c98adc56f4fe08231b0fec84b6a92c89eb94d59b)
-
Connor Abbott authored
The immediate shouldn't be half-reg because the other source isn't. Fixes an assertion failure with dEQP-VK.ssbo.phys.layout.random.16bit.scalar.35. Fixes: 0ffcb19b ("ir3: Rewrite register allocation") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13818> (cherry picked from commit 65da866ad96bbe5a1683c98191331827ea3bd580)
-
Ian Romanick authored
Fixes: 82d9a37a ("glsl/nir: Add a shared helper for building float64 shaders") Closes: #5556 Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13828> (cherry picked from commit 04f5c543ded15362dc6286ff4ae7a38f00f6ca7e)
-
Timothy Arceri authored
Fixes: 3be42f9c ("mesa: rewrite glPushAttrib/glPopAttrib to get rid of malloc") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5621 Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13773> (cherry picked from commit 9d9de15a020d317d4486124f97b2cf06b98ee8b6)
-
Dave Airlie authored
VK CTS just added some new tests to write to a compressed image from a compute shader, which was overrunning memory. The image width/height need to be sized according to the block sizes to avoid overwriting memory. dEQP-VK.image.sample_texture.*bit_compressed* Cc: mesa-stable Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13618> (cherry picked from commit 27903abbb67482e2d772c508e9d00e49029b8364)
-
Dave Airlie authored
This fixes some crashes in VK-GL-CTS where it doesn't deal with these. Cc: mesa-stable Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13617> (cherry picked from commit 53a8faafc1eb28399509098ee2c0fd210f0727f2)
-
Timur Kristóf authored
p_is_helper doesn't have any operands, so ACO's value numbering and/or the pre-RA optimizer could incorrectly recognize two such instructions as the same. This patch adds exec as an operand to p_is_helper in order to achieve correct behavior. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5570 Signed-off-by:
Timur Kristóf <timur.kristof@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13577> (cherry picked from commit d80c7f3406b80ae684a709de57a9ef3d54a497b6)
-
Dylan Baker authored
-
pal1000 authored
Future LLVM header leads to __declspec(__restrict), which is invalid. Just undefine the restrict macro to keep __declspec(restrict). Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit e0de7aa4d7717bbd79bbc5bfc660f941f680402b) # Conflicts: # src/amd/compiler/aco_print_asm.cpp Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13813>
-
Jesse Natalie authored
zero is for success, nonzero is failure. Fixes: 0b60d6a2 ("d3d12: Support Linux eventfds for fences") Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12268> (cherry picked from commit accd8326c5cb78788f12e3066bb6654595c23a51)
-
Jason Ekstrand authored
When the client calls vkMapMemory(), we have to align the requested offset down to the nearest page or else the map will fail. On platforms where we have DRM_IOCTL_I915_GEM_MMAP_OFFSET, we always map the whole buffer. In either case, the original map may start before the requested offset and we need to take that into account when we clflush. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13610> (cherry picked from commit 90ac06e5029b9f0c702c92e97696c9cdb97b08d6)
-
Eric Engestrom authored
This is already done on lines 475-480, resulting in them appearing twice in the summary. Fixes: 47946855 ("meson: allow egl_native_platform to be specified") Signed-off-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278> (cherry picked from commit 9ad375bdcd3189be9672ea42268dec123ffca7fb)
-
Dylan Baker authored
-
Lionel Landwerlin authored
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: d399c3e8 ("intel/dev: Add device info for ADL-S") Reviewed-by:
Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13476> (cherry picked from commit 3b1a5b8f2ba15dfec24b80fcb3f005084c03289e)
-
Marek Olšák authored
Cc: 21.2 21.3 <mesa-stable@lists.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13472> (cherry picked from commit 10ee261c38cbb0c7f0637a039ac2ec3a1ca64c5b)
-
Dylan Baker authored
-
Lionel Landwerlin authored
A bit difficult to find what commit introduced the issue because of all the renaming, but it was my bug :) Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015> (cherry picked from commit 349bfb72752981c9ce276147efaa65ea9d839c57)
-
Lionel Landwerlin authored
v2: Fix comment change (Marcin) Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015> (cherry picked from commit 67619d8153249e2cc3c36ac9a28aec9ded0ca1ba)
-
Lionel Landwerlin authored
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015> (cherry picked from commit d7c6a90c26794eff623e8885f92ab27aaa0fe581)
-
Lionel Landwerlin authored
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10015> (cherry picked from commit d1db5d562af6cd9447bb564797d67dd27ff95024)
-
Pierre-Eric Pelloux-Prayer authored
10c75ae4 moved handling of this state to the functions that depend on ctx->_ImageTransferState. So we can't depend on _NEW_PIXEL being set to call this function, since it'll be always clear earlier by _mesa_update_state_locked. Example sequence that would trigger the issue: glPixelTransferi(...) glClear(...) glTexSubImage2D(...) <-- won't use the new value set by glPixelTransferi because glClear caused _NEW_PIXEL to be cleared. _NEW_PIXEL itself is kept because st_update_pixel_transfer depends on it. Fixes: 10c75ae4 ("mesa: move _mesa_update_pixel out of _mesa_update_state") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5273 Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13596> (cherry picked from commit 1ee3fbd703752460248958f9b7e42a855023b274)
-