Dylan Baker
9572ecbee9
docs: Add calendar entries for 23.0 release candidates.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20619 >
2023-01-10 09:59:12 -08:00
Dmitry Osipenko
dd571ede85
docs/envvars: Document MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ
...
Add documentation for the MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ environment
variable.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Reviewed-by: Juston Li <justonli@google.com >
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20595 >
2023-01-10 04:53:44 +00:00
Alyssa Rosenzweig
b4d8be165b
asahi: Implement ARB_texture_mirror_clamp_to_edge
...
Guessing the enum value, passes texwrap piglit.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20560 >
2023-01-09 23:58:52 +00:00
Pierre-Eric Pelloux-Prayer
31d95dd3c6
dri: get rid of LIBGL_SHOW_FPS
...
The same functionnality can be achieved using GALLIUM_HUD=stdout,fps (and for
now a fallback is doing this if LIBGL_SHOW_FPS=1 is used).
This removes one entry from the vtable and simplify dri3_handle_present_event.
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20494 >
2023-01-09 14:25:51 +01:00
Emma Anholt
95c4241f47
docs/gallium: Explain that MSAA transfer_map must be supported.
...
It's called this way in various drivers, and is an established part of the
transfer_map interface.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20523 >
2023-01-06 19:00:17 +00:00
Samuel Pitoiset
21e52a612d
radv: remove enabling out-of-order rasterization internally
...
This was added ~4 years ago for very little performance improvements
(likely < 1%) and this is only supported on GFX8 and GFX9.
Since, the number of dynamic states increased and this is likely
disabled most of the time, and given the maintainability cost, it looks
like it's time to remove it completely.
Applications can still enable it with VK_AMD_rasterization_order.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20514 >
2023-01-06 08:11:17 +00:00
Alyssa Rosenzweig
05c17eae2b
asahi: Advertise MRT and fbfetch
...
These should both work now.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20446 >
2023-01-05 11:49:23 -05:00
Alyssa Rosenzweig
d31a9cf3ae
asahi: Check box implement NV_conditional_render
...
Use the freedreno lowering. It'll be slow but I don't know of any apps that
actually use this and it's required for GL 3.0.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20446 >
2023-01-05 11:48:13 -05:00
Alyssa Rosenzweig
35494ea83e
docs/features: Add more missed asahi
...
Should already be there.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20446 >
2023-01-05 11:48:13 -05:00
Danylo Piliaiev
476a1552c1
docs/freedreno: Extract debug tooling docs and improve gpu dbg docs
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20492 >
2023-01-04 12:31:52 +00:00
Danylo Piliaiev
e176eb6c39
docs/freedreno: Extract LRZ docs from tu_lrz
...
Most of the docs describe HW and are not specific to Turnip.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20491 >
2023-01-04 11:12:14 +00:00
Emma Anholt
58e6d8eee2
ci: Update the skqp testing docs and retire the old runner script.
...
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20070 >
2023-01-04 00:34:33 +00:00
Rob Clark
9721d1d615
docs/freedreno: Add bindless/bindful descriptor docs
...
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20456 >
2023-01-03 21:56:28 +00:00
Mike Blumenkrantz
7ab5c5d36d
zink: use EXT_descriptor_buffer with ZINK_DESCRIPTORS=db
...
this should be bug-free, as it passes cts/piglit/gaming on multiple drivers,
but since it's new, it stays behind an env var for at least one release
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20489 >
2023-01-03 09:20:45 -05:00
Mike Blumenkrantz
885e5a3571
Revert "zink: remove descriptor-mode selection infrastructure"
...
this would've been in-use, but khronos changes while I was on vacation
blocked a merge
This reverts commit 3f371d4e94
.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20489 >
2023-01-03 09:19:31 -05:00
Alyssa Rosenzweig
1a35acd8d9
pan/bi: Rename panfrost/bifrost -> panfrost/compiler
...
This is the compiler for both Bifrost and Valhall, and presumably future
Mali GPUs too. Give it a more generic name so we can use the bifrost/ path for
something a bit more specific.
For historical reasons the compiler's name is still "bifrost" and uses the
prefix `bi_`. I think that's ok in the same way that i915 in the kernel supports
way more than just i915.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20455 >
2023-01-02 17:54:48 +00:00
Marek Olšák
b9caddb4a7
glthread,gallium: add a CAP to disable glBufferSubData optimization in glthread
...
it regresses performance on iris
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20379 >
2023-01-01 16:00:07 -05:00
Eric Engestrom
cf24b70dc6
docs: update calendar for 22.3.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20457 >
2022-12-29 23:09:54 +00:00
Eric Engestrom
b22dd4d2d3
docs: add release notes for 22.3.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20457 >
2022-12-29 21:20:19 +00:00
Lionel Landwerlin
c950fe97a0
anv: implement generated (indexed) indirect draws
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Rohan Garg <rohan.garg@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15642 >
2022-12-23 22:52:50 +00:00
Yiwei Zhang
47feb2b013
docs: update to latest venus driver support
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20310 >
2022-12-17 21:34:47 -08:00
Alyssa Rosenzweig
3827c465e1
asahi: Implement anisotropy
...
Passes KHR-GLES3.texture_filter_anisotropic.*
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Alyssa Rosenzweig
0347d1c358
asahi: Identify seamful cube map bit
...
Fixes
dEQP-GLES2.functional.texture.mipmap.cube.basic.linear_nearest
when run with a GLES2 version.
We wire up seamless cube maps for GLES3+ only, working around an obscure
mesa/st limitation. See 6148e3aae7
("mesa: Fix
ctx->Texture.CubeMapSeamless") for the full context.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Asahi Lina
3091f5a7f4
asahi: Enable VS_INSTANCEID and VERTEX_ELEMENT_INSTANCE_DIVISOR caps
...
These two should be functional at this point. The latter is required
(and quite well tested) by Darwinia.
Signed-off-by: Asahi Lina <lina@asahilina.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Alyssa Rosenzweig
8ba44b6492
asahi: Implement depth and stencil export
...
For gl_FragDepth, passes dEQP-GLES3.functional.shaders.fragdepth.* and piglit
fragdepth_gles2.
For stencil export, passes piglit glsl-fs-shader-stencil-export.
For gl_FragDepth together with stencil export, passes
dEQP-GLES3.functional.fbo.blit.*
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Alyssa Rosenzweig
3c892d0d54
docs/features: Mark ARB_occlusion_query2 as done on asahi
...
Part of GLES.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Alyssa Rosenzweig
5de1803658
docs/features: Mark panfrost supporting aniso
...
On Mali-G72+ (except for some buggy early G72 models).
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365 >
2022-12-17 18:10:28 +00:00
Rhys Perry
357d1fc75b
radv/gfx11: enable VK_AMD_shader_explicit_vertex_parameter
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20341 >
2022-12-16 17:45:34 +00:00
Eric Engestrom
c1144c8264
docs: update calendar and link releases notes for 22.3.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20328 >
2022-12-14 23:04:28 +00:00
Eric Engestrom
42de551b83
docs: add release notes for 22.3.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20328 >
2022-12-14 23:04:28 +00:00
Alyssa Rosenzweig
a861501632
panfrost: Add tool to print supported texture formats
...
While all Panfrost-supported Mali GPUs support all the compressed texture
formats architecturally, the system integrator decides which formats will
actually be wired up in the production system-on-chip. In the past there may
have been legal considerations, I'm neither a lawyer nor a system integrator so
couldn't say.
It's useful for users to know which compressed texture formats are supported by
their hardware, to understand its performance characteristics (and perhaps to
buy systems that support their needs, especially if they need BCn formats which
are omitted in many Mali implementations).
To help with that, this commit adds a small standalone tool that prints which
formats are supported. It is tested so far on Mali-T860 and Mali-G57.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Tested-by: Chris Healy <healych@amazon.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20086 >
2022-12-14 22:48:47 +00:00
Samuel Pitoiset
a43482e8d6
radv: advertise VK_AMD_shader_early_and_late_fragment_tests
...
Pass all dEQP-VK.*early_and_late* tests on GFX10.3.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19738 >
2022-12-14 08:16:27 +00:00
Emma Anholt
378f83917c
doc/freedreno: Add a bunch of docs of the hardware and drivers.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19733 >
2022-12-12 23:29:53 +00:00
Connor Abbott
cb3872f2cd
tu: Implement VK_EXT_descriptor_buffer
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19849 >
2022-12-12 17:38:19 +00:00
Eric Engestrom
c9c44d63da
docs/release-calendar: add 22.3.x dates
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20131 >
2022-12-11 22:06:49 +00:00
David Heidelberg
d76d791565
panfrost: Implement GL_EXT_clip_control
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Co-authored-by: Aleksey Komarov <q4arus@ya.ru >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Tested-by: Aleksey Komarov <q4arus@ya.ru >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20238 >
2022-12-10 10:56:09 +00:00
Eric Engestrom
09caa570b1
docs: update calendar and link releases notes for 22.3.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20129 >
2022-12-02 12:17:41 +00:00
Eric Engestrom
9d665ae439
docs: add release notes for 22.3.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20129 >
2022-12-02 12:17:41 +00:00
Alyssa Rosenzweig
8dcf7648f1
agx: Lower VBOs in NIR
...
Now we support all the vertex formats! This means we don't hit u_vbuf for format
translation, which helps performance in lots of applications. By doing the
lowering in NIR, the vertex fetch code itself can be optimized by NIR (e.g.
nir_opt_algebraic) which can improve generated code quality.
In my first implementation of this, I had a big switch statement mapping format
enums to interchange formats and post-processing code. This ends up being really
unwieldly, the combinatorics of bit packing + conversion + swizzles is
enormous and for performance we want to support everything (no u_vbuf
fallbacks). To keep the combinatorics in check, we rely on parsing the
util_format_description to separate out the issues of bit packing, conversion,
and swizzling, allowing us to handle bizarro formats like B10G10R10A2_SNORM with
no special casing.
In an effort to support everything in one shot, this handles all the formats
needed for the extensions EXT_vertex_array_bgra, ARB_vertex_type_2_10_10_10_rev,
and ARB_vertex_type_10f_11f_11f_rev.
Passes dEQP-GLES3.functional.vertex_arrays.*
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19996 >
2022-12-02 06:25:20 +00:00
Erik Faye-Lund
8d3475ab8c
docs/zink: document missing max-image requirements
...
This should bring Zink's documentation up to speed with the previous
commit.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19780 >
2022-11-29 13:35:46 +00:00
Erik Faye-Lund
dc770eb9bb
zink: check maxImageDimension1D as well as maxImageDimension2D
...
According to the docs for PIPE_CAP_MAX_TEXTURE_2D_SIZE, it's the limit
both for 2D *and* 1D textures. So let's take the min of the two vulkan
features here instead of assuming they're the same.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19780 >
2022-11-29 13:35:46 +00:00
Marek Olšák
8cb8a3c03d
glx,dri: simplify indirect function call syntax
...
just remove () and * and the space
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19741 >
2022-11-27 02:52:41 +00:00
Matt Coster
0432015265
pvr: debug: Add documentation for PVR_DEBUG environment variable
...
Signed-off-by: Matt Coster <matt.coster@imgtec.com >
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18948 >
2022-11-25 16:42:55 +00:00
Erik Faye-Lund
16fd8b8324
docs/zink: update query requirements
...
These features are no longer required.
Reviewed-by: Soroush Kashani <soroush.kashani@imgtec.com >
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19750 >
2022-11-25 06:50:59 +00:00
Italo Nicola
4b63667f31
hud: add GALLIUM_HUD_ROTATION option
...
The user can use GALLIUM_HUD_ROTATION={0,90,180,270} to rotate the hud
by the specified amount.
Signed-off-by: Italo Nicola <italonicola@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19854 >
2022-11-24 17:13:46 +00:00
Erik Faye-Lund
a2a0ac21e4
docs/zink: add missing required device-feature
...
Seems I forgot to add this to the list of required features.
Fixes: eb0195358c
("zink: only inspect dual-src limit if feature enabled")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779 >
2022-11-24 12:57:46 +00:00
Erik Faye-Lund
13bccac5a7
zink: update textureCompressionBC requirement
...
The mesa state-tracker can now emulate all formats indicated by this
feature-flag, so we don't require this for OpenGL 4.2 any more.
It's however a good idea to support for power-usage and performance
reasons, saving on memory bandwidth. So let's move it to the
gl46_optimal block instead.
Fixes: e4ff42684b
("mesa/st: enable bptc extension with fallback")
Fixes: 2ea481b2f0
("Zink: add Zink profiles file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779 >
2022-11-24 12:57:46 +00:00
Erik Faye-Lund
754353c417
zink: fix incorrect requirements
...
These were in the wrong list all along.
Fixes: a466c2a783
("zink: check for stores and atomics features")
Fixes: 2644835f03
("zink: add missing required feature")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779 >
2022-11-24 12:57:46 +00:00
Erik Faye-Lund
7906361787
Apply 1 suggestion(s) to 1 file(s)
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19974 >
2022-11-24 08:55:20 +00:00
Lionel Landwerlin
61bdc2a2e0
docs/perfetto: update section about vulkan app tracing
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 18e820009d
("common/utrace: Refactor and combine all envvars into `GPU_TRACES`")
Fixes: 8370a0d6bf
("common/utrace: Prefix all environment variables with `MESA_`")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19974 >
2022-11-24 10:40:04 +02:00