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
Samuel Pitoiset
2ded998a57
radv: allow DCC for storage images on GFX10.3 with RADV_PERFTEST=dccstores
...
It's not enabled by default because it requires performance testing.
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/9919 >
2021-04-05 08:54:55 +00:00
Samuel Pitoiset
8fa7aa16ce
radv: change RADV_FORCE_FAMILY to use family name instead of LLVM processor name
...
gfx1030 doesn't allow us to specify e.g. dimgrey.
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/9974 >
2021-04-05 06:53:55 +00:00
Dave Airlie
0799312b99
lavapipe: add support for KHR_imageless_framebuffer
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10032 >
2021-04-05 11:33:55 +10:00
Mike Blumenkrantz
8aed6cc50d
features: mark off ARB_shader_viewport_layer_array for zink
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10025 >
2021-04-05 00:19:23 +00:00
Joshua Ashton
6420be4488
lavapipe: enable KHR_image_format_list
...
Needed for DXVK.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10027 >
2021-04-04 23:59:24 +00:00
Mike Blumenkrantz
fbebe36547
features: mark off GL_OES_viewport_array for zink
...
also done for a while
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10007 >
2021-04-02 11:35:44 -04:00
Mike Blumenkrantz
8199bd653e
features: mark off ARB_compute_variable_group_size for zink
...
this has been implemented for a long time
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10007 >
2021-04-02 11:30:21 -04:00
Adrian Ratiu
8371b75241
docs: docker: minor stale documentation fix
...
Commits like the following changed the script names and distro tag
but didn't update the documentation. We do not explicitely mention
script names because they will likely change in the future but the
distro tag is less likely to change because it is shared with the
upstream ci-templates repo.
Fixes: af7dca3560 ("ci: Update the ci-templates commit.")
Fixes: 506e9d5fc7 ("gitlab-ci: Rename container install scripts to ...")
Fixes: c6c7652753 ("gitlab-ci: Organize images using new REPO_SUFFIX ...")
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9781 >
2021-04-02 15:16:54 +00:00
Erik Faye-Lund
ecc677a02f
docs: fix release notes for 20.3.5
...
This is incorrect escaping of the RST.
Fixes: 930d2a92a3 ("docs: add release notes for 20.3.5")
Acked-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9914 >
2021-04-01 19:36:05 +00:00
Erik Faye-Lund
22fac1b682
docs: no-op'd -> disabled
...
"Disabled" is a common English word, that perfectly covers this usage.
So let's use that instead of this non-dictionary word.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9947 >
2021-04-01 08:33:41 +00:00
Erik Faye-Lund
a6e62c83ec
docs: spell out freedesktop.org
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9947 >
2021-04-01 08:33:41 +00:00