Lines Matching defs:state
47 static inline void virgl_encoder_write_dword(struct virgl_cmd_buf *state,
50 state->buf[state->cdw++] = dword;
53 static inline void virgl_encoder_write_qword(struct virgl_cmd_buf *state,
56 memcpy(state->buf + state->cdw, &qword, sizeof(uint64_t));
57 state->cdw += 2;
60 static inline void virgl_encoder_write_block(struct virgl_cmd_buf *state,
64 memcpy(state->buf + state->cdw, ptr, len);
66 // fprintf(stderr, "[%d] block %d x is %d\n", state->cdw, len, x);
68 uint8_t *mp = (uint8_t *)(state->buf + state->cdw);
72 state->cdw += (len + 3) / 4;
80 const struct pipe_rasterizer_state *state);
115 const struct pipe_framebuffer_state *state);
151 const struct pipe_sampler_state *state);
155 const struct pipe_sampler_view *state);