Commits on Source (28)
-
Juan A. Suarez Romero authored
Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Alex Smith authored
LLVMInt*Type() return types from the global context and therefore are not safe for use in other contexts. Use types from our own context instead. Fixes frequent crashes seen when doing multithreaded pipeline creation. Fixes: 4d0b02bb "ac: add support for 16bit load_push_constant" Fixes: 7e7ee826 "ac: add support for 16bit buffer loads" Cc: "18.2" <mesa-stable@lists.freedesktop.org> Signed-off-by:
Alex Smith <asmith@feralinteractive.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit ca83d51c)
-
Andres Rodriguez authored
It was using the debug options array size. CC: mesa-stable@lists.freedesktop.org Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit e71a8777)
-
Jan Vesely authored
Fixes assertion failure/crash when running luxmark/luxball on clover. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108272 CC: mesa-stable@lists.freedesktop.org Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 06bf5672)
-
Marek Olšák authored
Cc: 18.1 18.2 <mesa-stable@lists.freedesktop.org> Tested-by:
Jakob Bornecrantz <jakob@collabora.com> (cherry picked from commit eae8f49f)
-
Michel Dänzer authored
In that case, we have to wait for the fence to synchronize with the corresponding drawing we triggered in the X server. Fixes incorrect display with the i965 driver and some applications, e.g. solvespace. Bugzilla: https://bugs.freedesktop.org/108097 Fixes: aefac10f "loader/dri3: Only wait for back buffer fences in dri3_get_buffer" Tested-by:
Sergii Romantsov <sergii.romantsov@globallogic.com> (cherry picked from commit c20ba1be)
-
Connor Abbott authored
And implement ac_bulid_expand_to_vec4() on top of it. Fixes: 7e7ee826 ("ac: add support for 16bit buffer loads") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 59535b05)
-
Connor Abbott authored
The comment was wrong, since the loop above casts to a type with the correct bitsize already. Fixes: 7e7ee826 ("ac: add support for 16bit buffer loads") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 27fe3f5b)
-
Dylan Baker authored
r600 doesn't have a hard requirement on LLVM, and therefore doesn't have a hard requirement on libelf. Currently the logic doesn't allow that however. Distro-bug: https://bugs.gentoo.org/669058 Fixes: 5060c51b ("meson: build r600 driver") Reviewed-by:
Matt Turner <mattst88@gmail.com> (cherry picked from commit 4e785fb3)
-
Eric Engestrom authored
Fixes: a4c4efad "radv: Rework guard band calculation" Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 17b03b53)
-
Liviu Prodea authored
I found a remnant of texture_float build option that wasn't removed in commit 66673bef This patch removes it. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit d99fda17)
-
Elie Tournier authored
This patch fixes the following Piglit test: spec@egl_mesa_configless_context@basic It also fixes few test in a virgl guest. v2: Evaluate the value of no_config (Ilia) Suggested-by:
Emil Velikov <emil.velikov@collabora.com> Signed-off-by:
Elie Tournier <elie.tournier@collabora.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 9179c745)
-
Alok Hota authored
This function's API changed between LLVM 5 and 6. Compile errors occur when building with LLVM 6+ if LLVM 5 was used for a dist tarball CC: <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107865 Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit edf38019)
-
Bas Nieuwenhuizen authored
Since the CPU can read them we need to execute any GPU->CPU flushes before the event is written. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108524 Fixes: f4e499ec "radv: add initial non-conformant radv vulkan driver" Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit d41c3cc0)
-
David McFarland authored
After discussion with Timothy Arceri. disk_cache_get_function_identifier was using only the first byte of the sha1 build-id. Replace disk_cache_get_function_identifier with implementation from radv_get_build_id. Instead of writing a uint32_t it now writes to a mesa_sha1. All drivers using disk_cache_get_function_identifier are updated accordingly. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Fixes: 83ea8dd9 ("util: add disk_cache_get_function_identifier()") [Juan A. Suarez: resolve trivial conflicts] (cherry picked from commit 07a00a87) Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/gallium/drivers/radeonsi/si_pipe.c
-
Faith Ekstrand authored
Previously, we would always pull the bit size from the destination which is wrong for opcodes like nir_ilt where the sources are variable-sized but the destination is a fixed size. We were getting lucky before because nir_op_ilt returns a 32-bit value and basically everyone who uses spec constants uses 32-bit ones. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 8fa70cfc)
-
Faith Ekstrand authored
Cc: mesa-stable@lists.freedesktop.org Suggested-by:
Francisco Jerez <currojerez@riseup.net> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit b6b2b278) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/intel/blorp/blorp_genX_exec.h
-
Juan A. Suarez Romero authored
pick: This commit reverts 0fa9e6d7 which did not land in branch. Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
-
Alex Smith authored
When depth testing is disabled, we shouldn't pay attention to the specified depthCompareOp, and just treat it as always passing. Before, if the depth test is disabled, but depthCompareOp is VK_COMPARE_OP_NEVER (e.g. from the app having zero-initialized the structure), then sanitize_stencil_face() would have incorrectly changed passOp to VK_STENCIL_OP_KEEP. v2: Roll the depthTestEnable check into the ds_aspect check below since they now both do the same thing. Fixes: 028e1137 "anv/pipeline: Be smarter about depth/stencil state" Signed-off-by:
Alex Smith <asmith@feralinteractive.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 3bd239f7)
-
Nanley Chery authored
Follow the restriction of making sure the clear value is between the min and max values defined in CC_VIEWPORT. Avoids a simulator warning for some piglit tests, one of them being: ./bin/depthstencil-render-miplevels 146 d=z32f_s8 Jason found this to fix incorrect clearing on SKL. Fixes: 09948151 ("intel/blorp: Add the BDW+ optimized HZ_OP sequence to BLORP") Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Tested-by:
Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 5bcf4795) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/intel/blorp/blorp_genX_exec.h
-
Faith Ekstrand authored
It probably doesn't actually break anything but it does cause some assertions in debug builds. Fixes: 7a89a0d9 "anv: Use separate MOCS settings for external BOs" Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit cbd44686)
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com> (cherry picked from commit 12de415a) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/gallium/drivers/freedreno/freedreno_state.c
-
Rob Clark authored
In the 'inorder' case (ie. FD_MESA_DEBUG=inorder, or old kernel), if the u_blitter clear path is used (a3xx, a4xx, and some fallback cases on newer gens), util_blitter_restore_fb_state() will set_framebuffer_state() to something that is identical to the current fb state, which triggers an unnecessary flush, and then eventually an assert: (gdb) bt #0 0x0000007fbf24a078 in kill () from /lib64/libc.so.6 #1 0x0000007fbe061278 in _debug_assert_fail (expr=0x7fbe93a820 "!batch->flushed", file=0x7fbe93a628 "../src/gallium/drivers/freedreno/freedreno_batch.c", line=491, function=0x7fbe93a990 <__func__.17380> "fd_batch_check_size") at ../src/gallium/auxiliary/util/u_debug.c:322 #2 0x0000007fbe1ccb8c in fd_batch_check_size (batch=0x55556d5a70) at ../src/gallium/drivers/freedreno/freedreno_batch.c:491 #3 0x0000007fbe1d0e08 in fd_clear (pctx=0x55555c61e0, buffers=5, color=0x55556e388c, depth=1, stencil=0) at ../src/gallium/drivers/freedreno/freedreno_draw.c:463 #4 0x0000007fbe57afa4 in st_Clear (ctx=0x55556e17b0, mask=18) at ../src/mesa/state_tracker/st_cb_clear.c:452 The assert was introduced in 4b847b38, so from a functionality standpoint this patch fixes that commit. But it should also avoid an unnecessary flush in the 'inorder' case, fixing a performance bug. Fixes: 4b847b38 freedreno: make fd_batch a one-shot thing Signed-off-by:
Rob Clark <robdclark@gmail.com> (cherry picked from commit a61952e7)
-
Alok Hota authored
Converted from x86 VFMADDPS intrinsic to generic LLVM intrinsic, and removed createInstructionSimplifierPass, which were both removed in LLVM 7.0.0 These changes combine patches we received from the community and our own internal patches Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com> Tested-by:
Chuck Atkins <chuck.atkins@kitware.com> (cherry picked from commit 8c872ac2)
-
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>
-
Timo Aaltonen authored
-
Timo Aaltonen authored
docs/relnotes/18.2.4.html
0 → 100644