Skip to content

crocus: copy views before adjusting

Dave Airlie requested to merge airlied/mesa:crocus-fix-cubemap into main

The current code overwrote the original view which meant if we had to reemit a surface the second emit would be wrong.

This fixes cubemaps on gm45 and maybe some issues with 3D textures elsewhere.

Fixes: f3630548 ("crocus: initial gallium driver for Intel gfx 4-7")

Merge request reports