mesa: simplify _mesa_is_image_unit_valid for buffers
authorMarek Olšák <marek.olsak@amd.com>
Sun, 11 Jun 2017 22:49:15 +0000 (00:49 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000 (01:51 +0200)
commitc0ed52f6146c7e24e1275451773bd47c1eda3145
tree88fcb696e8a33eed7379330461849383ce26f48b
parentcaf39d6df9de145060d7def72c20ca45e41b1e9c
mesa: simplify _mesa_is_image_unit_valid for buffers

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/shaderimage.c