Home
last modified time | relevance | path

Searched refs:rshader (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2435 struct r600_shader *rshader = &shader->shader; in r600_update_ps_state() local
2449 r600_store_context_reg_seq(cb, R_028644_SPI_PS_INPUT_CNTL_0, rshader->ninput); in r600_update_ps_state()
2450 for (i = 0; i < rshader->ninput; i++) { in r600_update_ps_state()
2451 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in r600_update_ps_state()
2453 if (rshader->input[i].name == TGSI_SEMANTIC_FACE && face_index == -1) in r600_update_ps_state()
2455 if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) in r600_update_ps_state()
2458 sid = rshader->input[i].spi_sid; in r600_update_ps_state()
2463 if (rshader->input[i].name == TGSI_SEMANTIC_COLOR && rshader->input[i].sid == 0) in r600_update_ps_state()
2466 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in r600_update_ps_state()
2467 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in r600_update_ps_state()
[all …]
Devergreen_state.c3242 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()
[all …]