Home | History | Annotate | Download | only in r600

Lines Matching refs:rshader

2971 	struct r600_shader *rshader = &shader->shader;
2982 for (i = 0; i < rshader->ninput; i++) {
2985 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION)
2987 else if (rshader->input[i].name == TGSI_SEMANTIC_FACE)
2991 if (rshader->input[i].interpolate == TGSI_INTERPOLATE_LINEAR)
2993 if (rshader->input[i].interpolate == TGSI_INTERPOLATE_PERSPECTIVE)
2995 if (rshader->input[i].centroid)
2999 sid = rshader->input[i].spi_sid;
3005 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION ||
3006 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT ||
3007 (rshader->input[i].interpolate == TGSI_INTERPOLATE_COLOR &&
3012 if (rshader->input[i].name == TGSI_SEMANTIC_GENERIC &&
3013 (rctx->sprite_coord_enable & (1 << rshader->input[i].sid))) {
3024 for (i = 0; i < rshader->noutput; i++) {
3025 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION)
3027 if (rshader->output[i].name == TGSI_SEMANTIC_STENCIL)
3030 if (rshader->uses_kill)
3037 for (i = 0; i < rshader->noutput; i++) {
3038 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION ||
3039 rshader->output[i].name == TGSI_SEMANTIC_STENCIL)
3043 num_cout = rshader->nr_ps_color_exports;
3065 S_0286CC_POSITION_CENTROID(rshader->input[pos_index].centroid) |
3066 S_0286CC_POSITION_ADDR(rshader->input[pos_index].gpr);
3073 S_0286D0_FRONT_FACE_ADDR(rshader->input[face_index].gpr);
3101 S_028844_NUM_GPRS(rshader->bc.ngpr) |
3103 S_028844_STACK_SIZE(rshader->bc.nstack));
3120 struct r600_shader *rshader = &shader->shader;
3127 for (i = 0; i < rshader->noutput; i++) {
3128 if (rshader->output[i].spi_sid) {
3129 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8);
3153 S_028860_NUM_GPRS(rshader->bc.ngpr) |
3154 S_028860_STACK_SIZE(rshader->bc.nstack));
3161 S_02881C_VS_OUT_CCDIST0_VEC_ENA((rshader->clip_dist_write & 0x0F) != 0) |
3162 S_02881C_VS_OUT_CCDIST1_VEC_ENA((rshader->clip_dist_write & 0xF0) != 0) |
3163 S_02881C_VS_OUT_MISC_VEC_ENA(rshader->vs_out_misc_write) |
3164 S_02881C_USE_VTX_POINT_SIZE(rshader->vs_out_point_size);