diff options
author | Brian <brian@nostromo.localnet.net> | 2007-02-08 17:40:29 -0700 |
---|---|---|
committer | Brian <brian@nostromo.localnet.net> | 2007-02-08 17:40:29 -0700 |
commit | bd9615bbc59b0ce626bb32e2a005fccec20e7331 (patch) | |
tree | 1ecdc1fdb7e4789b1c4da46a8709258470de5050 /src/mesa/shader/prog_parameter.c | |
parent | c0a9f554be0b82f2e6ce2d9318854ecd24a1a890 (diff) |
Check for constant-valued while/do loop conditions.
Allows us to:
1. avoid generating constant-valued BRK test for while(1)..
2. discard entire loop for while(0).
3. detection infinite loops at compile-time.
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
0 files changed, 0 insertions, 0 deletions