vc4: Fix simulator when more than one vc4_screen is opened.
authorEric Anholt <eric@anholt.net>
Tue, 4 Oct 2016 23:29:26 +0000 (16:29 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 7 Oct 2016 01:09:24 +0000 (18:09 -0700)
commit06cc3dfda49b557b177ea6a5bc4fb87e087df21a
tree986a51eb2f81a6690d972563b91c93db1736effe
parentb30205b1120d4a87b6fb8eac9dea9a7f7a065123
vc4: Fix simulator when more than one vc4_screen is opened.

We would assertion fail in setting up the simulator the second time
around.  This at least postpones the assertion failure until we've closed
all of the first set of screens and started opening a new set.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_simulator.c