glsl: add several EmitNo* options, and MaxUnrollIterations

This increases the chance that GLSL programs will actually work.

Note that continues and returns are not yet lowered, so linking
will just fail if not supported.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Luca Barbieri
2010-09-05 22:29:58 +02:00
committed by Ian Romanick
parent 6d3a2c97f4
commit e591c4625c
11 changed files with 27 additions and 19 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ set_loop_controls(exec_list *instructions, loop_state *ls);
extern bool
unroll_loops(exec_list *instructions, loop_state *ls);
unroll_loops(exec_list *instructions, loop_state *ls, unsigned max_iterations);
/**