Dylan Baker
259449e573
docs: Bump 22.2 branchpoint by two weeks
...
There's been several requests to push the release back a bit to allow
more time in the 22.2 cycle, so we'll bump by two weeks. This adds an
extra 22.1 release to the schedule as well, due to the move.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17384 >
2022-07-06 15:11:36 -07:00
Hans-Kristian Arntzen
9dbfc21ab9
radv: Implement VK_EXT_shader_module_identifier.
...
Passes dEQP-VK.pipeline.*.shader_module_identifier.*
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17332 >
2022-07-06 16:27:21 +00:00
Christian Gmeiner
1141ed5859
etnaviv: async shader compile
...
Passes following piglit:
- spec@khr_parallel_shader_compile@basic
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16172 >
2022-07-01 19:55:36 +00:00
Dylan Baker
4bcd753da4
docs: update calendar and link releases notes for 22.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17318 >
2022-06-30 19:11:44 +00:00
Dylan Baker
8c1dd372be
docs: add sah256sum for mesa 22.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17318 >
2022-06-30 19:11:44 +00:00
Dylan Baker
64e8391f05
docs: add release notes for 22.1.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17318 >
2022-06-30 19:11:44 +00:00
Vasily Khoruzhick
24be011901
lima: wire up MSAA 4x support
...
Utgard supports MSAA 4x, so wire it up.
RSW bits were already REd by Luc, the only remaining part was storing
non-resolved buffers, reloading them (including for depth/stencil) and
doing MSAA resolve.
To store non-resolved buffer we need to set mrt_pitch and mrt_bits
registers in WB, and to resolve non-resolved buffer we need to reload
it into individual samples and then write out with mrt_bits = 0, it's
now done by lima blitter.
We also need to do resolve on transfer_map() of multi-sampled buffers,
so utilize u_transfer_helper for that.
As a side fix, it turns out that our wb_reg definition wasn't correct,
'zero' isn't always zero, it's set if we need to swap channels, and
it goes before mrt_bits. mrt_bits actually enables multiple MRTs,
so this commit renames 'zero' to 'flags' and changes its position.
If mrt_bits == 0 and MSAA is enabled, GPU does resolve
in place, to expose this functionality we set PIPE_CAP_SURFACE_SAMPLE_COUNT.
Fixes dEQP-GLES2.functional.multisample.*
Reviewed-by: Erico Nunes <nunes.erico@gmail.com >
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13963 >
2022-06-28 00:00:35 +00:00
Ella Stanforth
f392b6c1ad
v3dv: Implement VK_KHR_performance_query
...
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14061 >
2022-06-27 07:34:16 +00:00
Pavel Asyutchenko
41f22a1823
gallium: add PIPE_CAP_FBFETCH_ZS and expose extension
...
st/mesa will expose GL_ARM_shader_framebuffer_fetch_depth_stencil
if this new capability is supported by the driver.
Signed-off-by: Pavel Asyutchenko <sventeam@yandex.ru >
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13979 >
2022-06-22 04:32:44 +00:00
Timur Kristóf
82e08f6b1e
zink: Enable the VK_EXT_depth_clip_enable extension.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16929 >
2022-06-21 15:44:54 +00:00
Erik Faye-Lund
ee9c3d2625
docs: set language to english
...
It seems recent versions of Sphinx has started issuing a warning when
language isn't set to a recognized value. Since we're building with
warnings as errors on CI, this causes issues for people.
We're writing English docs, so we should set this to English. I probably
confused this setting with the highlight_language setting or something
when I set this up initially.
Fixes: 00cd1346bf
("docs: use sphinx")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6711
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17159 >
2022-06-21 13:54:28 +00:00
Mike Blumenkrantz
371660b877
mesa/st: add PIPE_CAP_DITHERING
...
this is for drivers like zink that may or may not
handle dithering and so getting blend state changes
when this state changes isn't useful
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17043 >
2022-06-18 17:56:28 +00:00
Dylan Baker
c00281903b
docs: Extend calendar entries for 22.1 by 3 releases.
...
This gives us a last release of the 22.1 series lining up with 22.2.1,
assuming that the 22.1.0 is on time.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Dylan Baker
77c7caa6bb
docs: Add calendar entries for 22.2 release candidates.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Dylan Baker
8b5d4fa54b
docs: drop 22.1.4 calendar entry.
...
We're done with the 22.1 series, so lets not have it on the calendar
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17090 >
2022-06-16 23:41:23 +00:00
Yonggang Luo
ada1baddce
docs: Update windows build requirement with Visual Studio
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17044 >
2022-06-16 21:49:54 +00:00
Dylan Baker
b91511b9a8
docs: update calendar and link releases notes for 22.1.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17086 >
2022-06-16 18:55:46 +00:00
Dylan Baker
a1ba2bdf3d
docs: add sha256sum to 22.1.2 notes
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17086 >
2022-06-16 18:55:46 +00:00
Dylan Baker
4b5a73062b
docs: add release notes for 22.1.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17086 >
2022-06-16 18:55:46 +00:00
Samuel Pitoiset
16c47ad347
radv: advertise VK_EXT_border_color_swizzle on GFX10+
...
On GFX9 and older, the driver needs to swizzle itself it seems.
Exposing it on GFX10+, allows us to test it with Zink, at least.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17057 >
2022-06-16 18:31:33 +00:00
Yonggang Luo
e6392fcf3d
c11: Move the implementation of threads.h into c source code
...
By doing this, now the global variable impl_tss_dtor_tbl are only defined one time.
So the memory usage would reduced
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087 >
2022-06-15 17:37:17 +00:00
Chia-I Wu
af0080c4ef
turnip: advertise VK_EXT_border_color_swizzle
...
We already support the functionality so just advertise it. Pass all
dEQP-VK*border_swizzle*.
v2: update freedreno-a630-fails.txt
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17019 >
2022-06-15 15:48:47 +00:00
Erik Faye-Lund
d8fcd699f1
docs/zink: correct requirement for tbos
...
This requirement is for ARB_texture_buffer_object_rgb32, which obviously
needs the UNIFORM_TEXEL_BUFFER bit, not SAMPLED_IMAGE.
Fixes: c3d7de47cd
("docs/zink: add GL 4.0 requirements")
Fixes: 6b38907b7f
("zink: fix feature requirement")
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17024 >
2022-06-15 12:24:43 +00:00
Jordan Justen
81d6ae31d6
anv, iris: Enable compute engine with INTEL_COMPUTE_CLASS=1
...
If this environment variable is set, then a detected compute engine
will be used as described in docs/envvars.rst.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14395 >
2022-06-15 08:58:20 +00:00
Qiang Yu
fd27d5157f
gallium: disable hardware select for crocus
...
piglit select tests fail, so add a gallium cap to disable
for crocus explicitly.
crocus may choose to enable hardware select only for GPU
SKU which tested to be OK again.
Fixes: 6489af145c
("mesa: enable HardwareAcceleratedSelect")
Closes : #6644
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Signed-off-by: Qiang Yu <yuq825@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16955 >
2022-06-15 03:01:58 +00:00
Connor Abbott
169e03800d
tu: Implement VK_EXT_color_write_enable
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16936 >
2022-06-14 23:18:17 +00:00
Mike Blumenkrantz
fbcf65bfea
anv: VK_EXT_border_color_swizzle
...
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16992 >
2022-06-14 01:52:50 +00:00
Mike Blumenkrantz
efa58f6b47
lavapipe: VK_EXT_border_color_swizzle
...
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16992 >
2022-06-14 01:52:50 +00:00
Connor Abbott
3cd39c2b32
tu: Enable VK_KHR_swapchain_mutable_format
...
This is already implemented entirely in common code.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16976 >
2022-06-13 14:58:32 +00:00
Eric Engestrom
92e61dcee5
docs: show and link to the new macOS CI
...
Show the badge with the status of the new macOS CI introduced in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16875 ,
and make it a link to the build details.
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Yurii Kolesnykov <root@yurikoles.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16941 >
2022-06-11 12:44:42 +01:00
Mike Blumenkrantz
0afb2e34c2
zink: more requirement docs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16981 >
2022-06-10 20:53:34 +00:00
Mike Blumenkrantz
3b8e4457d2
zink: add feature req for border colors
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16981 >
2022-06-10 20:53:34 +00:00
Mike Blumenkrantz
6b38907b7f
zink: fix feature requirement
...
this is ARB_texture_buffer_object_rgb32, and both bits are needed
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16981 >
2022-06-10 20:53:34 +00:00
Georg Lehmann
9ccc683973
anv: Implement VK_EXT_non_seamless_cube_map.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12730 >
2022-06-10 18:31:57 +00:00
Emma Anholt
c761f9bde5
gallium: Rename PIPE_CAP_TGSI_LEGACY_MATH_RULES to drop "TGSI"
...
Now NIR drivers can implement it as well.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16176 >
2022-06-10 03:26:33 +00:00
Emma Anholt
76b203eb39
gallium: Rename MUL_ZERO_WINS to LEGACY_MATH_RULES.
...
This is a clearer name for what it does than MUL_ZERO_WINS, and matches up
to the new name in shader_info.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16176 >
2022-06-10 03:26:32 +00:00
Georg Lehmann
17818800d0
radv: Implement VK_EXT_non_seamless_cube_map.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12729 >
2022-06-09 23:39:43 +00:00
Vasily Khoruzhick
570020c810
lima: implement lima-specific blitter
...
It should be more efficient than u_blitter since it skips
vertex shader stage. Also it's a prerequisite for supporting
MSAA since u_blitter can't do MSAA resolve for us.
Reviewed-by: Erico Nunes <nunes.erico@gmail.com >
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16686 >
2022-06-09 23:25:02 +00:00
Juan A. Suarez Romero
ef6cc03b17
v3d: add ARB_polygon_offset_clamp extension support
...
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16925 >
2022-06-09 09:05:58 +00:00
Samuel Pitoiset
79877d5df5
radv: advertise VK_EXT_primitives_generated_query
...
Pass all dEQP-VK.transform_feedback.primitives_generated_query.*.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15639 >
2022-06-09 08:02:39 +00:00
Dylan Baker
3223f5b63f
docs: link releases notes for 21.3.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16931 >
2022-06-08 22:04:43 +00:00
Dylan Baker
c44ece1679
docs Add sha256 sums for 21.3.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16931 >
2022-06-08 22:04:43 +00:00
Dylan Baker
d413674160
docs: add release notes for 21.3.9
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16931 >
2022-06-08 22:04:43 +00:00
Alyssa Rosenzweig
e749f67f89
mesa,gallium: Make point coord origin a CAP
...
When lower_wpos_pntc is used, the state tracker inserts code to
transform gl_PointCoord.y according to a uniform, to account for
API-requested point coordinate origin and framebuffer orientation. With
the transformation, driver-supplied point coordinates are expected to
have an upper left origin.
If the hardware point coordinate supports (only) a lower left origin,
the backend has to use lower_wpos_pntc and then lower *again* to flip
back. This ends up transforming twice, which is wasteful:
a = load point coord Y with lower left origin
a' = 1.0 - a
a'' = uniform_transform(a')
However, lower_wpos_pntc is quite capable of transforming for a lower
left origin too, it just needs to flip the transformation. Add a CAP
specifying the point coordinate origin convention, rather than assuming
upper-left. This simplifies the Asahi code greatly.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16829 >
2022-06-08 14:10:50 +00:00
Yonggang Luo
0cb05d13b0
docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16858 >
2022-06-07 14:55:14 +00:00
Marek Olšák
ad8f9d5d58
gallium: rename PIPE_CAP_MAX_SHADER_BUFFER_SIZE -> *_UINT
...
to imply the maximum of 4GB - 1.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16881 >
2022-06-07 00:17:58 -04:00
Marek Olšák
fd6b8999d7
gallium: rename PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE->MAX_TEXEL_BUFFER_ELEMENTS_UINT
...
to allow exposing 4G - 1. The "SIZE" was also a misnomer because it meant
elements. This no longer clamps the size to INT_MAX in st/mesa.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16881 >
2022-06-07 00:17:58 -04:00
Marek Olšák
dc4a3a18e9
gallium: add PIPE_CAP_MAX_CONSTANT_BUFFER_SIZE_UINT for UBOs
...
We plan to report UINT32_MAX for UBOs.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16881 >
2022-06-07 00:17:57 -04:00
Marek Olšák
406cf871b2
gallium: rename PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE to *_BUFFER0_*
...
UBOs will use a larger limit.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16881 >
2022-06-07 00:17:57 -04:00
Emma Anholt
8c4b88ee48
gallium+glsl: Remove EmitNoSat/PIPE_CAP_VERTEX_SHADER_SATURATE
...
The drivers not setting it were:
- nv30, which gets lowering using NIR's lower_fsat flag.
- r300, which gets lowering using NIR's lower_fsat flag.
- a2xx, which has was getting it optimized back to fsat anyway.
This drops the check for the cap from gallium nine. While nine does have
a non-nir path, I think it's safe to assume that if you have SM3
texturing, you can do fsat.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16823 >
2022-06-07 02:38:42 +00:00