diff options
author | Ben Skeggs <[email protected]> | 2006-11-27 01:57:37 +0000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2006-11-27 01:57:37 +0000 |
commit | 98818f159baeaeba45d656d612b64b2f22c63753 (patch) | |
tree | dcc4b50c7715665fa29e8f5915c3089de725db68 /src/mesa/drivers/dri/nouveau/nv30_shader.h | |
parent | 2f411b0a8bf9af96d7ef582564d8e462abd0f28d (diff) |
- 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.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv30_shader.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv30_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_shader.h b/src/mesa/drivers/dri/nouveau/nv30_shader.h index d0bf6399302..7a027dd4273 100644 --- a/src/mesa/drivers/dri/nouveau/nv30_shader.h +++ b/src/mesa/drivers/dri/nouveau/nv30_shader.h @@ -351,6 +351,7 @@ #define NV30_FP_OP_INDEX_INPUT (1 << 30) //== Register selection == +#define NV30_FP_REG_ALL_MASK (0x1FFFF<<0) #define NV30_FP_REG_TYPE_SHIFT 0 #define NV30_FP_REG_TYPE_MASK (3 << 0) # define NV30_FP_REG_TYPE_TEMP 0 |