Lines Matching refs:rs_state
551 struct pipe_rasterizer_state *rs_state; in vrend_decode_create_rasterizer() local
557 rs_state = CALLOC_STRUCT(pipe_rasterizer_state); in vrend_decode_create_rasterizer()
558 if (!rs_state) in vrend_decode_create_rasterizer()
562 #define ebit(name, bit) rs_state->name = (tmp >> bit) & 0x1 in vrend_decode_create_rasterizer()
563 #define emask(name, bit, mask) rs_state->name = (tmp >> bit) & mask in vrend_decode_create_rasterizer()
594 rs_state->point_size = uif(get_buf_entry(buf, VIRGL_OBJ_RS_POINT_SIZE)); in vrend_decode_create_rasterizer()
595 rs_state->sprite_coord_enable = get_buf_entry(buf, VIRGL_OBJ_RS_SPRITE_COORD_ENABLE); in vrend_decode_create_rasterizer()
601 rs_state->line_width = uif(get_buf_entry(buf, VIRGL_OBJ_RS_LINE_WIDTH)); in vrend_decode_create_rasterizer()
602 rs_state->offset_units = uif(get_buf_entry(buf, VIRGL_OBJ_RS_OFFSET_UNITS)); in vrend_decode_create_rasterizer()
603 rs_state->offset_scale = uif(get_buf_entry(buf, VIRGL_OBJ_RS_OFFSET_SCALE)); in vrend_decode_create_rasterizer()
604 rs_state->offset_clamp = uif(get_buf_entry(buf, VIRGL_OBJ_RS_OFFSET_CLAMP)); in vrend_decode_create_rasterizer()
606 tmp = vrend_renderer_object_insert(ctx, rs_state, handle, in vrend_decode_create_rasterizer()
609 FREE(rs_state); in vrend_decode_create_rasterizer()