diff options
author | Eric Anholt <[email protected]> | 2010-08-06 13:07:25 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-06 13:22:31 -0700 |
commit | 925b49ff310bf0b307add7c34627cddf87e6a554 (patch) | |
tree | 07301c8745a5171a4b4ff0511a87ed505043262b /src/glsl/ir.h | |
parent | c234d0b25f622a7bdd3c40bc72fdbd59d8494c7c (diff) |
glsl2: Move gl_program->InputsRead/OutputsWritten setting to an ir pass.
This lets us handle arrays much better than trying to work backwards
from assembly.
Fixes fbo-drawbuffers-maxtargets on swrast (i965 needs loop unrolling)
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 5dc3c6b9186..d852a6a93bf 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1392,4 +1392,7 @@ import_prototypes(const exec_list *source, exec_list *dest, extern bool ir_has_call(ir_instruction *ir); +extern void +do_set_program_inouts(exec_list *instructions, struct gl_program *prog); + #endif /* IR_H */ |