Age | Commit message (Collapse) | Author |
|
|
|
|
|
Mostly:
- update #includes
- update STATE_* token code
|
|
|
|
NV30/40 fragprog: build FP_CONTROL per-shader, still some hardcoded bits for
this reg.. It looks like it has to do with the number of
temps used, but needs more looking at.
NV40 vtxprog : build VP_IN_REG/VP_OUT_REG during shader compile
|
|
if this gets rejected by the commit list, just ignore it..
nothing interesting to see here :)
|
|
No branching stuff implemented yet. Works enough for gears, probably
other stuff broken.
|
|
It sucks, and we have someone who can do a much better job than I can starting
work on it soon. alloc_temp/free_temp is left in pass2 to workaround fragprog
temps/outputs overlapping, but this all belongs in the optimiser.
|
|
|
|
- NV30FP/NV40VP: Clear any fields before we OR new values into them
- NV40VP: It seems that it might be possible to write a result reg at the
same time a temp is written. In InitInstruction, initialise OUT_DEST to
OUT_DEST_TEMP so result regs don't get clobbered by default.
|
|
Fragprog consts are inlined, so make sure we update *all* occurances of a
param :)
|
|
much..
|