Find a file
Lionel Landwerlin ed62199266 anv: track buffer writes from shaders for query results writes
In the following sequence :
   - write buffer B with a shader
   - barrier on buffer from shader-write to transfer
   - vkCmdCopyQueryPoolResults to buffer B

The barrier should take care of ordering things between the shader
writes and vkCmdCopyQueryPoolResults.

The problem is that vkCmdCopyQueryPoolResults runs on the command
streamer and that is not coherent or synchronized in the same way as
shaders.

This change marks the barrier has potentially containing pending
buffer writes for queries so that we can insert the necessary flush
for vkCmdCopyQueryPoolResults later.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9013
Cc: mesa-stable
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23675>
(cherry picked from commit cab8495625)
2023-06-24 14:09:40 +01:00
.github/workflows
.gitlab/issue_templates
.gitlab-ci rusticl: bump rust req to 1.60 2023-06-08 10:02:35 +02:00
android
bin bin: Fix typos 2023-03-30 21:37:00 +00:00
build-support
docs docs/relnotes: add sha256sum for 23.1.3 2023-06-22 17:54:47 +01:00
include intel/dev: remove dg2 0x5698 pci id 2023-05-25 14:06:12 +01:00
src anv: track buffer writes from shaders for query results writes 2023-06-24 14:09:40 +01:00
subprojects
.dir-locals.el
.editorconfig
.gitattributes
.gitignore
.gitlab-ci.yml Revert "ci: disable lima farm, currently out-of-space, needs to be fixed" 2023-04-17 08:58:51 +01:00
.graphqlrc.yml
.mailmap mailmap: Update my e-mail 2023-04-10 21:54:05 +00:00
.pick_status.json anv: track buffer writes from shaders for query results writes 2023-06-24 14:09:40 +01:00
CODEOWNERS
meson.build meson: Remove reference to removed SWR driver 2023-06-20 12:17:02 +01:00
meson_options.txt meson: Key whether to build batch decoder on expat 2023-06-15 22:10:48 +01:00
README.rst
VERSION VERSION: bump for 23.1.3 2023-06-22 17:42:08 +01:00

`Mesa <https://mesa3d.org>`_ - The 3D Graphics Library
======================================================


Source
------

This repository lives at https://gitlab.freedesktop.org/mesa/mesa.
Other repositories are likely forks, and code found there is not supported.


Build & install
---------------

You can find more information in our documentation (`docs/install.rst
<https://mesa3d.org/install.html>`_), but the recommended way is to use
Meson (`docs/meson.rst <https://mesa3d.org/meson.html>`_):

.. code-block:: sh

  $ mkdir build
  $ cd build
  $ meson ..
  $ sudo ninja install


Support
-------

Many Mesa devs hang on IRC; if you're not sure which channel is
appropriate, you should ask your question on `OFTC's #dri-devel
<irc://irc.oftc.net/dri-devel>`_, someone will redirect you if
necessary.
Remember that not everyone is in the same timezone as you, so it might
take a while before someone qualified sees your question.
To figure out who you're talking to, or which nick to ping for your
question, check out `Who's Who on IRC
<https://dri.freedesktop.org/wiki/WhosWho/>`_.

The next best option is to ask your question in an email to the
mailing lists: `mesa-dev\@lists.freedesktop.org
<https://lists.freedesktop.org/mailman/listinfo/mesa-dev>`_


Bug reports
-----------

If you think something isn't working properly, please file a bug report
(`docs/bugs.rst <https://mesa3d.org/bugs.html>`_).


Contributing
------------

Contributions are welcome, and step-by-step instructions can be found in our
documentation (`docs/submittingpatches.rst
<https://mesa3d.org/submittingpatches.html>`_).

Note that Mesa uses gitlab for patches submission, review and discussions.