Jesse Natalie
f5b1824ce3
wgl: Pass smapi explicitly to context creation
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:43 +00:00
Jesse Natalie
d57a4abcf8
egl,wgl: Support eglCreateImageKHR
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:43 +00:00
Jesse Natalie
76756ea4c6
egl/wgl: Support eglWaitNative
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
0e8271b27a
egl/wgl: Support eglWaitClient
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
1d9e0a4ab0
egl/wgl: Support eglSwapInterval
...
Note, eglSwapInterval spec says "The default swap interval is 1."
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
501154b4ed
wgl: Allow per-framebuffer swap interval overrides
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
0f533b3640
egl/wgl: Implement bind/release texture buffer
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
1d0757e2e3
egl/wgl: Set YInvert attribute to always true
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
87931cdb1f
egl/wgl: Implement PBuffer surfaces
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
c205641ccf
wgl: Split pbuffer creation into two functions
...
One creates a window and framebuffer, the other deals with
wgl-specific attribute parsing and GDI interactions.
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
11ee16493d
egl/wgl: Implement QuerySurface
...
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Jesse Natalie
8cab2ae240
egl/wgl: Don't require a native display to support window surfaces
...
Found a Windows EGL/GLES app that inits EGL without a native display,
and then creates a window surface from that EGL display:
https://github.com/danginsburg/opengles3-book/
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Sidney Just <justsid@x-plane.com >
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Tested-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12964 >
2022-08-10 21:00:42 +00:00
Yonggang Luo
e7b4af434b
c11: Implement and use of thrd_current properly on win32
...
Now thrd_t are a struct that contains both thread handle and thread id.
For threads that not created by thrd_create, thrd_current are returning pseudo thread handle;
but we can still compare threads differences by using thread id.
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/17071 >
2022-08-10 20:14:15 +00:00
Yonggang Luo
125a952b66
c11: call impl_tss_dtor_invoke with tls callback for win32
...
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/17071 >
2022-08-10 20:14:15 +00:00
Yonggang Luo
e819f71379
c11: It's should detect PTHREAD_DESTRUCTOR_ITERATIONS when define TSS_DTOR_ITERATIONS
...
INIT_ONCE_STATIC_INIT looks like miscopied from Win32's init once macro
Correct implementation for reference
https://gitlab.inria.fr/gustedt/p99/-/blob/master/p99/p99_threads_posix.h#L64
C11 standard:
https://en.cppreference.com/w/c/thread/TSS_DTOR_ITERATIONS
As TSS_DTOR_ITERATIONS didn't used in mesa codebase, so it's won't affect anything in mesa
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/17071 >
2022-08-10 20:14:15 +00:00
Mike Blumenkrantz
c37c6ac613
nir/validate: add some (light) validation for sampler type matching
...
this adds minimal validation for tex ops with derefs to check that the
dest type integer-ness matches the sampled type's integer-ness
the aim is to provide the most basic validation that nir is being modified
and created consistently, not to perform exact verification that
the types are identical
fix #6985
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874 >
2022-08-10 19:44:59 +00:00
Mike Blumenkrantz
b7eda568a4
nir/validate: clamp unsized tex dests to 32bit
...
this is the "default" size that's expected
cc: mesa-stable
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874 >
2022-08-10 19:44:59 +00:00
Mike Blumenkrantz
632e1b66f5
radv: fix return type for meta resolve shaders
...
this should match the image type
cc: mesa-stable
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17874 >
2022-08-10 19:44:58 +00:00
Samuel Pitoiset
524f173c03
radv: explain why radv_invariant_geom is still needed for SotTR DX
...
It's disabled by DXVK and vkd3d because it breaks NV.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17951 >
2022-08-10 19:21:12 +00:00
Samuel Pitoiset
95232bf261
radv: remove radv_invariant_geom workarounds for DX games
...
DXVK (v1.8+, Feb 19, 2021) enabled invariant position with:
"[d3d11] Enable d3d11.invariantPosition by default"
(8de9dc93781b61a902a2dc15cc4192514a821237)
vkd3d-proton (v2.5+, Oct 18, 2021) enabled invariant position with:
"vkd3d-shader: Add INVARIANT_POSITION quirk."
(32c5abf4963e07b3d7cbf1c95a9249dce16473d7)
It's recommanded to use Proton 7 or newer to ensure DXVK/vkd3d-proton
contain the invariant position fixes. Otherwise this change might
introduce regressions with older Proton versions.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17951 >
2022-08-10 19:21:12 +00:00
Juston Li
95b0b2bea0
venus: Enable VK_EXT_texture_compression_astc_hdr
...
See: virgl/virglrenderer!874
Signed-off-by: Juston Li <justonli@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17967 >
2022-08-10 19:07:22 +00:00
Chad Versace
56f3319519
venus/pipeline: Fix ignore rules for VK_EXT_extended_dynamic_state
...
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
e643173cc5
venus/pipeline: Fix ignore rules for VK_KHR_dynamic_rendering
...
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
33e791bc02
venus/pipeline: Ignore basePipelineHandle
...
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
d39e202dac
venus/pipeline: Ignore pViewportState::pScissors
...
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
d6f2915ae5
venus/pipeline: Ignore pViewportState::pViewports
...
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
4ab3b40f2e
venus/pipeline: Fix ignore rule for pColorBlendState
...
The ignore logic was too eager. We must inspect the subpass.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
661fc52c90
venus/pipeline: Fix ignore rule for pDepthStencilState
...
The ignore logic was too eager. We must inspect the subpass.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
5f70e08ed7
venus/pipeline: Split ignore rules for pViewportState, pMultisampleState
...
The ignore rules for VkGraphicsPipelineCreateInfo::pViewportState,
pMultisampleState, pDepthStencilState, and pColorBlendState, they were
all lumped together under a single ignore rule. Split them out because
the rules for pDepthStencilState and pColorBlendState should be
different.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
cf6099e425
venus/pipeline: Add pipeline state bools for ignore rules
...
For each pipeline state category, we define a bool.
The Vulkan spec (1.3.223) says:
The state required for a graphics pipeline is divided into vertex
input state, pre-rasterization shader state, fragment shader state,
and fragment output state.
This patch merely defines the bools and does a minor refactor. It does
not add new ignore rules.
Without VK_EXT_graphics_pipeline_library, most states are
unconditionally included in the pipeline. Despite that, we still
reference the state bools in the ignore rules because (a) it makes the
ignore condition easier to validate against the text of the relevant
VUs; and (b) it makes it easier to enable
VK_EXT_graphics_pipeline_library because we won't need to carefully
revisit the text of each VU to add the missing pipeline state bools.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
063a13d67e
venus/pipeline: Refactor vn_fix_graphics_pipeline_create_info
...
- Instead of deferring all fixes until we inspect all pCreateInfos, fix
each pCreateInfo immediately after we inspect it.
- Do not allocate vn_graphics_pipeline_create_info_fix.
- Add a struct to hold the temporary allocation of fixed pCreateInfos.
Later commits will place more vk structs here.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
0369fdbe94
venus: Track subpass properties
...
Needed to fix the ignore rules for
VkGraphicsPipelineCreateInfo::pColorBlendState and ::pDepthStencilState.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
b3619743c0
venus: Drop vn_present_src_attachment::acquire
...
The field is redundant.
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Chad Versace
7cc3f046e0
venus: Remove cryptic pointer arithmetic on present attachments
...
Each time some code wanted to access in vn_render_pass the present
acquire attachments or the present release attachments, it needed to
know the memory layout of vn_render_pass and do pointer arithmetic.
It's fragile to handroll this layout knowledge and pointer arithmetic
throughout the code, so add a pointer in vn_render_pass for each
attachment type.
The new pointers are:
- present_attachments: all present attachments
- present_acquire_attachments: a subslice of present_attachments
- present_release_attachments: a subslice of present_attachments
Signed-off-by: Chad Versace <chadversary@chromium.org >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16681 >
2022-08-10 18:17:52 +00:00
Charmaine Lee
2937c100e1
svga: fix SetConstantBufferOffset command opcode
...
This patch fixes the SetConstantBufferOffset command opcode which is
not mapped correctly after the reordering of the pipe shader type defines.
Acked-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17977 >
2022-08-10 17:49:30 +00:00
Samuel Pitoiset
bea050345e
radv: do not set registers for PSO states that are dynamic
...
Dynamic states are emitted from the cmdbuf, setting them from the
pipeline has no effects because they should be ignored anyways.
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/17677 >
2022-08-10 17:26:26 +00:00
Samuel Pitoiset
42803c70ef
radv: simplify dynamic states uses when determining NGG culling settings
...
Looking at the dynamic states is enough.
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/17677 >
2022-08-10 17:26:26 +00:00
Samuel Pitoiset
2a96521bb4
radv: remove one useless check about line width and dynamic state
...
It's now checked when the rasterization state is initialized.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17677 >
2022-08-10 17:26:26 +00:00
Samuel Pitoiset
101f9dd8cf
radv: properly ignore PSO states that are dynamic
...
They should be ignored because it's allowed to have garbage in there.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17677 >
2022-08-10 17:26:26 +00:00
Shuicheng Lin
fdab8fef7a
iris: return failure if iris_resource_configure_main fail
...
For surface created by eglCreatePbufferSurface with attrib_list is NULL
or empty, the width/height info is 0. Then in the next eglMakeCurrent
call, it will try to allocate the buffer with the 0 width/height, then
call surf_fill_state_s with 0 width/height, so the isl_extent3d returned
by isl_get_image_alignment is (0, 0, 0), and the unreachable code will
cause process crash with:
"stack corruption detected (-fstack-protector)".
As the width is 0, it causes row_pitch_B is 0 in isl_calc_row_pitch.
And it leads to iris_resource_configure_main return fail. Update code
to return fail to avoid the crash.
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17621 >
2022-08-10 16:59:32 +00:00
Konstantin Seurer
001779a33d
lavapipe: Remove st_shader_stage_to_ptarget
...
Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17930 >
2022-08-10 16:40:50 +00:00
Pierre-Eric Pelloux-Prayer
70891edd97
nir: add a nir_opt_if_options enum
...
And don't enable nir_opt_if_optimize_phi_true_false on radeonsi with
LLVM 14 because it crashes Blender.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6976
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Acked-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17949 >
2022-08-10 12:55:39 +00:00
Gert Wollny
0ca0d2d450
llvmpipe: Double number of SSBOs
...
llvmpipe doesn't define atomics, and therefore, gallium uses half of the
available SSBOs as atomic buffers. When virgl runs with llvmpipe as GLES
host we also report no atomic buffers to the guest so as to lower
atomics to SSBOs to work around ARB_shader_counter_ops not being
available on GLES. With the current value of 16 SSBOs in llvmpipe, only
eight SSBOs and eight atomic shader buffers are reported and with
virglrenderer not reporting atomics these numbers will be reduced to
four, being below the required minimum for ARB_compute_shaders.
By doubling the number of available SSBOs in llvmpipe, this limitation
is worked around and using llvmpipe as GLES host for virgl in the CI
allows testing ARB_compute_shaders and ARB_shader_counter_ops properly.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17979 >
2022-08-10 12:21:35 +00:00
Rhys Perry
bd40e1b012
aco: fix hash statistic
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Fixes: 897561b7b9 ("aco: add aco_postprocess_shader() helper")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17954 >
2022-08-10 11:56:29 +00:00
Gert Wollny
0b312dc343
radeonsi-raven/ci: Move spec@arb_timer_query@timestamp-get to flakes
...
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17982 >
2022-08-10 11:26:19 +00:00
Friedrich Vock
82fd379d9e
amd/common: move ac_memory_ops_per_clock into ac_gpu_info.h
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17973 >
2022-08-10 10:58:54 +00:00
Erik Faye-Lund
3340dea194
zink: do not use VK_FORMAT_D32_SFLOAT_S8_UINT without checking
...
Without this, we might end up trying to use VK_FORMAT_D32_SFLOAT_S8_UINT
even when it's not supported...
Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953 >
2022-08-10 10:28:38 +00:00
Erik Faye-Lund
71c1ca3c67
zink: add have_D32_SFLOAT_S8_UINT boolean
...
This will be reused in the following commit.
Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17953 >
2022-08-10 10:28:38 +00:00
Samuel Pitoiset
37dfa4e3f3
radv: fix cleaning the meta query state if an error occured
...
It's already correctly cleaned in radv_device_init_meta().
This fixes a recent regression with
dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.
Fixes: 1a95d43e55 ("radv: Simplify the meta init fail path")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17952 >
2022-08-10 07:21:46 +00:00
Samuel Pitoiset
5b5d5554f6
radv: respect the render area for depth/stencil resolves
...
Subpass resolves don't necessarily start from 0,0.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17950 >
2022-08-10 06:17:06 +00:00