freedreno: get rid of noop render
authorRob Clark <robdclark@gmail.com>
Tue, 17 Jul 2018 13:54:23 +0000 (09:54 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 17 Jul 2018 15:00:00 +0000 (11:00 -0400)
commit20f677f6bccdabafbffd0d8e948514dda0acb3f4
tree7c7bfa11a69c6015cacbec58c63c5f60e0dc96e3
parent15f6c0509a8b6928a94023e095e08419cf1fe589
freedreno: get rid of noop render

This was basically to avoid a zero-dword IB (indirect-branch), but
instead just don't emit the IB packet in that case.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h
src/gallium/drivers/freedreno/freedreno_util.h