Small hack in shader for AMD compliance + tests