glsl: delay compilation skip if shader contains an include
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Aug 2019 06:14:02 +0000 (16:14 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Nov 2019 05:05:56 +0000 (05:05 +0000)
commitdb5197cec54e7926211acef2ff3b40344f01b4f9
tree4172dab7afe05e3a7f8369125747547c7bc1431e
parent17df8f8b5d5491c1d70d35209f76966e1ccbe817
glsl: delay compilation skip if shader contains an include

If the shader contains an include when need to first run the
preprocessor before deciding if we can skip compilation based
on the shader cache.

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