Searched refs:rshader (Results 1 – 2 of 2) sorted by relevance
2438 struct r600_shader *rshader = &shader->shader; in r600_update_ps_state() local2452 r600_store_context_reg_seq(cb, R_028644_SPI_PS_INPUT_CNTL_0, rshader->ninput); in r600_update_ps_state()2453 for (i = 0; i < rshader->ninput; i++) { in r600_update_ps_state()2454 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in r600_update_ps_state()2456 if (rshader->input[i].name == TGSI_SEMANTIC_FACE && face_index == -1) in r600_update_ps_state()2458 if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) in r600_update_ps_state()2461 sid = rshader->input[i].spi_sid; in r600_update_ps_state()2466 if (rshader->input[i].name == TGSI_SEMANTIC_COLOR && rshader->input[i].sid == 0) in r600_update_ps_state()2469 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in r600_update_ps_state()2470 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in r600_update_ps_state()[all …]
3319 struct r600_shader *rshader = &shader->shader; in evergreen_update_ps_state() local3343 for (i = 0; i < rshader->ninput; i++) { in evergreen_update_ps_state()3346 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in evergreen_update_ps_state()3348 else if (rshader->input[i].name == TGSI_SEMANTIC_FACE) { in evergreen_update_ps_state()3352 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEMASK) { in evergreen_update_ps_state()3356 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) { in evergreen_update_ps_state()3362 rshader->input[i].interpolate, in evergreen_update_ps_state()3363 rshader->input[i].interpolate_location); in evergreen_update_ps_state()3368 if (rshader->input[i].uses_interpolate_at_centroid) { in evergreen_update_ps_state()3370 rshader->input[i].interpolate, in evergreen_update_ps_state()[all …]