- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
authorBen Skeggs <darktama@iinet.net.au>
Mon, 27 Nov 2006 01:57:37 +0000 (01:57 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Mon, 27 Nov 2006 01:57:37 +0000 (01:57 +0000)
commit98818f159baeaeba45d656d612b64b2f22c63753
treedcc4b50c7715665fa29e8f5915c3089de725db68
parent2f411b0a8bf9af96d7ef582564d8e462abd0f28d
- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
- 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.
src/mesa/drivers/dri/nouveau/nouveau_shader.h
src/mesa/drivers/dri/nouveau/nouveau_shader_2.c
src/mesa/drivers/dri/nouveau/nv30_fragprog.c
src/mesa/drivers/dri/nouveau/nv30_shader.h
src/mesa/drivers/dri/nouveau/nv40_vertprog.c