freedreno: remove unnecessary null checks
authorRob Clark <robclark@freedesktop.org>
Fri, 23 Oct 2015 17:37:26 +0000 (13:37 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 24 Oct 2015 16:38:33 +0000 (12:38 -0400)
commit1e8d0cc62897fc90ac7dc9a92e80e714e52d3e77
tree9a48e0214444d71f48e56fceeb7e38fc9f964c14
parent6529daca391912246c13e6f76e885026d2ce88be
freedreno: remove unnecessary null checks

According to piglit/xonotic/neverball/stc, blend/rasterize/zsa state
will always be bound (never null).  And the null checks were in-
consistent anyways, so remove them.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c