softgpu: Implement color masking.
softgpu: Implement logic ops.
GPUState: Fix depth buffer stride getter.