PixelShaderGen: Microsoft's shader compiler likes to throw an internal error when masking with unsigned integers, so just use 255 instead of 0xFF all over the place...