Lines Matching refs:hw
105 GLfloat *fcmd = (GLfloat *)&rmesa->hw.vpp[0].cmd[VPP_CMD_0 + 1];
137 fcmd = (GLfloat *)&rmesa->hw.vpp[1].cmd[VPP_CMD_0 + 1];
141 rmesa->hw.vpp[0].cmd_size =
143 tmp.i = rmesa->hw.vpp[0].cmd[VPP_CMD_0];
145 rmesa->hw.vpp[0].cmd[VPP_CMD_0] = tmp.i;
147 rmesa->hw.vpp[1].cmd_size = 1 + 4 * (paramList->NumParameters - 96);
148 tmp.i = rmesa->hw.vpp[1].cmd[VPP_CMD_0];
150 rmesa->hw.vpp[1].cmd[VPP_CMD_0] = tmp.i;
440 /* Initial value should be last tmp reg that hw supports.
481 and 13 in a hw vertex prog.
492 Haven't seen attr 14 used, maybe that's for the hw pointsize vec1 (which is
1100 fprintf(stderr, "hw program:\n");
1117 /* could optimize setting up vertex progs away for non-tcl hw */
1125 rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] |= R200_VAP_PROG_VTX_SHADER_ENABLE /*| R200_VAP_SINGLE_BUF_STATE_ENABLE*/;
1129 rmesa->hw.pvs.cmd[PVS_CNTL_1] = (0 << R200_PVS_CNTL_1_PROGRAM_START_SHIFT) |
1132 rmesa->hw.pvs.cmd[PVS_CNTL_2] = (0 << R200_PVS_CNTL_2_PARAM_OFFSET_SHIFT) |
1139 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] |= (ctx->Transform.ClipPlanesEnabled << 2);
1142 rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] &= ~(0xfc);
1155 rmesa->hw.vpi[0].cmd[VPI_OPDST_0 + 4 * i] = vp->instr[i].op;
1156 rmesa->hw.vpi[0].cmd[VPI_SRC0_0 + 4 * i] = vp->instr[i].src0;
1157 rmesa->hw.vpi[0].cmd[VPI_SRC1_0 + 4 * i] = vp->instr[i].src1;
1158 rmesa->hw.vpi[0].cmd[VPI_SRC2_0 + 4 * i] = vp->instr[i].src2;
1165 rmesa->hw.vpi[0].cmd_size = 1 + 4 * ((count > 64) ? 64 : count);
1166 tmp.i = rmesa->hw.vpi[0].cmd[VPI_CMD_0];
1168 rmesa->hw.vpi[0].cmd[VPI_CMD_0] = tmp.i;
1171 rmesa->hw.vpi[1].cmd[VPI_OPDST_0 + 4 * i] = vp->instr[i + 64].op;
1172 rmesa->hw.vpi[1].cmd[VPI_SRC0_0 + 4 * i] = vp->instr[i + 64].src0;
1173 rmesa->hw.vpi[1].cmd[VPI_SRC1_0 + 4 * i] = vp->instr[i + 64].src1;
1174 rmesa->hw.vpi[1].cmd[VPI_SRC2_0 + 4 * i] = vp->instr[i + 64].src2;
1176 rmesa->hw.vpi[1].cmd_size = 1 + 4 * (count - 64);
1177 tmp.i = rmesa->hw.vpi[1].cmd[VPI_CMD_0];
1179 rmesa->hw.vpi[1].cmd[VPI_CMD_0] = tmp.i;