As a workaround always enabling the declarition of z-compare texture and a fix for -1 elements arrays