Erik Faye-Lund
55f6a2bb51
gallium: normalized_coords -> unnormalized_coords
...
A lot of code zero-initializes pipe_sampler_state, and sets the states
the non-zero fields manually. This means that normalized_coords is the
"default" setting.
However, setting normalized_coords to true isn't allways allowed, and
we'd need to check PIPE_CAP_TEXRECT first. So it's not really the ideal
default here. There's recently been found quite a bit of bugs in this
area, where the state-tracker didn't properly lower texrects.
Let's switch this around to avoid more bugs like this in the future.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18971 >
2022-10-10 10:20:02 +00:00
Rob Clark
27aa172012
isaspec: Fix out of date comment
...
Assembler support has existed for a long time.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18926 >
2022-10-08 14:25:29 +00:00
Lionel Landwerlin
1964899c28
intel: add INTEL_DEBUG=capture-all to capture everything upon hang
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewd-by: Jordan Justen <jordan.l.justen@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18977 >
2022-10-07 07:45:22 +00:00
Jeremy Rand
537176181e
llvmpipe: bump LP_MAX_THREADS to 32
...
On my ppc64le machine with 32 hardware threads, this speeds up OpenArena
(1920x1200) from 7.2 fps to 8.1 fps.
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18415 >
2022-10-04 22:59:12 +00:00
Yiwei Zhang
24bc3b7644
docs: move VK_EXT_extended_dynamic_state3 out from 1.3
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18941 >
2022-10-04 18:08:11 +00:00
Yiwei Zhang
e577bb18c8
docs: update venus extension support
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18940 >
2022-10-03 19:32:28 +00:00
Eric Engestrom
7e1f0e3d98
docs/release-calendar: add 22.3 schedule
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18756 >
2022-10-01 17:09:31 +00:00
Mike Blumenkrantz
7308996921
lavapipe: dynamic state3
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18878 >
2022-09-29 05:00:10 +00:00
Mike Blumenkrantz
2136047624
zink: rework ZINK_PIPELINE_LIBRARY_FORCE into ZINK_DEBUG flag
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18868 >
2022-09-28 23:13:44 +00:00
LingMan
521da0360a
docs/rusticl: Document minimum required bindgen version
...
rusticl requires at least bindgen 0.58.0 to build.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18834 >
2022-09-28 18:34:27 +00:00
Iago Toral Quiroga
b6093ffbe7
v3dv: expose VK_EXT_image_robustness
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18820 >
2022-09-27 09:08:29 +00:00
Erik Faye-Lund
c816081eea
docs: fixup broken rst syntax
...
Seems I messed this up when converting things, and nobody noticed until
now!
Fixes: d4397c0048
("docs: use envvar role for envvars")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18641 >
2022-09-27 08:59:23 +00:00
Erik Faye-Lund
88ed8245a8
docs: add an amber article
...
This gives a brief introduction to the Amber branch, and where to
find documentation for it.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18648 >
2022-09-23 10:49:08 +00:00
Yonggang Luo
51af3f30c6
Update 22.2.0.rst
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18726 >
2022-09-22 20:08:20 +00:00
Dylan Baker
7f6ec0f0e3
docs: Add calendar entries for 22.2 release.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18726 >
2022-09-22 20:08:20 +00:00
Dylan Baker
b91cf1df5a
docs: update calendar and link releases notes for 22.2.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18726 >
2022-09-22 20:08:20 +00:00
Dylan Baker
149a7f272c
docs: Add sha256 sum for 22.2.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18726 >
2022-09-22 20:08:20 +00:00
Dylan Baker
fe61d5cfe1
docs: add release notes for 22.2.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18726 >
2022-09-22 20:08:20 +00:00
Eric Engestrom
88eeece662
docs: update calendar and link releases notes for 22.1.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18752 >
2022-09-22 13:11:08 +00:00
Eric Engestrom
40bfaa7354
docs: add release notes for 22.1.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18752 >
2022-09-22 13:11:08 +00:00
Eric Engestrom
c3df3baf8b
docs: update calendar and link releases notes for 22.1.6
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18752 >
2022-09-22 13:11:08 +00:00
Eric Engestrom
2b4a819e60
docs: add release notes for 22.1.6
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18752 >
2022-09-22 13:11:08 +00:00
Lionel Landwerlin
7556ee1fe4
anv: add support for EXT_mutable_descriptor_type
...
v2: Update docs/features.txt (Tapani)
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/18688 >
2022-09-21 13:34:20 +00:00
Danylo Piliaiev
075cd3ca94
tu: Expose Vulkan 1.3
...
We have all required functionality implemented, and DXVK now requires
Vulkan 1.3.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18709 >
2022-09-21 11:56:26 +00:00
Danylo Piliaiev
9cc9b595f1
turnip: Implement VK_EXT_mutable_descriptor_type
...
Trivial promotion from VALVE, just rename enums and types.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18710 >
2022-09-21 11:30:31 +03:00
Dave Airlie
b983fcb585
docs: add new llvmpipe/lavapipe atomic float extensions
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18636 >
2022-09-20 01:10:36 +00:00
Kai Wasserbäch
e4c7cf1568
chore(docs): rusticl: improve list of build dependencies
...
v2:
- added more requirements for LLVM (thanks Mike Lothian (@FireBurn)).
v3:
- note the optional cases for rustfmt (thanks @LingMan)
- remove the part about the SPIR-V target for LLVM (thanks Karol Herbst
(@karolherbst))
v4:
- added minimum version requirements (thanks Karol Herbst
(@karolherbst))
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18640 >
2022-09-17 15:20:37 +02:00
Erik Faye-Lund
345f52661c
docs: update staus of mark GL_ARB_texture_compression_bptc
...
This is now done for all drivers that supports half-float and sRGB
textures. Update features.txt to reflect this.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18574 >
2022-09-17 10:03:12 +00:00
Hans-Kristian Arntzen
f5b46a643f
radv: Implement VK_EXT_mutable_descriptor_type.
...
Trivial promotion from VALVE, just rename enums and types.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18610 >
2022-09-15 16:55:25 +00:00
Erik Faye-Lund
df58342f61
mesa/st: enable rgtc extension with fallback
...
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Eric Engestrom <eric@igalia.com >
Tested-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18248 >
2022-09-15 08:16:01 +00:00
Mike Blumenkrantz
4e4d91a79d
docs: add more features
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17956 >
2022-09-14 14:19:05 +00:00
Iago Toral Quiroga
ab378b9ce5
v3dv: expose VK_EXT_load_store_op_none
...
This extension adds new NONE attachment load / store operations,
which are identical to the DONT_CARE variants with the difference
that DONT_CARE doesn't ensure that the original contents of the
memory within the render area are preserved and these new versions
do (with some caveats).
Our implementation was not destroying data with DONT_CARE anyway
so we already support the new semantics. Our implementation is
such that we don't need to do anything specific with the new
operations and the current behavior will do what is expected.
We pass all the tests under:
dEQP-VK.renderpass*.load_store_op_none.*
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18570 >
2022-09-14 13:48:46 +00:00
Danylo Piliaiev
34109c8c10
turnip: implement VK_EXT_multi_draw
...
vkoverhead running:
* draw numbers are reported as thousands of operations per second
* percentages for draw cases are relative to 'draw'
0, draw, 29151, 100.0%
1, draw_multi, 35449, 121.6%
2, draw_vertex, 28907, 99.2%
3, draw_multi_vertex, 56658, 194.4%
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11502 >
2022-09-14 13:18:02 +00:00
Connor Abbott
201851a3d1
tu: Initial implementation of VK_EXT_inline_uniform_block
...
This is a trivial implementation where we just insert a UBO descriptor
pointing to the actual data and then treat it as a normal UBO everywhere
else. In theory an indirect CP_LOAD_STATE would be more efficient than
ldc.k to preload inline uniform blocks to constants. However we will
always need the UBO descriptor anyway, even if we lower the limits
enough to always be able to preload them, because with variable pointers
we may have a pointer that could be to either an inline uniform block or
regular uniform block. So, using an indirect CP_LOAD_STATE should be an
optimization on top of this.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17960 >
2022-09-14 12:46:01 +00:00
Chia-I Wu
43c53e3225
turnip: add support for VK_KHR_global_priority
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18510 >
2022-09-14 01:38:54 +00:00
Eric Engestrom
e14c418862
docs: move rusticl readme into docs/
...
And convert it from Markdown to rST.
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18568 >
2022-09-13 12:24:35 +00:00
Rajnesh Kanwal
0265a23172
pvr: Implement vkGetPhysicalDeviceImageFormatProperties2 API.
...
Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com >
Reviewed-by: Frank Binns <frank.binns@imgtec.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18487 >
2022-09-13 11:47:37 +00:00
Georg Lehmann
1e7a930e10
radv: Enable VK_EXT_load_store_op_none.
...
VK_ATTACHMENT_STORE_OP_NONE_EXT is already supported through
VK_KHR_dynamic_rendering.
It doesn't seem like we need to do anything special for
VK_ATTACHMENT_LOAD_OP_NONE_EXT.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7246
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18545 >
2022-09-13 09:56:11 +00:00
Erik Faye-Lund
3454ff21e5
docs/zink: document rgtc requirement
...
OpenGL 3.0 requires RGTC support, and until we have emulation in place,
we should document that requirement.
Fixes: d50e8554b9
("zink: add feature-documentation")
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18549 >
2022-09-13 08:15:40 +00:00
Iago Toral Quiroga
e2010e000b
v3dv: expose VK_EXT_primitive_topology_list_restart
...
The hw supports restarts of list primmitives and we pass
all the relevant CTS tests.
We don't advertise patch list restarts because we don't support
tessellation shaders yet.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18544 >
2022-09-12 12:45:10 +00:00
Alyssa Rosenzweig
e6cdffa0fc
docs/envvars: Document Asahi variables
...
There aren't too many.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18508 >
2022-09-09 21:25:55 +00:00
Tomeu Vizoso
79b92af9da
gallium: Add PIPE_CAP_QUERY_TIMESTAMP_BITS
...
For those drivers that don't make full use of the 64 bits in
pipe_query_result.u64.
Applications will make use of it via GL_QUERY_COUNTER_BITS to handle
when the value rolls over.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10770 >
2022-09-09 14:49:12 +02:00
Iago Toral Quiroga
ca330f7f04
v3dv: implement VK_EXT_memory_budget
...
This is mostly based on Turnip's implementation.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18483 >
2022-09-09 11:14:03 +00:00
Iago Toral Quiroga
f27d3a08c6
v3dv: expose VK_EXT_attachment_feeback_loop_layout
...
We don't have any special requirements for this, so we can just expose
the extension.
The tests in CTS have an issue where they only check if a format is
supported for sampling but don't check if an image with that format
can be created for sampling. In our case, since we can't sample
1D depth/stencil images, this causes affected tests to crash in the
simulator (they pass on the device though). There is an issue with
a fix here:
https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/3923
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18489 >
2022-09-09 12:31:02 +02:00
Iago Toral Quiroga
bcc37775f1
v3dv: implement VK_EXT_depth_clip_control
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18387 >
2022-09-09 10:03:58 +00:00
Chad Versace
d0cb99e96a
venus: Enable VK_EXT_pipeline_creation_feedback
...
Implement natively by always returning invalid feedback. This is a legal
(but useless) implementation according to the spec.
In the future, I want to return the real feedback values from the host,
but that requires changes to the venus protocol. The protocol does not
know that the VkPipelineCreationFeedback structs in the
VkGraphicsPipelineCreateInfo pNext are output parameters. Before
VK_EXT_pipeline_creation_feedback, the pNext chain was input-only.
Tested with `dEQP-VK.pipeline.*.creation_feedback.*`.
The tests in vulkan-cts-1.3.3.0 are buggy. I submitted a fix to dEQP
upstream; see below.
Results with the bug:
Passed: 0/30 ( 0.0%)
Failed: 12/30 (40.0%)
Not supported: 18/30 (60.0%)
Warnings: 0/30 ( 0.0%)
Results with bugfix:
Passed: 12/30 (40.0%)
Failed: 0/30 ( 0.0%)
Not supported: 18/30 (60.0%)
Warnings: 0/30 ( 0.0%)
See: https://gerrit.khronos.org/c/vk-gl-cts/+/10086
See: https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/909
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Signed-off-by: Chad Versace <chadversary@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18035 >
2022-09-08 19:13:51 +00:00
Mark Collins
dd19da31f2
tu: Expose VK_EXT_tooling_info using common implementation
...
Signed-off-by: Mark Collins <mark@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18390 >
2022-09-08 08:14:40 +00:00
Eric Engestrom
28ed514c3c
v3dv: implement VK_EXT_shader_module_identifier
...
Passes `dEQP-VK.*.shader_module_identifier.*`
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18458 >
2022-09-07 12:51:16 +00:00
Erik Faye-Lund
6e990a2f73
docs/zink: remove bptc from required formats for gl4.2
...
We now have lowering-code in the mesa state-tracker, meaning we no
longer need this feature.
Fixes: e4ff42684b
("mesa/st: enable bptc extension with fallback")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18434 >
2022-09-07 08:11:31 +00:00
Kai Wasserbäch
f9057cea51
fix(FTBFS): meson: raise C++ standard to C++17
...
LLVM 16 requires this since [0] and instead of just going all over the
various directories and adding overrides it should be easier to just
raise this globally. GCC supports C++17 since GCC 8 (2018), Clang since
version 5 (2017). Debian Buster (oldstable) has GCC 8.3 and Clang 7.0,
so all major distributions should have this and there shouldn't be an
issue with bumping.
[0] <b4e9977fc1
>
Closes: <https://gitlab.freedesktop.org/mesa/mesa/-/issues/7031 >
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Ganesh Belgur Ramachandra <ganesh.belgurramachandra@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17966 >
2022-09-06 20:34:17 +00:00