Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2465 struct r600_shader *rshader = &shader->shader; in r600_pipe_shader_ps() local
2474 for (i = 0; i < rshader->ninput; i++) { in r600_pipe_shader_ps()
2475 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in r600_pipe_shader_ps()
2477 if (rshader->input[i].name == TGSI_SEMANTIC_FACE) in r600_pipe_shader_ps()
2480 sid = rshader->input[i].spi_sid; in r600_pipe_shader_ps()
2484 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in r600_pipe_shader_ps()
2485 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in r600_pipe_shader_ps()
2486 (rshader->input[i].interpolate == TGSI_INTERPOLATE_COLOR && in r600_pipe_shader_ps()
2490 if (rshader->input[i].name == TGSI_SEMANTIC_GENERIC && in r600_pipe_shader_ps()
2491 rctx->sprite_coord_enable & (1 << rshader->input[i].sid)) { in r600_pipe_shader_ps()
[all …]
Devergreen_state.c2971 struct r600_shader *rshader = &shader->shader; in evergreen_pipe_shader_ps() local
2982 for (i = 0; i < rshader->ninput; i++) { in evergreen_pipe_shader_ps()
2985 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) in evergreen_pipe_shader_ps()
2987 else if (rshader->input[i].name == TGSI_SEMANTIC_FACE) in evergreen_pipe_shader_ps()
2991 if (rshader->input[i].interpolate == TGSI_INTERPOLATE_LINEAR) in evergreen_pipe_shader_ps()
2993 if (rshader->input[i].interpolate == TGSI_INTERPOLATE_PERSPECTIVE) in evergreen_pipe_shader_ps()
2995 if (rshader->input[i].centroid) in evergreen_pipe_shader_ps()
2999 sid = rshader->input[i].spi_sid; in evergreen_pipe_shader_ps()
3005 if (rshader->input[i].name == TGSI_SEMANTIC_POSITION || in evergreen_pipe_shader_ps()
3006 rshader->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT || in evergreen_pipe_shader_ps()
[all …]
Dr600_shader.c63 struct r600_shader *rshader = &shader->shader; in r600_pipe_shader() local
70 pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, PIPE_USAGE_IMMUTABLE, rshader->bc.ndw * 4); in r600_pipe_shader()
76 for (i = 0; i < rshader->bc.ndw; ++i) { in r600_pipe_shader()
77 ptr[i] = bswap_32(rshader->bc.bytecode[i]); in r600_pipe_shader()
80 memcpy(ptr, rshader->bc.bytecode, rshader->bc.ndw * sizeof(*ptr)); in r600_pipe_shader()
85 switch (rshader->processor_type) { in r600_pipe_shader()