mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
r300: Enable the vertprog point size again.
This commit is contained in:
parent
03105d7b3e
commit
81c333adbc
2 changed files with 5 additions and 6 deletions
|
|
@ -308,10 +308,10 @@ GLuint r300VAPOutputCntl0(GLcontext * ctx, GLuint OutputsWritten)
|
|||
|
||||
#if 0
|
||||
if (OutputsWritten & (1 << VERT_RESULT_FOGC)) ;
|
||||
#endif
|
||||
|
||||
if (OutputsWritten & (1 << VERT_RESULT_PSIZ))
|
||||
ret |= R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT;
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -924,11 +924,14 @@ static void t_inputs_outputs(struct r300_vertex_program *vp)
|
|||
|
||||
assert(vp->key.OutputsWritten & (1 << VERT_RESULT_HPOS));
|
||||
|
||||
/* Assign outputs */
|
||||
if (vp->key.OutputsWritten & (1 << VERT_RESULT_HPOS)) {
|
||||
vp->outputs[VERT_RESULT_HPOS] = cur_reg++;
|
||||
}
|
||||
|
||||
if (vp->key.OutputsWritten & (1 << VERT_RESULT_PSIZ)) {
|
||||
vp->outputs[VERT_RESULT_PSIZ] = cur_reg++;
|
||||
}
|
||||
|
||||
if (vp->key.OutputsWritten & (1 << VERT_RESULT_COL0)) {
|
||||
vp->outputs[VERT_RESULT_COL0] = cur_reg++;
|
||||
}
|
||||
|
|
@ -954,10 +957,6 @@ static void t_inputs_outputs(struct r300_vertex_program *vp)
|
|||
if (vp->key.OutputsWritten & (1 << VERT_RESULT_FOGC)) {
|
||||
vp->outputs[VERT_RESULT_FOGC] = cur_reg++;
|
||||
}
|
||||
|
||||
if (vp->key.OutputsWritten & (1 << VERT_RESULT_PSIZ)) {
|
||||
vp->outputs[VERT_RESULT_PSIZ] = cur_reg++;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (i = VERT_RESULT_TEX0; i <= VERT_RESULT_TEX7; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue