Lines Matching refs:hw

106    GLfloat *fcmd = (GLfloat *)&rmesa->hw.vpp[0].cmd[VPP_CMD_0 + 1];
139 fcmd = (GLfloat *)&rmesa->hw.vpp[1].cmd[VPP_CMD_0 + 1];
143 rmesa->hw.vpp[0].cmd_size =
145 tmp.i = rmesa->hw.vpp[0].cmd[VPP_CMD_0];
147 rmesa->hw.vpp[0].cmd[VPP_CMD_0] = tmp.i;
149 rmesa->hw.vpp[1].cmd_size = 1 + 4 * (paramList->NumParameters - 96);
150 tmp.i = rmesa->hw.vpp[1].cmd[VPP_CMD_0];
152 rmesa->hw.vpp[1].cmd[VPP_CMD_0] = tmp.i;
451 /* Initial value should be last tmp reg that hw supports.
491 and 13 in a hw vertex prog.
502 Haven't seen attr 14 used, maybe that's for the hw pointsize vec1 (which is
1110 fprintf(stderr, "hw program:\n");
1127 /* could optimize setting up vertex progs away for non-tcl hw */
1135 rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] |= R200_VAP_PROG_VTX_SHADER_ENABLE /*| R200_VAP_SINGLE_BUF_STATE_ENABLE*/;
1139 rmesa->hw.pvs.cmd[PVS_CNTL_1] = (0 << R200_PVS_CNTL_1_PROGRAM_START_SHIFT) |
1142 rmesa->hw.pvs.cmd[PVS_CNTL_2] = (0 << R200_PVS_CNTL_2_PARAM_OFFSET_SHIFT) |
1149 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] |= (ctx->Transform.ClipPlanesEnabled << 2);
1152 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] &= ~(0xfc);
1165 rmesa->hw.vpi[0].cmd[VPI_OPDST_0 + 4 * i] = vp->instr[i].op;
1166 rmesa->hw.vpi[0].cmd[VPI_SRC0_0 + 4 * i] = vp->instr[i].src0;
1167 rmesa->hw.vpi[0].cmd[VPI_SRC1_0 + 4 * i] = vp->instr[i].src1;
1168 rmesa->hw.vpi[0].cmd[VPI_SRC2_0 + 4 * i] = vp->instr[i].src2;
1175 rmesa->hw.vpi[0].cmd_size = 1 + 4 * ((count > 64) ? 64 : count);
1176 tmp.i = rmesa->hw.vpi[0].cmd[VPI_CMD_0];
1178 rmesa->hw.vpi[0].cmd[VPI_CMD_0] = tmp.i;
1181 rmesa->hw.vpi[1].cmd[VPI_OPDST_0 + 4 * i] = vp->instr[i + 64].op;
1182 rmesa->hw.vpi[1].cmd[VPI_SRC0_0 + 4 * i] = vp->instr[i + 64].src0;
1183 rmesa->hw.vpi[1].cmd[VPI_SRC1_0 + 4 * i] = vp->instr[i + 64].src1;
1184 rmesa->hw.vpi[1].cmd[VPI_SRC2_0 + 4 * i] = vp->instr[i + 64].src2;
1186 rmesa->hw.vpi[1].cmd_size = 1 + 4 * (count - 64);
1187 tmp.i = rmesa->hw.vpi[1].cmd[VPI_CMD_0];
1189 rmesa->hw.vpi[1].cmd[VPI_CMD_0] = tmp.i;