diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-10 11:40:20 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-10 11:40:20 -0700 |
commit | 6333005f7aea3e5d1d86a5c47b3fa2a1ed2f3ff0 (patch) | |
tree | e366b0c255dc07f9c6b8fea4c3ead1bd1a6aae7c /docs/README.WINDML | |
parent | 1d352b42a106ed0c3cd0831fa681d07794b7ff3d (diff) |
glsl: force creation of new scope for for-loop body
Fixes regression in progs/demos/convolution.c due to loop unrolling.
This also allows the following to be compiled correctly:
for (int i = 0; i < n; i++) {
int i;
...
}
This fix is a bit of a hack, however. The better fix would be to change
the slang_shader.syn grammar. Will revisit that...
Diffstat (limited to 'docs/README.WINDML')
0 files changed, 0 insertions, 0 deletions