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
Alyssa Rosenzweig
218ddd032e
docs/features: Get Asahi on the board
...
We support a good chunk of GL 3.x now ... let's get us on the board so that
Mesamatrix can get onto solving the challenging problem of deciding what colour
to use for Asahi ;-)
Table filled out to the best of my abilities, there may be inaccuracies or
omissions.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19944 >
2022-11-23 23:08:03 +00:00
Eric Engestrom
4002640f8d
docs: update calendar for 22.3.0-rc4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19965 >
2022-11-23 21:06:33 +00:00
Hans-Kristian Arntzen
55731f1d25
docs: Mark VK_KHR_present_wait as supported.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19279 >
2022-11-23 19:06:12 +00:00
Samuel Pitoiset
5c5735fd68
radv: advertise VK_EXT_descriptor_buffer
...
Pass dEQP-VK.*descriptor_buffer*.
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/19808 >
2022-11-21 07:55:24 +01:00
David Heidelberg
5cf862fbb9
docs: update Python requirement to 3.7
...
Reported in https://gitlab.freedesktop.org/mesa/mesa/-/issues/7716
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19791 >
2022-11-18 22:58:27 +00:00
Eric Engestrom
6c329e8f0a
docs: update calendar for 22.3.0-rc3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19822 >
2022-11-17 20:37:49 +00:00
Dylan Baker
b1b419f7fe
docs: update calendar and link releases notes for 22.2.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19793 >
2022-11-17 01:03:13 +00:00
Dylan Baker
03eb7ae9ae
docs: Add sha256 sum for 22.2.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19793 >
2022-11-17 01:03:13 +00:00
Dylan Baker
5061bd6c25
docs: add release notes for 22.2.4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19793 >
2022-11-17 01:03:13 +00:00
Joshua Ashton
c699122d6a
turnip: Enable EXT_swapchain_colorspace
...
This extension is basically a no-op exposing some new enums.
Signed-off-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19726 >
2022-11-16 14:07:45 +00:00
Joshua Ashton
55b6813b7b
anv: Enable EXT_swapchain_colorspace
...
This extension is basically a no-op exposing some new enums.
Signed-off-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19726 >
2022-11-16 14:07:45 +00:00
Joshua Ashton
5637a1b91e
radv: Enable EXT_swapchain_colorspace
...
This extension is basically a no-op exposing some new enums.
Signed-off-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19726 >
2022-11-16 14:07:45 +00:00
Samuel Pitoiset
cf7b96a83f
radv: introduce RADV_DEBUG=nofmask
...
To disable MSAA compression on MSAA images. This will also allow us to
emulate GFX11 (FMASK has been removed) and to experiment 32 byte
descriptor sizes.
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/19613 >
2022-11-16 07:59:11 +01:00