- Jan 18, 2023
-
-
Dylan Baker authored
-
- Jan 17, 2023
-
-
Otherwise build fails: "../src/intel/compiler/brw_private.h:40:4: note: ‘std::variant’ is only available from C++17 onwards" Fixes: 6c194ddd ("intel/compiler: Prepare SIMD selection helpers to handle different prog_datas") Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <mesa/mesa!20725> (cherry picked from commit 53de48f1)
-
batch can be invalidated by the render condition check. Fixes nv_conditional_render-clear. Fixes: 638b2235 ("panfrost: Clear with a quad to avoid flushing") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!20689> (cherry picked from commit 02f9cddb)
-
opaque should not be set when logicops are enabled, that needs blending even on Bifrost. Fixes is for when I believe the bug became possible to hit. The logical error is older. Fixes Piglit logicop tests again. Fixes: d849d977 ("panfrost: Avoid blend shader when not blending") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!20685> (cherry picked from commit 41d99c10)
-
Unlike literally every other mesa/st emulation, for some inexplicable reason we need to pretend to support the CAP and then set a different EMULATE cap instead of the emulation keying off the lack of support for the CAP. Set the CAPs accordingly so we get NV_primitive_restart (with emulation of non-fixed indices). This gets Mesa to advertise GL 3.1 on Mali-G57 as intended. Fixes: 30c14f54 ("panfrost: Disable PIPE_CAP_PRIMITIVE_RESTART on v9") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!20702> (cherry picked from commit fe4dc59e)
-
Future changes to nir_lower_blend cause fsat(reg.yx) instructions to be generated, which correspond to "FCLAMP.v2f16 x.h10" pseudoinstructions. These get their swizzles lowered, but we forgot to clear the swizzle out, so we end up with extra swap (cancelling out the intended swizzle). Fix the lowering logic. Fixes: ac636f5a ("pan/bi: Use FCLAMP pseudo op for clamp prop") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!20683> (cherry picked from commit ed46c617)
-
Otherwise the degenerate geometry workaround never triggers, leading to bad performance. Fixes: 6f45c98b ("radv/bvh: Adjust sah cost based on depth") Part-of: <mesa/mesa!20723> (cherry picked from commit 684eee07)
-
This reverts commit b4d3d11e. We're seeing problems on the builders running the hasvk tests. Part-of: <mesa/mesa!20726> (cherry picked from commit 4121aa43)
-
We set the different data being freed to NULL after freeing it, and checks for NULL before freeing it. This fixes several double free crash with v3dv, when running OOM wsi tests, like for example: dEQP-VK.wsi.xlib.swapchain.simulate_oom.composite_alpha Although note that only one person got those on a new fresh install of the Raspbian OS, so this problem was rare. Fixes: 5b13d745 ("vulkan/wsi/drm: Break create_native_image in pieces") Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <mesa/mesa!20695> (cherry picked from commit b27e42dc)
-
Fix defect reported by Coverity Scan. Resource leak (RESOURCE_LEAK) leaked_storage: Variable page going out of scope leaks the storage it points to. Fixes: 8d0e6c02 ("radv: Add RMV tracing utilities") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de> Part-of: <mesa/mesa!20711> (cherry picked from commit 6986332c)
-
Improves build performance by around 25%. Fixes: 9369b407 ("radv: Use PLOC for BVH building") Part-of: <mesa/mesa!20717> (cherry picked from commit eab2c399)
-
This isn't allowed for the same reason that AFBC of regular luminance-alpha isn't allowed (and will raise DATA_INVALID_FAULTs). Reorder the checks to ensure these formats are checked. Fixes Piglit texwrap GL_EXT_texture_sRGB-s3tc. Fixes: 476be5cb ("panfrost: Don't use texture format swizzles on v7") Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!20686> (cherry picked from commit 5fdfd804)
-
This is the patch I had meant to merge Fixes: 8b79e6fb ("dzn: No need to add another bind flag for clears if one is already present") Part-of: <mesa/mesa!20361> (cherry picked from commit f1faf30a)
-
Dylan Baker authored
-
- Jan 13, 2023
-
-
If we pass a physical 2D texture descriptor we should also pass 2 coords. Otherwise it just uses the random content in the second register which ends up funny sometimes. Cc: mesa-stable Part-of: <mesa/mesa!20696> (cherry picked from commit edca10e9)
-
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Closes: #6825 Fixes: f1d20ec6 ("nir/nir_opt_move: handle non-SSA defs ") Part-of: <mesa/mesa!17439> (cherry picked from commit 267dd1f4)
-
If the previously emitted graphics pipeline uses the value A for col_format_non_compacted and the new bound graphics pipeline uses B. At bind time, radv_cmd_state::col_format_non_compacted will be set to B and the rbplus flag will be dirtied. But if there is no draws and a new graphics pipeline is bound with the same value as A, the next draw will emit the rbplus state with B instead of A. This can be basically triggered with meta operations after drawing because the driver saves/restores the bound pipeline. Closes: mesa/mesa#8073 Fixes: 11469f75 ("radv: copy the non-compacted color format at pipeline bind time") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!20692> (cherry picked from commit 5b3fb44e)
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
I looked through the changes to features.txt since the 22.3 branchpoint and added those to the new_features list as well. It was pointed out that VK_KHR_present_wait wasn't in the list of new features.
-
- Jan 12, 2023
-
-
This is a global register which isn't settable by userspace contexts. It also shouldn't appear in any of our aubinator decodes from error states or aub dumps, as no userspace batch should be setting it. So it's not very valuable to have here. Just makes us think we can set it. Plus, a lot of the field definitions changed a bunch, and would need updating. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!20627>
-
Fixes: 8d0e6c02 ("radv: Add RMV tracing utilities") Part-of: <mesa/mesa!20636>
-
Such variable is only used in assert(), so declare it as ASSERTED. Closes: mesa/mesa#7885 Closes: mesa/mesa#7234 Signed-off-by: GH Cao <driver1998.ms@outlook.com> Part-of: <mesa/mesa!20676>
-
If you're here, you'd really like to know. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!20658>
-
Now I don't need to remember different perfetto setups depending on which system I'm profiling. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!20658>
-
Fixes: ef27399b ("docs: update perfetto with the latest status") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!20658>
-
!19355 should never have happened, but we didn't bother to add build coverage for hasvk when we split it out from anv. Part-of: <mesa/mesa!19356>
-
This makes it stop dumping on every n-th frame. It also uses a simple increment, since the function is locked. Fixes: defed481 ("vulkan: Add common RMV tracing infrastructure") Part-of: <mesa/mesa!20635>
-
For command buffers, only scratch/upload bos are logged which cannot be attributed to command buffer handles. Fixes: 5611ab25 ("radv: Add RMV tracing layer") Part-of: <mesa/mesa!20647>
-
Fixes: 5611ab25 ("radv: Add RMV tracing layer") Part-of: <mesa/mesa!20647>
-
Pierre-Eric Pelloux-Prayer authored
Oops... Fixes: 595079c3 ("hud: extract float printf modifer selection logic to helper") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!20643>
-
Pierre-Eric Pelloux-Prayer authored
The regular sprintf is expected to return the number of char writter, so let's do the same in our version. Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <mesa/mesa!20643>
-
Acked-by: Karol Herbst <kherbst@redhat.com> Part-of: <mesa/mesa!19696>
-
Currently this ends up with unneeded move. fixes: 63f353b4 Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <mesa/mesa!20625>
-
Some format modifiers change the number of planes used by an image. For instance AMD DCC modifiers uses 2 or 3 planes. However the format modifier was ignored in the PIPE_RESOURCE_PARAM_NPLANES get_param hook. Fix this by using get_dmabuf_modifier_planes() instead of util_format_get_num_planes(). This fixes wlroots-based compositors under zink. Signed-off-by: Simon Ser <contact@emersion.fr> Fixes: c025cb9e ("zink: fix dmabuf plane returns") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20395>
-
This is required to allow the docs to build, which in turn is required if we want to allow merge requests against release (staging) branches. Cc: mesa-stable Part-of: <mesa/mesa!20460>
-
Part-of: <mesa/mesa!20459>
-
Part-of: <mesa/mesa!20459>
-
Part-of: <mesa/mesa!20459>
-
Signed-off-by: Thong Thai <thong.thai@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Tested-by: Suresh Guttula <suresh.guttula@amd.com> Part-of: <mesa/mesa!19915>
-