mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
radv: don't create blit pipelines for multisampled 3D images
These don't create sensible NIR. 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/12214>
This commit is contained in:
parent
f3723822a4
commit
d30ed6ef8b
1 changed files with 4 additions and 0 deletions
|
|
@ -1321,6 +1321,10 @@ radv_device_init_meta_blit2d_state(struct radv_device *device, bool on_demand)
|
|||
if (src == BLIT2D_SRC_TYPE_BUFFER && log2_samples > 0)
|
||||
continue;
|
||||
|
||||
/* There are no multisampled 3D images. */
|
||||
if (src == BLIT2D_SRC_TYPE_IMAGE_3D && log2_samples > 0)
|
||||
continue;
|
||||
|
||||
result = meta_blit2d_create_pipe_layout(device, src, log2_samples);
|
||||
if (result != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue