Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2441 struct r600_shader *rshader = &shader->shader; in r600_update_ps_state() local
2462 r600_store_context_reg_seq(cb, R_028644_SPI_PS_INPUT_CNTL_0, rshader->ninput); in r600_update_ps_state()
2463 for (i = 0; i < rshader->ninput; i++) { in r600_update_ps_state()
2464 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in r600_update_ps_state()
2466 if (rshader->input[i].name == TGSI_SEMANTIC_FACE && face_index == -1) in r600_update_ps_state()
2468 if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) in r600_update_ps_state()
2471 sid = rshader->input[i].spi_sid; in r600_update_ps_state()
2476 if (rshader->input[i].name == TGSI_SEMANTIC_COLOR && rshader->input[i].sid == 0) in r600_update_ps_state()
2479 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in r600_update_ps_state()
2480 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in r600_update_ps_state()
[all …]
Devergreen_state.c3317 struct r600_shader *rshader = &shader->shader; in evergreen_update_ps_state() local
3348 for (i = 0; i < rshader->ninput; i++) { in evergreen_update_ps_state()
3351 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in evergreen_update_ps_state()
3353 else if (rshader->input[i].name == TGSI_SEMANTIC_FACE) { in evergreen_update_ps_state()
3357 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEMASK) { in evergreen_update_ps_state()
3361 else if (rshader->input[i].name == TGSI_SEMANTIC_SAMPLEID) { in evergreen_update_ps_state()
3367 rshader->input[i].interpolate, in evergreen_update_ps_state()
3368 rshader->input[i].interpolate_location); in evergreen_update_ps_state()
3373 if (rshader->input[i].uses_interpolate_at_centroid) { in evergreen_update_ps_state()
3375 rshader->input[i].interpolate, in evergreen_update_ps_state()
[all …]