v3d: Add safety checks for resource_create().
authorEric Anholt <eric@anholt.net>
Fri, 30 Nov 2018 01:06:25 +0000 (17:06 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2018 01:48:01 +0000 (17:48 -0800)
commit332a5cf6a57dc838e7010e2f7c42eceb8209f6c6
tree65c6cdbb282ea8eb320e538cb81ba878ba0d867b
parent6ad9e8690d144f110150d3367254504c1b322682
v3d: Add safety checks for resource_create().

This should ease my debugging next time I screw it up.
src/gallium/drivers/v3d/v3d_resource.c