Can't get a palette shader to work on sprites

Why is this so difficult?: