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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user