diff options
author | Brian Paul <[email protected]> | 2008-11-13 17:02:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:47:21 -0700 |
commit | 9681119bbb0317c87dcf781da561174752c02bc8 (patch) | |
tree | cdc1ab3824f245f14927655d5fd79498c05b8c44 /src/mesa/shader/arbprogram.c | |
parent | e8fa7e500c52db6764d4102360f2202005bcf817 (diff) |
mesa: revamp GLSL instruction emit code
This is a step toward better array handling code. In particular, when more
than one operand of an instruction uses indirect addressing, we'll need some
temporary instructions and registers. By converting IR storage to instruction
operands all in one place (emit_instruction()) we can be smarter about this.
Also, somewhat better handling of dst register swizzle/writemask handling.
This results in tighter writemasks on some instructions which is good for
SOA execution.
And, cleaner instruction commenting with inst_comment().
Next: remove some more dead code and additional clean-ups...
(cherry picked from commit 3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd)
Diffstat (limited to 'src/mesa/shader/arbprogram.c')
0 files changed, 0 insertions, 0 deletions