glsl: error if #include used while extension is disabled
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Aug 2019 04:20:33 +0000 (14:20 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Nov 2019 05:05:55 +0000 (05:05 +0000)
commit5327b756bf3c9f3779a90900ac06c6bcb8976951
tree699da4546c10b1bcf82b751e29f44439d8485543
parent13a1426b97c2ff1e42f7455f1f9937fe956c17b2
glsl: error if #include used while extension is disabled

In other words make sure the shader does this:

Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com>
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glsl_lexer.ll