commit | 0f18945cb612493d787377d8cbb138c18738f683 | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Tue Apr 28 14:25:56 2015 +0200 |
committer | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | Fri Sep 25 08:39:23 2015 +0200 |
tree | d1dad9331f7331d0ca6d6d3c18dbd8a1a4c3ffd6 | |
parent | 995a719499d4bd97b27f1e8c7b506202257007b6 [diff] |
glsl: Do not allow reads from write-only buffer variables The error location won't be right, but fixing that would require to check for this as we process each type of AST node that can involve a variable read. v2: - Limit the check to buffer variables, image variables have different semantics involved. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>