Unverified Commit e40d29d4 authored by Charlotte 🦝 Deleńkec's avatar Charlotte 🦝 Deleńkec
Browse files

mesa: Backport graphical corruption fix

This fixes a graphical corruption bug in Final Fantasy XIV where tiny
colored rectangles appear over some geometry.
parent ae32a3f2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
, expat
, fetchCrate
, fetchFromGitLab
, fetchpatch
, file
, flex
, glslang
@@ -141,6 +142,12 @@ in stdenv.mkDerivation {
  patches = [
    ./opencl.patch
    ./system-gbm.patch
    # Fix graphical corruption in FFXIV
    # Remove when updating to 25.0.2
    (fetchpatch {
      url = "https://gitlab.freedesktop.org/mesa/mesa/-/commit/0ec174afd56fe48bcfa071d4b8ed704106f46f91.patch";
      hash = "sha256-6A9AkCa+DeUO683hlsNTvSWGFJJ+zfqYA2BThaqCEoU=";
    })
  ];

  postPatch = ''