Eric Anholt
ee80237218
mesa: Retire classic OSMesa.
...
The classic OSMesa renders directly into user memory using
src/mesa/swrast, while gallium OSMesa renders using softpipe or llvmpipe
and copies out at glFlush() time. This would make gallium look like a
worse choice for OSMesa, except that swrast is:
1) Painfully slow to render compared to llvmpipe
2) Incorrect at derivatives
3) Limited to GL 2.1 instead of GL 4.6
In my survey of OSMesa users, debian was the remaining holdout with
classic OSMesa in use on hurd and some rare non-LLVM-supported
architectures (sh4, alpha, etc.). As of today, they've switched to
softpipe-based gallium OSMesa for them.
To prevent people from running the wrong OSMesa (to the extent that
running OSMesa can ever be the right thing), delete the classic
version.
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com >
Closes : #320
Closes : #877
Closes : #2297
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1243 >
2020-12-10 18:38:13 +00:00
Marek Olšák
c5ae01dcf1
ac,radeonsi: implement GL_NV_compute_shader_derivatives
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6799 >
2020-12-09 15:52:58 +00:00
Marek Olšák
0ef61a162a
mesa: remove code for old (mostly unsupported) GL_NV_point_sprite
...
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7956 >
2020-12-08 18:48:30 +00:00
Hans-Kristian Arntzen
86644b84b9
radv: Implement VK_VALVE_mutable_descriptor_type.
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7967 >
2020-12-07 15:25:17 +00:00
Adam Jackson
94a9867b05
glx: Remove DRI1
...
The DRI1 drivers were removed in Mesa 8.0, released in February 2012.
Time to say goodnight.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7660 >
2020-12-01 18:40:18 +00:00
Martin Peres
580fbbb59a
driconf: remove the redundant glx-extension-disabling options
...
Now that we introduced the generic glx_extension_override option,
we can remove the glx_disable_oml_sync_control,
glx_disable_sgi_video_sync, and glx_disable_ext_buffer_age ones.
It seems like the only user for them was the vmwgfx, and only for
Gnome and Compiz which are covered by the default mesa driconf. This
means that it is unlikely for a user to have these options set in
their local driconf file.
Suggested-by: Timothy Arceri <tarceri@itsqueeze.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Signed-off-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7252 >
2020-11-13 08:48:34 +02:00
Marek Olšák
fe3b5241a4
radeonsi: enable GL_EXT_demote_to_helper_invocation
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7586 >
2020-11-12 21:02:05 +00:00
Yuxuan Shui
53660e4c4e
Add EGL xcb platform
...
This enables GL applications to be written without any involvement of
Xlib.
EGL X11 platform is actually already xcb-only underneath, so this commit
just add the necessary interface changes so eglDisplay can be created
from a xcb_connection_t.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6474 >
2020-11-12 16:39:47 +00:00
Dylan Baker
a8467191c3
Reset new features for 21.0 development cycle
2020-11-09 16:21:18 -08:00
Rhys Perry
86ef139bf4
radv: implement VK_EXT_shader_image_atomic_int64
...
The extension is only exposed on ACO and LLVM 11+ because of a LLVM bug.
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/7234 >
2020-11-09 18:28:59 +00:00
Adam Jackson
041e3147c0
docs: Add MESA_pack_invert and ANGLE_pack_reverse_row_order
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3156 >
2020-11-06 02:28:44 +00:00
Samuel Pitoiset
79347f5cd4
radv: enable VK_AMD_mixed_attachment_samples on GFX6-GFX7
...
Now that dEQP-VK.pipeline.multisample.mixed_attachment_samples.* pass,
it should be safe to also enable this extension on these old chips.
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/4913 >
2020-10-27 14:13:50 +00:00
Martin Peres
d2cb3f862f
driconf: add a way to override indirect-GL extensions
...
Support for DRI1 is not implemented, but who still uses that?
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Signed-off-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7212 >
2020-10-22 07:47:28 +03:00
Martin Peres
7eedc79658
driconf: add a way to override GLX extensions
...
Support for DRI1 is not implemented, but who still uses that?
v2:
- Add the option to the list of new features
- Drop overriding the Xorg-exposed extensions
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Signed-off-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7212 >
2020-10-22 07:47:28 +03:00
Bas Nieuwenhuizen
e7ce74497e
radv: Advertise VK_KHR_shader_terminate_invocation.
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7226 >
2020-10-20 22:53:08 +00:00
Caio Marcelo de Oliveira Filho
8dd03a7c12
anv: Advertise VK_KHR_shader_terminate_invocation
...
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7221 >
2020-10-19 19:38:35 +00:00
Timur Kristóf
9bf92d4357
radv/aco: Enable NGG GS by default.
...
ACO NGG GS now supports everything we need except streamout
(aka. transform feedback), but we don't use NGG anyway when
streamout is needed.
Also add a note to the new features txt.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6964 >
2020-10-09 15:26:15 +02:00
Marek Olšák
ed3c5fe469
radeonsi: implement GL_INTEL_blackhole_render
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7031 >
2020-10-06 15:59:08 +00:00
Indrajit Kumar Das
cd1fab4ed6
radeonsi: enable support for GL_NV_shader_atomic_int64
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6708 >
2020-09-29 14:24:44 +00:00
Samuel Pitoiset
c669db0b50
radv: advertise VK_KHR_copy_commands2
...
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/6813 >
2020-09-23 07:14:15 +00:00
Adam Jackson
5e9e457383
glx/dri3: Implement GLX_EXT_swap_control_tear
...
Not wired up for DRI2 because it would require server-side support,
which I'm not especially interested in writing.
Fixes : mesa/mesa#96
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6671 >
2020-09-10 14:48:19 -04:00
Adam Jackson
60ebeb4608
glx: Implement GLX_EXT_swap_control for DRI2 and DRI3
...
This is a slight generalization of the existing SGI and MESA swap
control extensions, and a prerequisite for GLX_EXT_swap_control_tear.
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6671 >
2020-09-10 14:48:19 -04:00
Adam Jackson
77d2562793
wsi/x11: Hook up VK_PRESENT_MODE_FIFO_RELAXED_KHR
...
This is just PresentOptionAsync.
Fixes : mesa/mesa#3483
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6673 >
2020-09-10 14:17:47 -04:00
Indrajit Kumar Das
e512f2cef9
mesa: add NV_copy_depth_to_color support for nir
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6289 >
2020-08-25 21:37:24 +00:00
Eric Engestrom
326eb56718
egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage
...
Passes all of `dEQP-EGL.functional.swap_buffers_with_damage.*`:
Passed: 36/54 (66.7%)
Failed: 0/54 (0.0%)
Not supported: 18/54 (33.3%)
Warnings: 0/54 (0.0%)
Waived: 0/54 (0.0%)
The "not supported" ones are the `preserve_buffer_*` tests, which is not
supported on X11/DRI3.
Cc: 20.2 <mesa-stable>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3030
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6132 >
2020-08-19 12:47:58 +00:00
Dave Airlie
f9e773b920
llvmpipe: enable GL 4.5
...
This passes conformance on both the master and 4.6.0 (with patches)
branches. I'll be submitting results shortly from the 20.2.x branch
this lands in.
Cc: "20.2" <mesa-stable@lists.freedesktop.org >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6044 >
2020-08-17 20:12:40 +00:00
Yogesh Mohan Marimuthu
ef66e02a40
src/mesa: add GL_NV_half_float extension support (v2)
...
This patch adds support for GL_NV_half_float
extension.
v2: fix main_test failure
Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6219 >
2020-08-11 19:55:22 +00:00
Dylan Baker
a92cfa66b4
Bump development version and clear new_features
...
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com >
2020-08-06 09:34:42 -07:00
Rhys Perry
6e2e77557e
radv/llvm: enable VK_KHR_memory_model
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6063 >
2020-08-05 09:45:54 +00:00
Rhys Perry
da38e99eda
radv/aco: enable VK_KHR_memory_model
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6063 >
2020-08-05 09:45:54 +00:00
Joshua Ashton
8efdd388e0
radv: Implement VK_EXT_4444_formats
...
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6160 >
2020-08-03 19:27:37 +01:00
Jason Ekstrand
3c2a1af660
anv: Implement VK_EXT_4444_formats
...
We only support the ARGB format, not the ABGR one. Fortunately, the
ARGB is the one required by D3D11.
Reviewed-by: Joshua Ashton <joshua@froggi.es >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6158 >
2020-08-03 17:50:03 +00:00
Tapani Pälli
32e0f7e097
anv: toggle on VK_EXT_extended_dynamic_state
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5604 >
2020-08-02 17:44:54 +00:00
Dave Airlie
e67da8d25f
llvmpipe: enable robust buffer access + GL 4.3, GLES 3.2 and robust buffer access behaviour
...
Turning on robust buffer access enables GLES 3.2, also
finished GL 4.3 support.
The post depth coverage fail is expected, it's a test bug
This also introduce a fail in the invalid flag test that I can't reproduce out of CI.
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5971 >
2020-07-23 00:04:49 +00:00
Jason Ekstrand
4d44848c47
anv: Advertise support for VK_EXT_shader_atomic_float
...
We already have all of the shader code for load/store/exchange.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5992 >
2020-07-21 05:01:34 +00:00
Jason Ekstrand
36e6ac65c5
anv: Advertise VK_EXT_image_robustness
...
We already support a superset of VK_EXT_image_robustness via
VK_EXT_robustness2.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5985 >
2020-07-20 22:30:18 +00:00
Samuel Pitoiset
3688da2192
radv: advertise VK_EXT_image_robustness
...
All new dEQP-VK.robustness.image_robustness.* pass.
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/5979 >
2020-07-20 21:18:27 +00:00
Samuel Pitoiset
00ca9b8142
radv: advertise VK_EXT_extended_dynamic_state
...
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/5718 >
2020-07-13 08:31:54 +00:00
Dave Airlie
3bb3e8940c
llvmpipe: add ARB_post_depth_coverage support.
...
This doesn't pass thie piglits because currently they are broken
for case where GL upgrades 2 samples to 4
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5767 >
2020-07-08 07:19:25 +10:00
Dave Airlie
2550531dd6
llvmpipe: enable GL 4.2
...
mostly just docs patch, features were all complete already
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724 >
2020-07-06 13:48:55 +10:00
Dave Airlie
28ebc8a212
llvmpipe: bump to GL support to GL 4.1
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724 >
2020-07-06 13:30:18 +10:00
Dave Airlie
8b8ffb12b4
docs: update llvmpipe GL 4.0 status
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3778 >
2020-07-02 04:12:17 +00:00
Daniel Schürmann
63e1e7209c
radv: enable ACO by default
...
No more dragons have been seen, caution is still required...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5445 >
2020-06-25 15:16:30 +02:00
Karol Herbst
cc71fccb75
nvc0: enable spirv caps with nir
...
This enables the SPIR-V GL extensions moving us a step closer to GL 4.6.
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Tested-by: Ben Skeggs <bskeggs@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5512 >
2020-06-22 11:41:31 +00:00
Samuel Pitoiset
51fb3b09dc
radv/aco: enable FP16 features/extensions on GFX9+
...
This enables shaderFloat16, VK_AMD_gpu_shader_half_float and
VK_AMD_gpu_shader_int16.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5347 >
2020-06-17 18:12:51 +02:00
Iván Briano
f63a578100
anv: Add VK_EXT_custom_border_color to relnotes
...
Missed it on 5425968d2e
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5136 >
2020-06-17 00:48:39 +00:00
Iván Briano
ed7bebc17b
anv: enable VK_EXT_pipeline_creation_cache_control
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5136 >
2020-06-17 00:48:39 +00:00
Dave Airlie
fce02f4020
mesa/gles3: add support for GL_EXT_shader_group_vote
...
This is the GLES equivalent to ARB_shader_group_vote.
Passes: KHR-GLES31.core.shader_group_vote.*
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5490 >
2020-06-16 12:02:21 +10:00
Samuel Pitoiset
d7923c74d4
radv/llvm: expose VK_EXT_shader_demote_to_helper_invocation with LLVM 9+
...
It should already work with the LLVM backend.
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/5361 >
2020-06-09 08:04:23 +02:00
Rhys Perry
b30b6fded8
docs: add missing "shader_" in VK_KHR_shader_subgroup_extended_types
...
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/5295 >
2020-06-02 13:21:42 +01:00