Simon Ser
7aaa54feb5
radv: implement VK_EXT_physical_device_drm
...
This adds support for the Vulkan extension introduced in [1]. The
extension allows to get a VkPhysicalDevice's DRM node device IDs.
[1]: https://github.com/KhronosGroup/Vulkan-Docs/pull/1356
Signed-off-by: Simon Ser <contact@emersion.fr >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8390 >
2021-06-22 13:18:18 +00:00
Jason Ekstrand
d3ea8f519e
docs,isl: Document Sandy Bridge HiZ/stencil
...
This is annoying and tricky and we don't have all the gory details
written down in one central place anywhere. Add a docs section on it.
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11500 >
2021-06-21 22:54:31 +00:00
Simon Ser
ae2b7a29d2
docs/envvars: document MESA_VK_WSI_PRESENT_MODE
...
This env var was introduced in a182adfd83
("wsi: allow to override the
present mode with MESA_VK_WSI_PRESENT_MODE").
Signed-off-by: Simon Ser <contact@emersion.fr >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11441 >
2021-06-21 20:22:51 +00:00
Lionel Landwerlin
e9e1e0362b
anv: implement VK_EXT_physical_device_drm
...
v2: add docs
update error messages (Sagar)
v3: Use fstat() (Jason)
v4: Do fstat() on demand (Jason)
v5: clear major/minor values if not present (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8649 >
2021-06-21 19:18:07 +00:00
Jason Ekstrand
1a14d98fa2
nir: Document all the ALU opcodes
...
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11438 >
2021-06-21 16:47:00 +00:00
Jason Ekstrand
73188c6954
nir,docs: Add docs for NIR ALU instructions
...
About half or more of the text here is actually from Connor Abbot. I've
edited it a bit to bring it up-to-date and make a few things more clear.
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11438 >
2021-06-21 16:46:59 +00:00
Erik Faye-Lund
ed04cb62d8
docs: use rst captions
...
This is slightly stronger semantically.
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464 >
2021-06-21 08:22:51 +00:00
Erik Faye-Lund
e41efc173b
docs: use more file-roles
...
This makes the documentation a bit easier to read, and aids
spell-checkers, so let's specify these using file-roles.
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464 >
2021-06-21 08:22:51 +00:00
Erik Faye-Lund
63c9d51981
docs: drop historic meson details
...
Similar to the last few commits, we require Meson 0.52 now. There's no
point in confusing users with specifying what versions supports what
here, as all supported versions works the same way now.
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464 >
2021-06-21 08:22:51 +00:00
Erik Faye-Lund
07cd8897fb
docs: remove outdated clarification
...
Similar to the previous commit, we now require Meson 0.52 all the time,
so there's no point in singling this out.
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464 >
2021-06-21 08:22:51 +00:00
Erik Faye-Lund
309b549f0e
docs: remove outdated meson-section
...
We're already requiring Meson 0.52, so there's no point in mentioning
this old work-around.
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11464 >
2021-06-21 08:22:51 +00:00
Iago Toral Quiroga
b8abedb974
v3dv: expose VK_KHR_copy_commands2
...
Relevant CTS tests:
dEQP-VK.api.copy_and_blit.copy_commands2.*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11443 >
2021-06-21 06:00:56 +00:00
Bas Nieuwenhuizen
c27e3a6248
radv: Add rt perftest flag.
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11078 >
2021-06-18 22:16:27 +00:00
Eric Engestrom
ddf5c798d2
docs: update calendar and link releases notes for 21.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11472 >
2021-06-18 18:07:12 +00:00
Eric Engestrom
b8d54b7a71
docs: add release notes for 21.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11472 >
2021-06-18 18:07:11 +00:00
Jason Ekstrand
b97dedd365
docs/isl: Add detailed documentation about CCS compression
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11366 >
2021-06-18 13:03:48 +00:00
Jason Ekstrand
6b15ce9fa2
docs/isl: Add detailed documentation about tiling on Intel GPUs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11366 >
2021-06-18 13:03:48 +00:00
Jason Ekstrand
0f6ebd2b73
docs/isl: Add detailed documentation about isl formats
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11366 >
2021-06-18 13:03:48 +00:00
Jason Ekstrand
3894e42590
docs/isl: Document ISL's units
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11366 >
2021-06-18 13:03:48 +00:00
Jason Ekstrand
831750b40b
docs: Begin documenting ISL
...
This commit mostly just adds the framework required to scrape
documentation out of the ISL sources and headers. The method chosen
here is a combination of doxygen and breathe (a sphinx extension for
doxygen integration). I'll freely admit that doxygen is pretty terrible
but it seems like the best option we have available to us today.
Acked-by: Emma Anholt <emma@anholt.net >
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11366 >
2021-06-18 13:03:48 +00:00
Iago Toral Quiroga
cf2747e7ac
v3dv: implement VK_EXT_index_type_uint8
...
Relevant CTS tests:
dEQP-VK.pipeline.input_assembly.*.index_type_uint8.*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11444 >
2021-06-17 12:26:44 +00:00
Chia-I Wu
a084e79a49
venus: document the darkest corner of venus
...
The "Optional Requirements" section is fine. The
"VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT" section details how venus goes
out-of-spec and becomes illegal.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11277 >
2021-06-11 12:21:27 -07:00
Rob Clark
1a716f5f06
docs: Update freedreno features
...
Bring features.txt a bit more up to date.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11311 >
2021-06-11 01:47:22 +00:00
Alyssa Rosenzweig
e380229bde
docs/panfrost: Update API versions
...
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123 >
2021-06-10 18:06:11 +00:00
Alyssa Rosenzweig
a9f3295f67
docs/features: Mark GLES3.1 as done on Panfrost
...
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123 >
2021-06-10 18:06:11 +00:00
Charlie
f389676173
v3dv: enable KHR_uniform_buffer_standard_layout
...
We already support this memory layout. All relevant CTS tests seem to
pass
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11276 >
2021-06-10 15:04:23 +01:00
Charlie
c8dffda633
v3dv: enable KHR_incremental_present
...
All bits should already be provided by wsi/common.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11276 >
2021-06-10 15:04:12 +01:00
Charlie
1c97d06a68
v3dv: enable KHR_sampler_mirror_clamp_to_edge
...
This is already implemented
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11276 >
2021-06-10 15:03:04 +01:00
Charlie
be2b11003a
v3dv: enable KHR_image_format_list
...
There's nothing checking for mutable formats, so this needs no changes
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11276 >
2021-06-10 15:03:03 +01:00
Charlie Birks
674b0af3b3
v3dv: document two supported extensions
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11268 >
2021-06-10 13:13:03 +00:00
Iago Toral Quiroga
f884c2e3be
v3dv: implement VK_KHR_get_display_properties2
...
This is entirely implemented in the common WSI code, we just need to
implement the API entry points.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11287 >
2021-06-10 11:01:28 +00:00
Iago Toral Quiroga
d84cd611eb
v3dv: expose KHR_variable_pointers
...
We only support the VariablePointersStorageBuffer feature for now,
which is the only one that is mandatory, and for which we seem to
be passing all the relevant tests already.
Exposing the optional VariablePointers feature would require that
we support non-constant indexing on UBO/SSBO first.
Relevant CTS tests:
dEQP-VK.*pointer*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11257 >
2021-06-10 05:47:29 +00:00
Georg Lehmann
3149eccc1c
radv: Implement VK_EXT_global_priority_query.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11215 >
2021-06-09 08:25:25 +00:00
Hubert Jasudowicz
9d772a545a
docs/egl: Add missing backticks
...
Signed-off-by: Hubert Jasudowicz <hubert.jasudowicz@gmail.com >
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11240 >
2021-06-08 10:54:20 +00:00
Erik Faye-Lund
45814b58c1
docs: update master -> main in edit-links
...
Since the move from master to main, our "Edit on GitLab" links on
docs.mesa3d.org has been pointing to the wrong branch.
Let's fix this, so we don't confuse users who want to contribute
changes.
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11160 >
2021-06-07 14:45:39 +00:00
Iago Toral Quiroga
4886773fc0
v3dv: implement VK_KHR_descriptor_update_template
...
Relevant tests:
dEQP-VK.binding_model.*.with_template.*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11213 >
2021-06-07 11:10:49 +00:00
Iago Toral Quiroga
017a150984
v3dv: expose VK_KHR_storage_buffer_storage_class
...
This extension is basically only wrapping SPV_KHR_storage_buffer_storage_class
which is entirely implemented in the SPIR-V frontend.
Relevant CTS tests:
dEQP-VK.glsl.opaque_type_indexing.ssbo_storage_buffer_decoration.*
dEQP-VK.spirv_assembly.*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11184 >
2021-06-07 06:09:01 +00:00
Iago Toral Quiroga
71b2ae66c2
v3dv: document VK_KHR_relaxed_block_layout as implemented
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11184 >
2021-06-07 06:09:01 +00:00
Steve Pronovost
29e3a11d78
d3d12: Add mechanism for D3D12 Adapter Selection
...
This add a simple mechanism to select which GPU adapter the d3d12
driver should be using. A new environment variable is introduced.
MESA_D3D12_DEFAULT_ADAPTER_NAME
This represent a substring to search for in the GPU descrition,
for example "NVIDIA" or "INTEL", or "NVIDIA GeForce RTX 3090",
etc...
GPU are searched in order and the first one to include the substring
becomes a match. If no match is found, we default to the first
enumerated GPU.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10710 >
2021-06-07 02:22:34 +00:00
Ilia Mirkin
108f34a165
nv50: expose GL ES 3.1 for nva3+ hardware
...
This hardware supports all of the points of ES 3.1 with the minor
exception of non-red gather operations.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu >
Reviewed-by: Pierre Moreau <dev@pmoreau.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10569 >
2021-06-06 15:58:38 -04:00
Danylo Piliaiev
20d8324a1b
turnip: implement VK_EXT_provoking_vertex
...
Passes: dEQP-VK.rasterization.provoking_vertex.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11112 >
2021-06-04 14:37:01 +00:00
Tapani Pälli
cbaba3f1b9
docs: add VK_EXT_extended_dynamic_state2 features.txt entry
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10366 >
2021-06-04 12:58:34 +00:00
Petr Vaněk
0e94b17dd1
docs/install: remove one extra when
...
Fixes: 0fa854aea5
("docs: rework/update install.html")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11161 >
2021-06-03 23:41:22 +02:00
Erik Faye-Lund
e64e5e82ed
docs: add links to documented drivers
...
There's a few more drivers that we have docs for that we didn't link to
from the systems article yet. Let's fix that.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
db8b1b788d
docs: clean up freedreno links
...
Instead of linking directly to the Freedreno wiki, let's link to the
driver docs, and then put a link to the Freedreno wiki there.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
2c9bf33737
docs: split out layered driver to its own list
...
This mirrors what we're doing for the front-page at mesa3d.org.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
b17d504baa
docs: clean up openswr links
...
Instead of linking directly to openswr.org, let's link to the driver
docs, and have the driver-docs link to the project-webiste.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
8cc0b75e71
docs: clean up software-drivers list
...
This capitalizes driver names, and spells out OpenSWR (like the docs
does).
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
65258457cb
docs: move swrast to deprecated drivers list
...
This driver was removed in 435de835cd
("swrast: Remove the classic
swrast DRI driver"), but we forgot to update the documentation to
reflect that.
Better late than never!
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
6d2a3e6da2
docs: clean up list of deprecated systems
...
This mostly spells out brand-names, and sorts the list.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00