diff options
author | Brian <[email protected]> | 2007-12-19 08:50:52 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-12-19 13:16:36 -0700 |
commit | cedf6892e7cc29aab404b142012eec0b0603a414 (patch) | |
tree | 91c1f5f7a384fb2d65f5bd810799a5378ffd4d6f /src/mesa/state_tracker | |
parent | dbf6eced87c16eae0834d38d86a60b4f643ee3b7 (diff) |
special-case PSIZE too
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_atom_shader.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index 33372b0f399..2a182c7d9c4 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -228,12 +228,17 @@ find_translated_vp(struct st_context *st, xvp->output_to_slot[outAttr] = vpOutSlot; numVpOuts++; } - else if (outAttr == VERT_RESULT_BFC0 || + else if (outAttr == VERT_RESULT_PSIZ || + outAttr == VERT_RESULT_BFC0 || outAttr == VERT_RESULT_BFC1) { /* backface colors go into last slots */ xvp->output_to_slot[outAttr] = numVpOuts++; } } + /* + printf("output_to_slot[%d] = %d\n", outAttr, + xvp->output_to_slot[outAttr]); + */ } /* Unneeded vertex program outputs will go to this slot. |