nv50: avoid crash on updating RASTERIZE_ENABLE state
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Jun 2013 22:02:24 +0000 (00:02 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 18 Jun 2013 22:02:24 +0000 (00:02 +0200)
commit7f7b05d6b324c15b6573dfe1e90d4d5cf416a59b
tree90699813b49213286e745a2cb2f895c575138137
parent712269d6744a8849d1d0cf01fa0132d969b79ed4
nv50: avoid crash on updating RASTERIZE_ENABLE state

When doing blit using the 3D engine, the rasterizer cso may be NULL.

Ported from nvc0 commit 8aa8b0539.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/nv50/nv50_surface.c