Commits on Source (43)
-
Juan A. Suarez Romero authored
Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Juan A. Suarez Romero authored
Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Samuel Pitoiset authored
Otherwise, Yakuza hangs the GPU with DXVK. We don't know if linetrip and pointlist are affected, so my point is to do that only for triangle strips. Cc: mesa-stable@lists.freedesktop.org Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit d8325f1f)
-
Kirill Burtsev authored
Currently we distinguish if the drawable is a window or pixmap by checking xcb_present_select_input throws an error or not. Yet, we don't always free the error state returned by xcb. Cc: Kirill Burtsev <kirill.burtsev@qt.io> Cc: Boyan Ding <boyan.j.ding@gmail.com> Fixes: 6bd9ba7d ("loader: Add dri3 helper") Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> [Emil: add commit message, fixes tag] Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit a5393164)
-
Rob Clark authored
LinkedTransformFeedback is normally populated, which had nerf'd varying packing since the check was introduced. Fixes: dbd52585 st/nir: Disable varying packing when doing transform feedback. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> (cherry picked from commit cfe82209)
-
Juan A. Suarez Romero authored
fixes: The changes this commit provides are already included in the branch. Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Erik Faye-Lund authored
This just has one member for now; the handle. But this is about to change. Signed-off-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by:
Mathias Fröhlich <Mathias.Froehlich@web.de> Tested-By:
Gert Wollny <gert.wollny@collabora.com> (cherry picked from commit 8447b642)
-
Erik Faye-Lund authored
Virglrenderer does the wrong thing when given an instance divisor; it tries to use the element-index rather than the binding-index as the argument to glVertexBindingDivisor(). This worked fine as long as there was a 1:1 relationship between elements and bindings, which was the case util 19a91841 "st/mesa: Use Array._DrawVAO in st_atom_array.c.". So let's detect instance divisors, and restore a 1:1 relationship in that case. This will make old versions of virglrenderer behave correctly. For newer versions, we can consider making a better interface, where the instance divisor isn't specified per element, but rather per binding. But let's save that for another day. Signed-off-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 19a91841 "st/mesa: Use Array._DrawVAO in st_atom_array.c." Reviewed-by:
Mathias Fröhlich <Mathias.Froehlich@web.de> Tested-By:
Gert Wollny <gert.wollny@collabora.com> (cherry picked from commit e888f28d)
-
Emil Velikov authored
Currently we have the three dri "platforms" - drm, apple and windows. Since xf86vidmode is a thing only for the drm one, adjust the preprocessor guards and correctly check for the dependency. v2: terminate the GLX_USE_WINDOWSGL hunk Cc: Jon TURNEY <jon.turney@dronecode.org.uk> Fixes: 5bc50936 ("glx: make xf86vidmode mandatory for direct rendering") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> Acked-by:
Eric Engestrom <eric.engestrom@intel.com> (cherry picked from commit a95ec138)
-
Alex Deucher authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 56cf25a1)
-
Alex Deucher authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 4db4b344)
-
Jan Vesely authored
CodeGenOptions were moved to Basic. Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Aaron Watry <awatry@gmail.com> Tested-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Kai Wasserbäch <kai@dev.carbon-project.org> CC: mesa-stable@lists.freedesktop.org (cherry picked from commit e4f9a37a)
-
Emma Anholt authored
The thrsw will invalidate rtop, just like accumulators and flags. Caught by simulator assertions in CS imulextended/umulextended tests. Fixes: 90269ba3 ("broadcom/vc5: Use THRSW to enable multi-threaded shaders.") (cherry picked from commit 3f9bcf91)
-
Emma Anholt authored
Fixes: f2e41daa ("broadcom/vc5: Update QPU instruction pack/unpack for v4.2.") (cherry picked from commit ff80e58b)
-
Jon Turney authored
Sadly, the GLX_USE_APPLEGL and GLX_USE_WINDOWSGL cases are not identical (because GLX_USE_WINDOWSGL uses vtables rather than a maze of ifdefs) Include <sys/time.h> again, as functions prototyped by it are used in the GLX_USE_WINDOWSGL path. Make the include guard around the __glxGetMscRate() definition match the one at it's declaration again, as it's referenced from dri_common.c which is built for GLX_USE_WINDOWSGL. Fixes: a95ec138 ("glx: mandate xf86vidmode only for "drm" dri platforms") Signed-off-by:
Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit d512b35b)
-
Faith Ekstrand authored
Instead of looking at input_sizes[i] which contains the number of components for each source, we look at the bit size of input_types[i]. This fixes a regression in the 1-bit boolean series though I have no idea how we haven't seen it before now. Fixes: 35baee5d "nir/constant_folding: fix incorrect bit-size check" Fixes: 9076c4e2 "nir: update opcode definitions for different bit sizes" Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 3595a0ab) [Juan A. Suarez: resolve trivial conflicts] Conflicts: src/compiler/nir/nir_opt_constant_folding.c
-
Iago Toral Quiroga authored
The implementation of these opcodes in the generator assumes that their arguments are packed, and it generates register regions based on that assumption. Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 39189432)
-
Rhys Perry authored
Fixes: f8d5b377 ('radv: set cb base tile swizzles for MRT speedups (v4)') Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108116 Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit bba94a3d)
-
Juan A. Suarez Romero authored
fixes: This commit requires commits aeaf8dbd and 7484bc89 which did not land in branch. Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Ian Romanick authored
In an instruction sequence like cmp(8).ge.f0.0 vgrf17:D, vgrf2.xxxx:D, vgrf9.xxxx:D (+f0.0) sel(8) vgrf1:UD, vgrf8.xyzw:UD, vgrf1.xyzw:UD The other fields of vgrf17 may be unused, but the CMP still needs to generate the other flag bits. To my surprise, nothing in shader-db or any test suite appears to hit this. However, I have a change to brw_vec4_cmod_propagation that creates cases where this can happen. This fix prevents a couple dozen regressions in that patch. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 5df88c20 ("i965/vec4: Rewrite dead code elimination to use live in/out.") (cherry picked from commit 440c0513)
-
Dylan Baker authored
Old versions of meson returned ppc64le as the cpu_family for little endian power8 cpus, versions >=0.48 don't do this, so the check wouldn't work in that case. This generalizes the check to work for both old and new versions of meson. Fixes: 34bbb24c ("meson: Add support for ppc assembly/optimizations") Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com> (cherry picked from commit e430a034)
-
Vinson Lee authored
Fixes: 6b4c7047 ("meson: build gallium nine state_tracker") Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 84f39e59)
-
Vinson Lee authored
Fixes: 5e71efef ("meson: Add lmsensors support") Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 0f7ba575)
-
Ian Romanick authored
"There's no point in walking the program if we're never going to actually lower anything." Except we might lower compacted local arrays. In that case, modes will be 0, but there is still lowering to be done. This reverts commit 7f75cf2a. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109081 Suggested-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Tested-by:
Clayton Craft <clayton.a.craft@intel.com> Cc: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 29e4b949)
-
Rhys Perry authored
This ends up refactoring visit_load_buffer() a little. Fixes: 7e7ee826 ('ac: add support for 16bit buffer loads') Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108114 Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Juan A. Suarez Romero authored
pick: This commit is nominated to stable, but fixes commit b3c61469 which is in 18.3 stable. Hence, this commit is considered as nominated to 18.3 stable. Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Juan A. Suarez Romero authored
pick: This commit is nominated to stable, but fixes commit 11dc1307 which is not in the current stable branch. Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Caio Oliveira authored
When updating a copy entry source value from a "non-SSA" (the data come from a copy instruction) to a "SSA" (the data or parts of it come from SSA values), it was possible to hold invalid data in ssa[0] depending on the writemask. Because the union, ssa[0] could contain a pointer to a nir_deref_instr left-over from previous non-SSA usage. Change code to clean up the array before use to avoid invalid data around. Fixes: 62332d13 "nir: Add a local variable-based copy propagation pass" Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 0ddc911f)
-
Emil Velikov authored
Currently our is_sha_nomination does: - folds any whitespace, attempting to extract sha-like information - checks that at least one of the shas has landed Split it in two and do sha-like validation first. This way, commits with mesa-stable and sha nominations will feature the fixes/revert/etc instead of stable (a) or will be omitted if not applicable for the respective branch (b). Misc examples from 18.3 (a) -[ stable ] 5bc50936 glx: make xf86vidmode mandatory for direct rendering +[ fixes ] 5bc50936 glx: make xf86vidmode mandatory for direct rendering (b) -[ stable ] 9a7b3199 anv/query: flush render target before copying results CC: Juan A. Suarez <jasuarez@igalia.com> CC: Dylan Baker <dylan@pnwbakers.com> CC: mesa-stable@lists.freedesktop.org Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Andres Gomez <agomez@igalia.com> (cherry picked from commit 6b296f64)
-
Emil Velikov authored
We had cases where people would list old/invalid sha in the commit. Add a trivial checker to catch those and throw a warning. CC: Juan A. Suarez <jasuarez@igalia.com> CC: Dylan Baker <dylan@pnwbakers.com> CC: mesa-stable@lists.freedesktop.org Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Andres Gomez <agomez@igalia.com> (cherry picked from commit e0dbfc99)
-
Alex Deucher authored
Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 516160d7)
-
Axel Davy authored
The dtor is called on allocation failure, thus we must check the volumes are allocated before trying to release them. Signed-off-by:
Axel Davy <davyaxel0@gmail.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit f91f748f)
-
Axel Davy authored
nine_context_box_upload uploads a ram buffer (from src) to a pipe_resource (dst). We already have a refcount on the pipe_resource, what needs to be protected from release is the ram buffer, thus a reference to src. Signed-off-by:
Axel Davy <davyaxel0@gmail.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 42d672fa)
-
Axel Davy authored
Just like nine_context_box_upload, nine_context_range_upload should reference the src, which holds the ram source buffer. Fixes: https://github.com/iXit/Mesa-3D/issues/327 Signed-off-by:
Axel Davy <davyaxel0@gmail.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 104681c5)
-
Lionel Landwerlin authored
We've made the choice not to use fast clears on layer > 0 with multilayer images. This is partly because we would need to store multiple clear colors for each layer, making the existing memory layout, already including aux surfaces, fast clear color, image state, etc... even more complex. Partial resolves are the operations transfering the clear colors into the auxiliary buffers. This operation is currently implemented in Blorp by loading the clear color from the image's BO, into a shader that then samples from the auxiliary buffer and writes the color only if it isn't there already. The problem here is that because we store only one clear color for all layers and it is used for partial resolves. If you trigger a partial clear on a layer > 0, then you're likely to deal with a color that is not what you actually want. In the particular issues below, we have multiple layers, each cleared with a different color but the partial resolve just writes the wrong color into the auxiliary buffers for layers > 0. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108910 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108911 Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit e2ae5f2f)
-
Emil Velikov authored
The gallium drivers do not require a DRI loader. Drop the artificial and unnecessary restriction. Fixes: af9d2761 ("meson: build libmesa_gallium") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 9d105818)
-
Emil Velikov authored
The library is called libgalliumvl_stub - note singular. Fixes: 42ea0631 ("meson: build clover") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 2eedb79e)
-
Emil Velikov authored
The library itself (libGL) is only built when -Dglx=dri, yet it's accompanying tests are build even with -Dglx=xlib. Adjust the guards, so we don't build the tests when they are not applicable v2: - Reword commit message (Dylan) - Drop build_by_default hunk (Dylan) Fixes: a47c525f ("meson: build glx") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 9527f9ea)
-
Emil Velikov authored
When producing the final libGL.so/libGLX_mesa.so we only link the local static helper lib (libglx). Thus there's no reason for the includes. Fixes: a47c525f ("meson: build glx") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit b44875e2)
-
Emil Velikov authored
Accidentally dropped with earlier commit.! Fixes: 4ccb9816 ("meson: Use consistent style for tests") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit e139d7a8)
-
Emil Velikov authored
Swap '..' with the symbolic inc_glx and add glproto as dependency. That will pull the correct include, effectively fixing the tests on macOS. Fixes: a47c525f ("meson: build glx") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit f331419f) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/glx/tests/meson.build
-
Juan A. Suarez Romero authored
Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Juan A. Suarez Romero authored
Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
docs/relnotes/18.2.8.html
0 → 100644