• Home
  • Raw
  • Download

Lines Matching refs:rshader

3242 	struct r600_shader *rshader = &shader->shader;  in evergreen_update_ps_state()  local
3266 for (i = 0; i < rshader->ninput; i++) { in evergreen_update_ps_state()
3269 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in evergreen_update_ps_state()
3271 else if (rshader->input[i].name == TGSI_SEMANTIC_FACE) { in evergreen_update_ps_state()
3275 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEMASK) { in evergreen_update_ps_state()
3279 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) { in evergreen_update_ps_state()
3285 rshader->input[i].interpolate, in evergreen_update_ps_state()
3286 rshader->input[i].interpolate_location); in evergreen_update_ps_state()
3294 sid = rshader->input[i].spi_sid; in evergreen_update_ps_state()
3300 if (rshader->input[i].name == TGSI_SEMANTIC_COLOR && rshader->input[i].sid == 0) in evergreen_update_ps_state()
3303 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in evergreen_update_ps_state()
3304 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in evergreen_update_ps_state()
3305 (rshader->input[i].interpolate == TGSI_INTERPOLATE_COLOR && in evergreen_update_ps_state()
3310 if (rshader->input[i].name == TGSI_SEMANTIC_GENERIC && in evergreen_update_ps_state()
3311 (sprite_coord_enable & (1 << rshader->input[i].sid))) { in evergreen_update_ps_state()
3322 for (i = 0; i < rshader->noutput; i++) { in evergreen_update_ps_state()
3323 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION) in evergreen_update_ps_state()
3325 if (rshader->output[i].name == TGSI_SEMANTIC_STENCIL) in evergreen_update_ps_state()
3327 if (rshader->output[i].name == TGSI_SEMANTIC_SAMPLEMASK && in evergreen_update_ps_state()
3331 if (rshader->uses_kill) in evergreen_update_ps_state()
3345 switch (rshader->ps_conservative_z) { in evergreen_update_ps_state()
3359 for (i = 0; i < rshader->noutput; i++) { in evergreen_update_ps_state()
3360 if (rshader->output[i].name == TGSI_SEMANTIC_POSITION || in evergreen_update_ps_state()
3361 rshader->output[i].name == TGSI_SEMANTIC_STENCIL || in evergreen_update_ps_state()
3362 rshader->output[i].name == TGSI_SEMANTIC_SAMPLEMASK) in evergreen_update_ps_state()
3366 num_cout = rshader->nr_ps_color_exports; in evergreen_update_ps_state()
3390 …S_0286CC_POSITION_CENTROID(rshader->input[pos_index].interpolate_location == TGSI_INTERPOLATE_LOC_… in evergreen_update_ps_state()
3391 S_0286CC_POSITION_ADDR(rshader->input[pos_index].gpr); in evergreen_update_ps_state()
3398 S_0286D0_FRONT_FACE_ADDR(rshader->input[face_index].gpr); in evergreen_update_ps_state()
3402 S_0286D0_FIXED_PT_POSITION_ADDR(rshader->input[fixed_pt_position_index].gpr); in evergreen_update_ps_state()
3416 S_028844_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_ps_state()
3419 S_028844_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_ps_state()
3433 struct r600_shader *rshader = &shader->shader; in evergreen_update_es_state() local
3438 S_028890_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_es_state()
3440 S_028890_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_es_state()
3450 struct r600_shader *rshader = &shader->shader; in evergreen_update_gs_state() local
3481 (rshader->ring_item_sizes[0]) >> 2); in evergreen_update_gs_state()
3501 S_028878_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_gs_state()
3503 S_028878_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_gs_state()
3513 struct r600_shader *rshader = &shader->shader; in evergreen_update_vs_state() local
3517 for (i = 0; i < rshader->noutput; i++) { in evergreen_update_vs_state()
3518 if (rshader->output[i].spi_sid) { in evergreen_update_vs_state()
3519 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in evergreen_update_vs_state()
3542 S_028860_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_vs_state()
3544 S_028860_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_vs_state()
3545 if (rshader->vs_position_window_space) { in evergreen_update_vs_state()
3561 S_02881C_VS_OUT_CCDIST0_VEC_ENA((rshader->cc_dist_mask & 0x0F) != 0) | in evergreen_update_vs_state()
3562 S_02881C_VS_OUT_CCDIST1_VEC_ENA((rshader->cc_dist_mask & 0xF0) != 0) | in evergreen_update_vs_state()
3563 S_02881C_VS_OUT_MISC_VEC_ENA(rshader->vs_out_misc_write) | in evergreen_update_vs_state()
3564 S_02881C_USE_VTX_POINT_SIZE(rshader->vs_out_point_size) | in evergreen_update_vs_state()
3565 S_02881C_USE_VTX_EDGE_FLAG(rshader->vs_out_edgeflag) | in evergreen_update_vs_state()
3566 S_02881C_USE_VTX_VIEWPORT_INDX(rshader->vs_out_viewport) | in evergreen_update_vs_state()
3567 S_02881C_USE_VTX_RENDER_TARGET_INDX(rshader->vs_out_layer); in evergreen_update_vs_state()
3573 struct r600_shader *rshader = &shader->shader; in evergreen_update_hs_state() local
3577 S_0288BC_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_hs_state()
3579 S_0288BC_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_hs_state()
3587 struct r600_shader *rshader = &shader->shader; in evergreen_update_ls_state() local
3591 S_0288D4_NUM_GPRS(rshader->bc.ngpr) | in evergreen_update_ls_state()
3593 S_0288D4_STACK_SIZE(rshader->bc.nstack)); in evergreen_update_ls_state()