Mike Blumenkrantz
2e57c2c029
zink: add get_sparse_texture_virtual_page_size hook
...
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14381 >
2022-01-20 15:51:30 +00:00
Danylo Piliaiev
cadcbed258
tu: expose VK_KHR_copy_commands2
...
Relevant CTS tests:
dEQP-VK.api.copy_and_blit.copy_commands2.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14623 >
2022-01-20 10:43:31 +00:00
Charles Giessen
6ea7a61d7a
v3dv: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Charles Giessen
4e0604279d
freedreno, tu: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Charles Giessen
6eb8ceac87
lavapipe: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Charles Giessen
0988e4ae09
anv: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Charles Giessen
a2ec6bf60f
panvk: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Charles Giessen
80a99ae906
radv: Update LoaderICDInterfaceVersion to v5
...
With the proper version checking in the common vulkan instance code
(commit 88b9b68 ) it is now possible to bring the reported interface
version up to v5.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14563 >
2022-01-20 07:25:07 +00:00
Dave Airlie
8733d19f53
meson: start building intel earlier.
...
as intel perf is a big impact, start building the intel subdir
earlier so there is less chance of long stalls at the end waiting
for one file to link other things.
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14630 >
2022-01-20 06:41:17 +00:00
Dave Airlie
acc2d08cf9
intel/perf: use a function to do common allocations
...
This cuts the compile time down for this file on my ryzen from
real 1m4.077s
to
real 0m30.827s
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14630 >
2022-01-20 06:41:17 +00:00
Tapani Pälli
521ede8451
mesa: refactor GetProgramiv to use program resource list
...
This way we make sure glGetActiveUniform and glGetProgramiv
are in sync about active uniform count.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5885
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14589 >
2022-01-20 05:52:53 +00:00
Emma Anholt
7a8d651d50
ci/softpipe: Drop the GS sampling known-flakes.
...
They haven't appeared in the last half a year since I added the IRC flake
reports.
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627 >
2022-01-20 05:41:07 +00:00
Emma Anholt
bee77d3a82
softpipe: Request that st fix up DST_ALPHA blending for RGB render targets.
...
Fixes a render target of
dEQP-GLES31.functional.draw_buffers_indexed.random.max_implementation_draw_buffers.0
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627 >
2022-01-20 05:41:07 +00:00
Emma Anholt
263faa3dfb
softpipe: respect !independent_blend_enable for color masks.
...
blend_buf is the resolved "are we using independent blending?" index, cbuf
is the RT we're drawing to.
Cc: mesa-stable.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627 >
2022-01-20 05:41:07 +00:00
Mike Blumenkrantz
0c31ab34d2
lavapipe: fix ptralloc typo
...
these calculations are so tricky I can't even type them again
Fixes: 48fde98b79 ("lavapipe: replace hard pointer calcs in dynamic render with ptralloc")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14631 >
2022-01-19 21:05:03 -05:00
Guilherme Gallo
9314950726
ci: Add docs for Linux Kernel uprevs
...
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14514 >
2022-01-20 01:29:45 +00:00
Dave Airlie
4b8d84f71a
mesa/st: merge texture obj/image alloc/free into mesa
...
This just drops the st wrappers for alloc/free of texture images
and objects.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:54:08 +10:00
Dave Airlie
cd0961dce2
mesa/st: merge texture object/image structs into mesa
...
This just merges the subclasses into main class
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:54:03 +10:00
Dave Airlie
ea3e700e35
mesa/st: cleanup last bits of st perfmon code.
...
Just some small cleanups left to finish perfmon code movement.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:54:01 +10:00
Dave Airlie
bc9b176aef
mesa/st: move perfmon code from st into mesa
...
This merges the perfmon code after the objects have been merged.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:58 +10:00
Dave Airlie
1e2ded21ba
mesa/st: merge perfmon groups init/cleanup from st into mesa
...
This moves the init/cleanup code from st into mesa.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:55 +10:00
Dave Airlie
350dbb000e
mesa/st: merge perfmon counters/groups objects from st into mesa
...
This merges subclassed or side allocated objects into the main
ones.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:50 +10:00
Dave Airlie
a3099f885e
mesa/st: merge perfmon object from st into mesa
...
This just merges the perf mon subclass into the base class,
and cleans up the result.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:48 +10:00
Dave Airlie
0fb946da94
mesa/st: merge transform feedback code from st into mesa
...
After the objects are merged, this moves the rest of the code
from the state tracker into mesa.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:44 +10:00
Dave Airlie
ecb99724a3
mesa/st: merge st transform feedback object into gl one.
...
This just merges the object subclass into the main class,
this was left separate to ease review.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:42 +10:00
Dave Airlie
b6710b6549
mesa/st: merge condrender code from st into mesa.
...
This merges conditional render code from state tracker into mesa.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:36 +10:00
Dave Airlie
1c73afa462
mesa/st: merge queryobj code from st into mesa.
...
This merges all the query object code from st into mesa.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:33 +10:00
Dave Airlie
0af7c1e385
mesa/st: merge the syncobj code from st into mesa
...
This merges all the syncobj code into the mesa from the state tracker.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:30 +10:00
Dave Airlie
adf0dc7801
mesa/st: merge semaphore objects from st into mesa
...
Take all the semaphore objects code from state tracker and merge it
into mesa.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:27 +10:00
Dave Airlie
addcc24f77
mesa/st: merge memoryobjects code from st into mesa
...
This takes all the memory object code from state tracker and
merges it into mesa, cleaning it up on the way.
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14327 >
2022-01-20 10:53:18 +10:00
Dave Airlie
ed0046c5b4
glsl: drop glheader.h include.
...
This is unused.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
16fa442057
mesa: split struct gl_config into it's own header.
...
avoids context.h/mtypes.h deps.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
4346f39299
mesa: more mtypes.h cleanups
...
Add more from pepp
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
090f900173
docs: update docs for new extension header.
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
07edaa1409
vbo: drop unused mtypes.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
7db6f9b8fc
glsl: drop some more context.h/mtypes.h interactions
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
7b7f627600
glsl/fp64: move context.h dependent checks into main.
...
allows dropping context.h include.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
23b361ae12
glsl: move off mtypes.h in lots of places.
...
This moves to the new split out header files, should mean less recompiling
for unrelated changes.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
a7b9b4086c
mtypes: move gl_shader_variable to shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
79834f4def
mtypes: move bindless image/sampler objects to shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
0506c99ccd
mtypes: move uniform shader types to shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
57a7915fac
mtypes: move transform feedback internal structs to shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
cc38e6e7d3
mtypes: more gl_active_atomic_buffer to shader_types.h
...
allows dropping mtypes.h in glsl compiler
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
0eb50f738d
mtypes: move gl_program to shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
d6dfa370ee
mtypes: move gl_linked_shader and gl_shader_program to new shader_types.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
fa5788b889
mesa: move ast_to_hir.cpp off mtypes.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
74fa9c0620
glsl: move ast_function.cpp off mtypes.h
...
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
b4aa10c089
glsl: avoid rebuilding builtin functions on mtypes.h changes.
...
Restrict to when shader types or consts change
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
72123213ce
mesa: move some gl shader types to shader_types.h.
...
This moves some of these to further removes mtypes.h from the GLSL compiler.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00
Dave Airlie
b40958cbff
glsl: remove some deps on mtypes.h.
...
This should reduce having to rebuild parts of the GLSL compiler
when mtypes.h changes.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14437 >
2022-01-20 00:20:06 +00:00