diff options
author | Christoph Bumiller <[email protected]> | 2009-11-29 13:33:16 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2009-11-29 13:41:47 +0100 |
commit | 7494b829052a87d7a8c56c68300a110b40e401e8 (patch) | |
tree | 0b7c56e2c513fe8ccb2431a395d605802409bef2 /src/gallium/drivers/nv50/nv50_program.h | |
parent | 3f471c7948425a9c8ae23a563e0e816954a7589a (diff) |
nv50: match VP outputs to FP inputs ourselves
For each FP input, don't assume that the VP output will be
at the same position, but scan the semantics instead, then
put the correct output reg indices into VP_RESULT_MAP.
Position is still assumed to be the first output/input.
See 07fafc7c9346aa260829603bf3188596481e9e62, which renders
previous assumptions incorrect.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h index d78dee083f1..255c7c737ef 100644 --- a/src/gallium/drivers/nv50/nv50_program.h +++ b/src/gallium/drivers/nv50/nv50_program.h @@ -17,8 +17,7 @@ struct nv50_program_exec { struct nv50_sreg4 { uint8_t hw; - uint8_t id_vp; - uint8_t id_fp; + uint8_t id; /* tgsi index, nv50 needs them sorted: flat ones last */ uint8_t mask; boolean linear; |