Skip to content

zink: reject resource-imports with modifiers

Erik Faye-Lund requested to merge kusma/mesa:zink-reject-drm-modifiers into master

Zink doesn't support forwarding DRM modifiers yet, so whenever those are used, we end up ignoring them. That's not going to do the right thing in most cases, so let's reject them instead.

Since d6868351, the dri2 code tries to create a 0x0 surface without any format when trying to import. This makes this go from rendering-issues to asserting in debug builds, making things even worse.

Fixes: d6868351 ("gallium/dri2: Support I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS import") Closes: #3654 (closed)

Merge request reports