glsl/list: Add an exec_list_is_singular() helper.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Apr 2019 18:10:08 +0000 (11:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Apr 2019 05:35:42 +0000 (22:35 -0700)
commit08dc93c67c7d599a09cf353d50a3f0cf72f76135
tree352b88a7cbb95173be3f3acf766d5477be36cf25
parent376c3e8f87ab0b9bce5182da60c59832f7c1c138
glsl/list: Add an exec_list_is_singular() helper.

Similar to list_is_singular() in util/list.h.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/glsl/list.h