- Jan 12, 2023
-
-
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: <!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>
-
v2: Add a one line offset to the compute shader, to get the correct output, as suggested by Suresh <Suresh.Guttula@amd.com>. v3: Add `FALLTHROUGH` to fix a compilation error 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>
-
Signed-off-by:
Thong Thai <thong.thai@amd.com> Tested-by:
Marcus Seyfarth <m.seyfarth@gmail.com> Reviewed-by:
Leo Liu <leo.liu@amd.com> Part-of: <mesa/mesa!19915>
-
Fixes the scale and translate portion of the code to allow for scale and crop to work properly. Signed-off-by:
Thong Thai <thong.thai@amd.com> Reviewed-by:
Leo Liu <leo.liu@amd.com> Tested-by:
Marcus Seyfarth <m.seyfarth@gmail.com> Part-of: <mesa/mesa!19915>
-
Explicitly mention supported APIs and add GFXReconstruct for Vulkan tracing and debugging. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!20474>
-
This file has now long being moved to another directory. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!20474>
-
Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Cc: mesa-stable Part-of: <mesa/mesa!20652>
-
These fields are allocated as they have to be taken into account for initScreen. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!20663>
-
The given screen is already freed by the caller in case a NULL-pointer is returned by the implementation. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!20663>
-
Some of the code paths were not freeing the allocated strings, also remove the unused ret variable as we are always returning -1 on failure. Signed-off-by:
Corentin Noël <corentin.noel@collabora.com> Reviewed-by:
Simon Ser <contact@emersion.fr> Part-of: <mesa/mesa!20667>
-
Both wayland and X backends are covered by headless weston, with X enabled through weston Xwayland. Signed-off-by:
Erico Nunes <nunes.erico@gmail.com> Acked-by:
Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <mesa/mesa!20392>
-
Align it with the state of other drivers' ci and make it easier to enable more tests later. Signed-off-by:
Erico Nunes <nunes.erico@gmail.com> Part-of: <mesa/mesa!20392>
-
Restricting the state change only to newly used states results in problems, because SSBOs, Images, and the framebuffers make use of the same limited set of resources, and not properly unbinding un-used resoureces leads to invalid rendering and GPU hangs. Fixes: aaa4b0e6 st/mesa: move check_program_state code into _mesa_update_state v2: use new cap name and switched meaning Closes: mesa/mesa#7969 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!20493>
-
With aaa4b0e6 state validation is no longer called for all changed states, but only for states that will be active with a new shader program. Not all drivers support this and might prefer if the state validation is emitted for all states that might be changed. So add a cap that the driver can signal one or the other preference, and default to the new behavior. Fixes: aaa4b0e6 st/mesa: move check_program_state code into _mesa_update_state v2: - Rename cap and and invert its meaning, query the cap only once and store it in st, handle the mask update when updating the shader i.e. not in st_validate_state (Marek) Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!20493>
-
This was always meant to be at the bottom of the page. To reduce the risk of more driver-specific environment variables being added below, let's add a horizontal rule to mark the difference. This should make it more clear that this paragraph doesn't belong to the previous heading. Fixes: c70c5ecd ("docs: move generic gallium envvars to root doc") Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!20644>
-
Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Gather outputs in advance to save both output data and type. Output data is used for streamout and gfx11 param export. Output type is used for streamout latter. The output info will also be used for nir vertex export in the future. Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Singed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Fixes: abe2e99e ("ac/nir/ngg: gs support 16bit outputs") Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
When slot has no param offset, we should not emit store output for them on gfx11. Fixes: abe2e99e ("ac/nir/ngg: gs support 16bit outputs") Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Follow the spec, all outputs even not this stream need to be reset after emit vertex. Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
As we does not support nogs/gs indirect output, so the offset is always 0. Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Because we called nir_lower_io_to_temporaries which ensure the store output and emit vertex in the same block. Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Prepare to support 16bit streamout and remove nir_variable output. Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!20350>
-
Dave Airlie authored
I thought I'd fixed this already, must have gotten lost in a rebase. fixes dEQP-VK.pipeline.pipeline_library.graphics_library.misc.bind_null_descriptor_set.1010 Fixes: 20902d1e ("lavapipe: fix descriptor set layout reference counting in layout merge") Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20662>
-
cleanup the remaining file for what actually fails in CI now. Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
This should clean this up properly. Fixes: eb7eccc7 ("lavapipe: Use generated command queue code") Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
fixes a memory leak seen in lavapipe asan tests dEQP-VK.robustness.robustness2.bind.template.rg32f.unroll.nonvolatile.storage_buffer.readwrite.no_fmt_qual.null_descriptor.samples_1.1d.frag Fixes: 2909c654 ("llvmpipe: add fragment shader image support") Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
When creating a merged layout, don't use ralloc, just use the correct reference counting, also only reference a layout if the pipeline uses it. Fixes: d4d5a7ab ("lavapipe: implement EXT_graphics_pipeline_library") Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
When taking the descriptor set layouts from the pipeline layout, make sure to take references Fixes: d4d5a7ab ("lavapipe: implement EXT_graphics_pipeline_library") Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!20630>
-
If the blit formats match and the resource formats match, then that's a memcpy whether or not the blit's view of the resource matches the resource's format. Improves perf of portal-2-v2's last frame on zink+anv by 1.33212% +/- 0.302829% (n=5), where there's a blit that is viewing the RGBA8_UNORM src/dst resources as RGBA8_SRGB. Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!20594>
-