diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-13 17:02:11 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-13 18:19:12 -0700 |
commit | 3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd (patch) | |
tree | 59874a99cf883938fe47f599aa63afc62fc1a307 /src/mesa/drivers/allegro | |
parent | 610c2461ce0683ca5412e4b2b7a496f67e9d3704 (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...
Diffstat (limited to 'src/mesa/drivers/allegro')
0 files changed, 0 insertions, 0 deletions