forums.PPSSPP.org
Good news for Ivy bridge Users swizzle vulkan support. - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Development (/forumdisplay.php?fid=3)
+--- Thread: Good news for Ivy bridge Users swizzle vulkan support. (/showthread.php?tid=24375)



Good news for Ivy bridge Users swizzle vulkan support. - MaXiMu - 05-30-2018 10:14 AM

If you have an Intel Ivy bridge GPU and use Vulkan you will have verified that you have problems in some games where the color palette is reversed that is due to the lack implemented of Swizzle support for this generation of GPU

there is already a solution for that and apparently it works thanks to Ville Syrjala intel developer.

You can test it compile from branch https://github.com/vsyrjala/mesa/tree/anv_gen7_tex_swizzle

There a custom script for autocompile from autogen.sh file

Code:
./autogen.sh --prefix=/usr \
               --sysconfdir=/etc \
               --with-dri-driverdir=/usr/lib/xorg/modules/dri \
               --with-dri-drivers=i965 \
               --with-egl-platforms=x11,drm,wayland \
               --with-clang-libdir=/usr/lib \
               --with-sha1=libnettle \
               --enable-texture-float \
               --enable-dri3 \
               --enable-osmesa \
               --enable-xa \
               --enable-gbm \
               --enable-nine \
               --enable-xvmc \
               --enable-vdpau \
               --enable-omx-bellagio \
               --enable-va \
               --enable-glx-tls \
               --with-vulkan-drivers=intel

Before or if you not using the branch Vsyrjala for now

[Image: 2drb0n9.png]

Swizzle working
[Image: 260tusn.png]

This will be not final implementation they said there is a much better way of implementing this in the backend so this won't be the final version.

Regards,
Mrc.