Emma Anholt
f3df3d4c80
glsl: Make all drivers take the GLSLOptimizeConservatively path.
...
Now that all consumers of GLSL use NIR, make the remaining drivers take
the path that relies on NIR to really do optimization.
nouveau steam shader-db runtime -6.69631% +/- 1.29235% (n=12).
No change on shader-db there.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Rob Clark <robdclark@chromium.org >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16364 >
2022-05-10 05:03:34 +00:00
Iago Toral Quiroga
fd02ddc81b
v3dv: expose VK_KHR_pipeline_executable_properties
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Danylo Piliaiev
db69218cbe
tu: Implement VK_EXT_image_view_min_lod
...
Relevant tests:
dEQP-VK.texture.mipmap.*.image_view_min_lod.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16292 >
2022-05-09 07:53:41 +00:00
Emma Anholt
e9b491f9b5
gallium: Remove now-unused shader caps.
...
The only interesting ones here were LOWER_IF_THRESHOLD (which previously
had connected to some lowering in GLSL that was broken in the face of side
effects), and FMA (which turned GLSL IR's fma() into TGSI_OPCODE_FMA
instead of MAD).
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Iago Toral Quiroga
7c5b242aec
docs/features: flag VK_KHR_timeline_semaphore as implemented
...
We got this implemented for v3dv when Jason ported the submit code
to the common submit framework.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16344 >
2022-05-05 10:41:57 +00:00
Iago Toral Quiroga
1442d77bc5
v3dv: trivially implement VK_KHR_separate_depth_stencil_layouts
...
We don't currently benefit from seeing barriers and layout
transitions that affect just the depth or stencil aspects,
so we don't expose this feature.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16344 >
2022-05-05 10:41:57 +00:00
Iago Toral Quiroga
32223ac67f
v3dv: implement VK_EXT_separate_stencil_usage
...
We don't care about the depth/stencil usage other than to determine
if an image format is supported for that usage.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16344 >
2022-05-05 10:41:57 +00:00
Dylan Baker
681abdcc57
docs: Add sh256sum for mesa 20.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:22 -07:00
Dylan Baker
6eb129f108
docs: add release notes for 22.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:22 -07:00
Dylan Baker
9b94ef5697
docs: update calendar for 22.1.0-rc4
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:22 -07:00
Dylan Baker
e83a8b1d10
docs: update calendar for 22.1.0-rc3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:21 -07:00
Dylan Baker
9543fc1011
docs: Extend calendar entries for 22.1 by 1 releases.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:21 -07:00
Dylan Baker
2876359dce
docs: update calendar and link releases notes for 22.0.3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:21 -07:00
Dylan Baker
9e8f516e92
docs: Extend calendar entries for 22.0 by 1 releases.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16336 >
2022-05-04 15:55:21 -07:00
Lionel Landwerlin
5a2dd4a44d
docs: explain state emission in Anv
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220 >
2022-05-03 17:12:45 +00:00
Pierre-Eric Pelloux-Prayer
bd88bed855
gallium: add PIPE_CAP_ALLOW_DRAW_OUT_OF_ORDER
...
This way we can make allow_draw_out_of_order true by default for all
apps, iff the driver allows it.
And allow_draw_out_of_order=false can still be used in drirc, for
apps that need this optim to be turned off.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16139 >
2022-04-29 07:52:59 +00:00
Jesse Natalie
2bf00b4cff
d3d12: Hook up robustness extensions
...
We can at least correctly return whether the context was lost, but
at this point can't correctly tear down and create a new one, nor
do we support the callback for dynamic notification.
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15002 >
2022-04-28 19:33:04 +00:00
Jesse Natalie
06ae10bb92
wgl: Implement WGL_ARB_create_context_robustness
...
Reviewed-by: Jose Fonseca <jfonseca@vmware.com >
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15002 >
2022-04-28 19:33:04 +00:00
prashanth
09e4fd1d84
vulkan/device_select: force default device if environment variable set
...
Force default device if MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE
environment variable set. This will not give multiple device
options to app. There are apps that selects gpu to use based on its
own criteria, this patch can force default behaviour for these apps
by giving only one gpu device to select from.
v2: return 0 if no physical device present (Mihai Preda)
v3: document environment variables (Mihai Preda)(Marek Olšák)
Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com >
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15585 >
2022-04-28 08:05:40 +00:00
Adam Jackson
0db826a038
docs: Update supported drivers for 22.x
...
nouveau doesn't support pre-nv30 anymore, pre-DX9 drivers are no longer
supported generally, and llvmpipe jits on more than just x86.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15489 >
2022-04-26 14:46:40 +00:00
Adam Jackson
ddc59ccd71
docs: Note EGL enum allocation for EGL_EXT_present_opaque
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15489 >
2022-04-26 14:46:40 +00:00
David Heidelberg
2f5cf6fcee
ci: skqp: update URL
...
The file and functionality isn't present in `main` branch anymore.
Acked-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15973 >
2022-04-26 14:12:20 +00:00
Dylan Baker
d839d37642
docs: update calendar for 22.1.0-rc2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16089 >
2022-04-21 21:33:05 -07:00
Dylan Baker
5afa2cb0b3
docs: update calendar for 22.1.0-rc1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16089 >
2022-04-21 21:33:05 -07:00
Dylan Baker
cdfece6123
docs: update calendar and link releases notes for 22.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16089 >
2022-04-21 21:33:05 -07:00
Dylan Baker
f64e509672
docs: Add sha256sums for 22.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16089 >
2022-04-21 21:33:05 -07:00
Dylan Baker
c2c3bc5d9e
docs: add release notes for 22.0.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16089 >
2022-04-21 21:33:05 -07:00
Yonggang Luo
370a851ef0
zink: Improve zink.rst with links
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16026 >
2022-04-21 22:46:40 +00:00
Yonggang Luo
b0de09f48a
zink: Trim spaces in zink.rst
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16026 >
2022-04-21 22:46:40 +00:00
Mike Blumenkrantz
0f28da9cd4
gallium: add PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE
...
GL spec states that the stride for indirect multidraws:
* cannot be negative
* can be zero
* must be a multiple of 4
some drivers can't support strides which are not a multiple of the
size of the indirect struct being used, however, so rewrite those to
direct draws
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963 >
2022-04-21 02:29:09 +00:00
Juan A. Suarez Romero
04fb31a420
v3d: enable GL_ARB_copy_image extension
...
Enable the proper capability to get activate this extension.
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4588
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/15693 >
2022-04-19 08:03:42 +00:00
Lionel Landwerlin
317512e038
anv/intel: add a new debug flag for stalling after every draw/dispatch
...
Useful for hang debugging. Previously Anv incorrectly used DEBUG_SYNC
for this.
v2: Update documentations for sync/stall (Jordan)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15950 >
2022-04-19 07:32:01 +00:00
Mike Blumenkrantz
0067641d3c
zink: require KHR_imageless_framebuffer
...
this allows for deleting tons of code
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15904 >
2022-04-18 23:45:30 +00:00
Mike Blumenkrantz
8c539328fd
zink: require renderpass2
...
drivers should be able to support this, and it allows for deleting
a lot of untested code
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15904 >
2022-04-18 23:45:30 +00:00
Mike Blumenkrantz
bc2e29accd
zink: require timeline semaphores
...
this allows the removal of tons of awful code
Acked-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15904 >
2022-04-18 23:45:30 +00:00
Erik Faye-Lund
7ca1253932
gallium: rename ldexp shader-cap
...
This is no longer TGSI specific, so let's rename it to reflect
reality.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15922 >
2022-04-18 20:43:18 +00:00
Erik Faye-Lund
439c212a3c
gallium: rename dfracexp/dldexp shader-cap
...
This is no longer TGSI specific, so let's rename it to reflect
reality.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15922 >
2022-04-18 20:43:18 +00:00
Erik Faye-Lund
3efd6d4bfe
gallium: rename dround shader-cap
...
This is no longer TGSI specific, so let's rename it to reflect
reality.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15922 >
2022-04-18 20:43:18 +00:00
Erik Faye-Lund
9b545ea691
gallium: rename continue shader-cap
...
This is no longer TGSI specific, so let's rename it to reflect
reality.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15922 >
2022-04-18 20:43:18 +00:00
Alyssa Rosenzweig
f68e579044
docs/panfrost: Document drm-shim usage
...
Document how to build and use Panfrost's drm-shim implementation. I hope by
documenting this process, other Mesa developers are better able to test
Panfrost. In particular, this allows developers without Mali hardware to run
shader-db for any Mali target, which may be useful for debugging regressions
from common NIR changes.
drm-shim is not a substitute for testing against real hardware.
Special thanks to Emma Anholt and Icecream95 for building this infrastructure.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15930 >
2022-04-16 11:51:22 -04:00
Alyssa Rosenzweig
fc1397d1d7
docs/panfrost: Document u-interleaved tiling
...
The optimized routine documented the tiling format together with the software
algorithm. The reference implementation wants the tiling format alone
documented. Let's break out the high level documentation into somewhere
centrally accessible, and refocus the comments in the optimized file on the
optimization.
This documentation is linked bidirectionally with both implementations, so it
should be easy to find.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15803 >
2022-04-16 13:43:05 +00:00
Dylan Baker
fb69d9925e
docs: truncate new_features.txt
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15935 >
2022-04-13 23:40:25 +00:00
Mike Blumenkrantz
19a22ae110
features: mark off ARB_seamless_cubemap_per_texture for zink
...
forgot to do this with the MR
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15902 >
2022-04-12 19:12:57 +00:00
Erik Faye-Lund
82ca8a707e
wgl: do not disable error-dialogs by default
...
We don't know if an application developer wants error-dialog by default
or not, even when using a Mesa OpenGL driver.
So let's not assume this is a good thing, and instead make an option for
this behavior that we can enable for CI testing.
Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15485 >
2022-04-08 13:15:12 +00:00
Erik Faye-Lund
116553b554
wgl: rename force-msaa env-var
...
This env-var is not specific to the SVGA driver, so we should rename it
for consistency.
While we're at it, let's document the feature.
Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15485 >
2022-04-08 13:15:12 +00:00
Mike Blumenkrantz
b3abd3db33
docs: update features for lavapipe
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15808 >
2022-04-07 23:06:05 +00:00
Jason Ekstrand
5d198782a0
vulkan,docs: Add documentation for Vulkan dispatch
...
Acked-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15472 >
2022-04-07 16:32:21 +00:00
Jason Ekstrand
dd340ce1a1
vulkan,docs: Document vk_device
...
Acked-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15472 >
2022-04-07 16:32:21 +00:00
Jason Ekstrand
6073610d7a
vulkan,docs: Document vk_physical_device
...
Acked-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15472 >
2022-04-07 16:32:21 +00:00
Jason Ekstrand
f6d4641433
vulkan,docs: Document vk_instance
...
Acked-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15472 >
2022-04-07 16:32:21 +00:00