modification  of shaders for driver compatibility