Lines Matching full:rshader
2465 struct r600_shader *rshader = &shader->shader;
2474 for (i = 0; i < rshader->ninput; i++) {
2475 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION)
2477 if (rshader->input[i].name == TGSI_SEMANTIC_FACE)
2480 sid = rshader->input[i].spi_sid;
2484 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION ||
2485 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT ||
2486 (rshader->input[i].interpolate == TGSI_INTERPOLATE_COLOR &&
2490 if (rshader->input[i].name == TGSI_SEMANTIC_GENERIC &&
2491 rctx->sprite_coord_enable & (1 << rshader->input[i].sid)) {
2495 if (rshader->input[i].centroid)
2498 if (rshader->input[i].interpolate == TGSI_INTERPOLATE_LINEAR) {
2508 for (i = 0; i < rshader->noutput; i++) {
2509 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION)
2511 if (rshader->output[i].name == TGSI_SEMANTIC_STENCIL)
2516 if (rshader->uses_kill)
2520 for (i = 0; i < rshader->noutput; i++) {
2521 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION ||
2522 rshader->output[i].name == TGSI_SEMANTIC_STENCIL) {
2526 num_cout = rshader->nr_ps_color_exports;
2535 spi_ps_in_control_0 = S_0286CC_NUM_INTERP(rshader->ninput) |
2541 S_0286CC_POSITION_CENTROID(rshader->input[pos_index].centroid) |
2542 S_0286CC_POSITION_ADDR(rshader->input[pos_index].gpr) |
2550 S_0286D0_FRONT_FACE_ADDR(rshader->input[face_index].gpr);
2565 S_028850_NUM_GPRS(rshader->bc.ngpr) |
2566 S_028850_STACK_SIZE(rshader->bc.nstack) |
2584 struct r600_shader *rshader = &shader->shader;
2591 for (i = 0; i < rshader->noutput; i++) {
2592 if (rshader->output[i].spi_sid) {
2593 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8);
2617 S_028868_NUM_GPRS(rshader->bc.ngpr) |
2618 S_028868_STACK_SIZE(rshader->bc.nstack));
2624 S_02881C_VS_OUT_CCDIST0_VEC_ENA((rshader->clip_dist_write & 0x0F) != 0) |
2625 S_02881C_VS_OUT_CCDIST1_VEC_ENA((rshader->clip_dist_write & 0xF0) != 0) |
2626 S_02881C_VS_OUT_MISC_VEC_ENA(rshader->vs_out_misc_write) |
2627 S_02881C_USE_VTX_POINT_SIZE(rshader->vs_out_point_size);