commit | b0ff18bd3441ce7f28354686934440a92826eaf8 | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Tue Jul 08 20:20:22 2014 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Fri Jul 18 01:58:58 2014 +0200 |
tree | 5e5828d8da6124a40b0a18d138b60905c6b5ecab | |
parent | 392c9f8dfe11034c44aeec72217e6f12dce20490 [diff] |
glsl: add a mechanism to allow #extension directives in the middle of shaders This is needed to make Unigine Heaven 4.0 and Unigine Valley 1.0 work with sample shading. Also, if this is disabled, the error message at least makes sense now. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>