glsl: add can_skip_compile() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Aug 2019 06:13:07 +0000 (16:13 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Nov 2019 05:05:56 +0000 (05:05 +0000)
commit17df8f8b5d5491c1d70d35209f76966e1ccbe817
treeef6a860b41311be411927d28789ae369929c0704
parent5327b756bf3c9f3779a90900ac06c6bcb8976951
glsl: add can_skip_compile() helper

We will reuse this in the following commit.

Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com>
src/compiler/glsl/glsl_parser_extras.cpp