diff options
author | Iago Toral Quiroga <[email protected]> | 2015-04-28 14:25:56 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-25 08:39:23 +0200 |
commit | 0f18945cb612493d787377d8cbb138c18738f683 (patch) | |
tree | d1dad9331f7331d0ca6d6d3c18dbd8a1a4c3ffd6 /src/glsl/ir_uniform.h | |
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 <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/ir_uniform.h')
0 files changed, 0 insertions, 0 deletions