Home | History | Annotate | Download | only in r300

Lines Matching defs:rs

1071  * with the actual block on the Radeon called the rasterizer (RS). */
1075 struct r300_rs_state* rs = CALLOC_STRUCT(r300_rs_state);
1099 rs->rs = *state;
1100 rs->rs_draw = *state;
1102 rs->rs.sprite_coord_enable = state->point_quad_rasterization *
1106 rs->rs_draw.sprite_coord_enable = 0; /* We can do this in HW. */
1107 rs->rs_draw.offset_point = 0;
1108 rs->rs_draw.offset_line = 0;
1109 rs->rs_draw.offset_tri = 0;
1110 rs->rs_draw.offset_clamp = 0;
1173 rs->polygon_offset_enable = polygon_offset_enable != 0;
1203 rs->color_control = R300_SHADE_MODEL_FLAT;
1205 rs->color_control = R300_SHADE_MODEL_SMOOTH;
1211 if (rs->rs.sprite_coord_enable) {
1238 BEGIN_CB(rs->cb_main, RS_STATE_MAIN_SIZE);
1247 rs->cull_mode_index = 11;
1266 BEGIN_CB(rs->cb_poly_offset_zb16, 5);
1276 BEGIN_CB(rs->cb_poly_offset_zb24, 5);
1285 return (void*)rs;
1292 struct r300_rs_state* rs = (struct r300_rs_state*)state;
1296 if (r300->draw && rs) {
1297 draw_set_rasterizer_state(r300->draw, &rs->rs_draw, state);
1300 if (rs) {
1301 r300->polygon_offset_enabled = rs->polygon_offset_enable;
1302 r300->sprite_coord_enable = rs->rs.sprite_coord_enable;
1303 r300->two_sided_color = rs->rs.light_twoside;
1866 /* The majority of the RS block bits is dependent on the vertex shader. */