Erik Faye-Lund
be4d17ccf5
zink: correct an extension-link
...
Fixing the fix, I guess I was a bit too quick last time ;)
Fixes: 0747fb546c
("docs: fixup link to extension")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10478 >
2021-04-27 15:02:42 +00:00
Erik Faye-Lund
4ec8533f69
zink: fix shader-image requirements
...
I mixed up the EXT and ARB version of the extensions; we actually do
require shaderStorageImageWriteWithoutFormat as well here.
Thanks to Ilia Mirkin for pointing this out.
It also seems I got really confused about what was required when writing
the docs, so let's fix that as well.
Fixes: 341332b23a
("zink: correct image cap checks")
Fixes: ecac7f3da1
("docs: add missing zink-requirement")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10463 >
2021-04-27 11:26:07 +00:00
Erik Faye-Lund
0b5c898c22
docs: remove out-of-date versions doc
...
It seems nobody is interested in maintaining this info, and nobody seems
to complain. We already have more or less the same information in our
release-notes, so let's just redirect users there instead.
Users interested in archeology can look through the git history for the
information that's missing.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4222
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10451 >
2021-04-27 11:22:33 +00:00
Samuel Pitoiset
1bc43492b6
radv: implement VK_EXT_provoking_vertex
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Tested-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10449 >
2021-04-27 07:31:03 +00:00
Mike Blumenkrantz
7888ef8c48
zink: update docs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10458 >
2021-04-26 20:19:48 +00:00
Erik Faye-Lund
72eca47c66
docs: someome -> someone
...
A typo in the section about choice of language is a bit funny, but
let's fix it anyway ;)
Thanks to Ilia Mirkin for pointing this out.
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10464 >
2021-04-26 18:08:29 +02:00
Erik Faye-Lund
ecac7f3da1
docs: add missing zink-requirement
...
We need this feature in order to enable OpenGL 4.2 on Zink.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10456 >
2021-04-26 14:22:12 +00:00
Erik Faye-Lund
a7e95dfca5
docs: fix quoting around a few limits
...
These two were quoted differently than the other limits in this
document. Let's fix that to be consistent.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10455 >
2021-04-26 12:59:33 +00:00
Erik Faye-Lund
0747fb546c
docs: fixup link to extension
...
I accidentally missed the actual link-definition here, so let's add
that.
Fixes: ff007afce2
("zink: document requirement of VK_EXT_custom_border_color")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10455 >
2021-04-26 12:59:33 +00:00
Erik Faye-Lund
7ef9379040
docs: use code-block for ini
...
These code-blocks are close enough to INI-files to parse that way, so
let's use that for some syntax-coloring :)
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
dc2eca51ed
docs: use code-block for c
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
63496d25de
docs: use code-block for glsl
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
54ad6f91c6
docs: use code-block for console-content
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
e6e002fc34
docs: use math notation for example matrices
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
525f7b6a23
docs: use tables instead of pre-formatted text
...
This makes this easier to read.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
1e4e22e6ba
docs: nest cherry-pick example under note
...
This example relates to the message in the note, so it should be nested
under that note.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
de0fbffb81
docs: remove documentation of MESA_HPCR_CLEAR
...
We haven't respected this variable for about 10 years, as the support
was removed in bc63b226bc
("xlib: remove a ton of old xlib driver
cruft").
So let's also remove the documentation.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
67f46d70de
docs: remove documentation of MESA_PRIVATE_CMAP
...
This is used in the Mesa GLUT implementation, which has been separated
out into its own repo, and is largely abandoned in favour of FreeGLUT.
So let's not try to document MESA_PRIVATE_CMAP, as it's just going to
confuse users.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
1637f1dedf
docs: remove documentation of MESA_CI_VISUAL
...
The support for color-indexed rendering was removed from mesa all the
way back in 2010, in commit 81fe9949ef
("mesa/xlib: Remove support for
color-index rendering").
So let's drop it from our documentation as well. This environment
variable does nothing.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erik Faye-Lund
dc310fc2e7
docs: remove out-of-date gles info
...
This info is no longer true, so let's delete it.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281 >
2021-04-26 08:39:02 +00:00
Erico Nunes
48d48fbf3c
docs/lima: add an initial page for Lima
...
This is a cleaned up and updated version of the readme page for Lima
that was until now being maintained separately.
Let's move it in-tree so it is maintained along with the pages for
other similar drivers.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Qiang Yu <yuq825@gmail.com >
Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10406 >
2021-04-24 16:42:01 +00:00
Samuel Pitoiset
bba6be03f9
radv: remove RADV_DEBUG=nothreadllvm
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10429 >
2021-04-23 11:26:48 +00:00
Michel Zou
a30899f5e0
docs: list more vulkan extensions
...
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10334 >
2021-04-23 13:18:13 +02:00
Dylan Baker
577c9de659
docs: update calendar and link releases notes for 21.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10385 >
2021-04-21 19:32:16 +00:00
Dylan Baker
8e821001c5
docs: update sha256 sum for mesa 21.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10385 >
2021-04-21 19:32:16 +00:00
Dylan Baker
2655ccc30e
docs: add release notes for 21.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10385 >
2021-04-21 19:32:16 +00:00
Erik Faye-Lund
4f12a42841
docs: write basic meta-documentation
...
We were previously completely lacking documentation on how to write
documentation. This adds some very basic docs for that.
Maybe at some point this could deserve it's own article, but for now
this seems enough.
This also documents the group-consensus on preferring US English that
was reached on the mesa-dev mailing list[1].
[1]: https://lists.freedesktop.org/archives/mesa-dev/2021-March/225023.html
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9912 >
2021-04-21 18:26:55 +00:00
Mike Blumenkrantz
52d3f6b123
gallium: when tracing is enabled for threaded drivers, trace the driver thread
...
generally speaking, if I'm tracing an app, I want to see what's happening to
my driver, not what's happening to tc, as tc does rewriting of command streams
which can affect the operation of the driver
use GALLIUM_TRACE_TC for previous behavior
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10362 >
2021-04-21 14:28:44 +00:00
Alyssa Rosenzweig
28a9f54095
docs/macos: Explain Apple GLX versus OSMesa on macOS
...
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10359 >
2021-04-21 14:14:12 +00:00
Erik Faye-Lund
95d9d811c9
zink: do not require vulkan memory model for shader-images
...
The claim that we require vulkan memory model's MakeAvailable and
MakeVisible semantics for image writes isn't accurate. This would be
required *if* we were already using the Vulkan memory model.
But we're using the GLSL450 memory model in those cases, which has no
such requirements.
This means that any problems on RADV due to the lack of these semantics
are RADV bugs, and should be fixed in RADV instead.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10345 >
2021-04-20 15:52:07 +00:00
Erik Faye-Lund
ff007afce2
zink: document requirement of VK_EXT_custom_border_color
...
Without this extension, we misrender when custom border colors are
used. Let's document this, and emit a warning when the extension is
missing.
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10316 >
2021-04-19 19:31:36 +00:00
Danylo Piliaiev
64367f2359
turnip: implement VK_KHR_shader_terminate_invocation
...
OpTerminateInvocation provides the behavior required by the GLSL
discard statement, which we already implement.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9460 >
2021-04-19 17:11:36 +00:00
Eric Anholt
5de3cbbb2e
nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS
...
The prog_to_nir->NIR-to-TGSI change ended up causing regressions on r300,
and svga against r300-class hardware, because nir_lower_uniforms_to_ubo()
introduced shifts that nir_lower_ubo_vec4() tried to reverse, but that NIR
couldn't prove are no-ops (since shifting up and back down may drop bits),
and the hardware can't do the integer ops.
Instead, make it so that nir_lower_uniforms_to_ubo can generate
nir_intrinsic_load_ubo_vec4 directly for !INTEGER hardware.
Fixes: cf3fc79cd0
("st/mesa: Replace mesa_to_tgsi() with prog_to_nir() and nir_to_tgsi().")
Closes : #4602
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10194 >
2021-04-16 21:58:00 +00:00
Mike Blumenkrantz
a43da5c999
docs: update GL_ARB_texture_filter_minmax for zink
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10248 >
2021-04-15 12:35:09 +00:00
Mike Blumenkrantz
b122beaff3
gallium: split PIPE_CAP_SAMPLER_REDUCTION_MINMAX into modes
...
this enables detection for the EXT vs the ARB extension, which have
different specifications regarding which formats must be supported
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10030 >
2021-04-15 01:20:40 +00:00
Eric Engestrom
2a51b8cf99
docs: reset new_features.txt
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10242 >
2021-04-14 21:11:07 +00:00
Connor Abbott
271c18f48e
tu: Expose VK_KHR_relaxed_block_layout
...
This was absorbed into Vulkan 1.1, but we forgot to expose it
separately. It's a subset of what's allowed by
VK_EXT_scalar_block_layout.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8695 >
2021-04-14 11:48:38 +00:00
Connor Abbott
765c3b85a5
tu: Expose VK_KHR_spirv_1_4 and VK_EXT_scalar_block_layout
...
VK_KHR_spirv_1_4 is trivial because vtn already supports all the added
SPIR-V features that aren't gated behind Vulkan extensions. I've
observed some robustness2 CTS tests requiring this. However there are
a few tests currently failing due to lacking spilling.
VK_EXT_scalar_block_layout should also be trivial, since support for
"straddling" UBO loads was added recently for other reasons. This is
used by every robustness2 CTS test.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8695 >
2021-04-14 11:48:38 +00:00
Samuel Pitoiset
e24049da63
radv: advertise attachmentFragmentShadingRate on GFX10.3
...
Layered VRS attachments is for later.
The CTS failures are similar to the existing ones, I will investigate
soon.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10187 >
2021-04-14 09:31:13 +00:00
Alyssa Rosenzweig
e7977b8c49
docs: Add some notes on building for macOS
...
I intend this page to grow as I explore more about Mesa/Darwin.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10152 >
2021-04-13 19:09:13 +00:00
Marek Olšák
d7250b0b08
gallium: add PIPE_SHADER_CAP_FP16_CONST_BUFFERS for FP16 uniforms
...
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9050 >
2021-04-13 05:07:42 +00:00
Erik Faye-Lund
6940d3ba05
zink: document scalarBlockLayout requirement
...
We're currently using uint arrays instead of uvec4 arrays for UBOs and
SSBOs, which requires scalarBlockLayout. Fixing this is a lot of work,
so let's just document it for now.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10127 >
2021-04-10 09:48:38 +00:00
Samuel Pitoiset
1ad295ed6f
radv: allow to force VRS rates on GFX10.3 with RADV_FORCE_VRS
...
This allows to force the VRS rates via RADV_FORCE_VRS, the supported
values are 2x2, 1x2 and 2x1. This supports the primitive shading rate
mode for non GUI elements.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7794 >
2021-04-09 14:47:53 +02:00
Mike Blumenkrantz
d1f96e0c72
features: mark off ARB_fragment_shader_interlock for zink
...
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10109 >
2021-04-08 19:06:04 +00:00
Mike Blumenkrantz
193c02e0cf
aux/trace: add GALLIUM_TRACE_TRIGGER mode
...
similar to amd/radv driver debug modes for sqtt, this specifies a filename
which is checked on every flush(PIPE_FLUSH_END_OF_FRAME); when it exists,
the next frame (and only that frame) is captured into the trace
to use, specify a file with the env var, run your app, and 'touch /path/to/file'
when you want to capture a trace
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10058 >
2021-04-08 00:01:31 +00:00
Dave Airlie
f89c8ba410
docs: update lavapipe bits for 1.1
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10086 >
2021-04-07 20:30:10 +00:00
Dylan Baker
636170c888
docs: update calendar and link releases notes for 21.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10078 >
2021-04-07 17:51:27 +00:00
Dylan Baker
6f4e17a4bb
relnotes: Add sha256sum for 21.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10078 >
2021-04-07 17:51:27 +00:00
Dylan Baker
8368598c44
docs: add release notes for 21.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10078 >
2021-04-07 17:51:27 +00:00
Danylo Piliaiev
9b9ad8d66c
docs: mark float_controls,float16_int8,16bit_storage as done on Turnip
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Acked-by: Matt Turner <mattst88@gmail.com >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9993 >
2021-04-05 09:51:46 +00:00