Home | History | Annotate | Download | only in vc5

Lines Matching refs:vc5

57         struct vc5_context *vc5 = vc5_context(pctx);
58 vc5->blend_color.f = *blend_color;
60 vc5->blend_color.hf[i] =
63 vc5->dirty |= VC5_DIRTY_BLEND_COLOR;
70 struct vc5_context *vc5 = vc5_context(pctx);
71 vc5->stencil_ref = *stencil_ref;
72 vc5->dirty |= VC5_DIRTY_STENCIL_REF;
79 struct vc5_context *vc5 = vc5_context(pctx);
80 vc5->clip = *clip;
81 vc5->dirty |= VC5_DIRTY_CLIP;
87 struct vc5_context *vc5 = vc5_context(pctx);
88 vc5->sample_mask = sample_mask & ((1 << VC5_MAX_SAMPLES) - 1);
89 vc5->dirty |= VC5_DIRTY_SAMPLE_MASK;
223 struct vc5_context *vc5 = vc5_context(pctx);
224 vc5->stipple = *stipple;
225 vc5->dirty |= VC5_DIRTY_STIPPLE;
234 struct vc5_context *vc5 = vc5_context(pctx);
236 vc5->scissor = *scissor;
237 vc5->dirty |= VC5_DIRTY_SCISSOR;
246 struct vc5_context *vc5 = vc5_context(pctx);
247 vc5->viewport = *viewport;
248 vc5->dirty |= VC5_DIRTY_VIEWPORT;
256 struct vc5_context *vc5 = vc5_context(pctx);
257 struct vc5_vertexbuf_stateobj *so = &vc5->vertexbuf;
263 vc5->dirty |= VC5_DIRTY_VTXBUF;
269 struct vc5_context *vc5 = vc5_context(pctx);
270 vc5->blend = hwcso;
271 vc5->dirty |= VC5_DIRTY_BLEND;
277 struct vc5_context *vc5 = vc5_context(pctx);
278 vc5->rasterizer = hwcso;
279 vc5->dirty |= VC5_DIRTY_RASTERIZER;
285 struct vc5_context *vc5 = vc5_context(pctx);
286 vc5->zsa = hwcso;
287 vc5->dirty |= VC5_DIRTY_ZSA;
294 struct vc5_context *vc5 = vc5_context(pctx);
369 so->default_attribute_values = vc5_bo_alloc(vc5->screen,
392 struct vc5_context *vc5 = vc5_context(pctx);
393 vc5->vtx = hwcso;
394 vc5->dirty |= VC5_DIRTY_VTXSTATE;
401 struct vc5_context *vc5 = vc5_context(pctx);
402 struct vc5_constbuf_stateobj *so = &vc5->constbuf[shader];
417 vc5->dirty |= VC5_DIRTY_CONSTBUF;
424 struct vc5_context *vc5 = vc5_context(pctx);
425 struct pipe_framebuffer_state *cso = &vc5->framebuffer;
428 vc5->job = NULL;
432 for (; i < vc5->framebuffer.nr_cbufs; i++)
442 vc5->swap_color_rb = 0;
443 vc5->blend_dst_alpha_one = 0;
444 for (int i = 0; i < vc5->framebuffer.nr_cbufs; i++) {
445 struct pipe_surface *cbuf = vc5->framebuffer.cbufs[i];
454 vc5->swap_color_rb |= 1 << i;
458 vc5->blend_dst_alpha_one |= 1 << i;
461 vc5->dirty |= VC5_DIRTY_FRAMEBUFFER;
465 vc5_get_stage_tex(struct vc5_context *vc5, enum pipe_shader_type shader)
469 vc5->dirty |= VC5_DIRTY_FRAGTEX;
470 return &vc5->fragtex;
473 vc5->dirty |= VC5_DIRTY_VERTTEX;
474 return &vc5->verttex;
505 MAYBE_UNUSED struct vc5_context *vc5 = vc5_context(pctx);
518 so->bo = vc5_bo_alloc(vc5->screen, cl_packet_length(SAMPLER_STATE),
592 struct vc5_context *vc5 = vc5_context(pctx);
593 struct vc5_texture_stateobj *stage_tex = vc5_get_stage_tex(vc5, shader);
647 struct vc5_context *vc5 = vc5_context(pctx);
648 struct vc5_screen *screen = vc5->screen;
680 so->bo = vc5_bo_alloc(vc5->screen, cl_packet_length(SAMPLER_STATE),
815 struct vc5_context *vc5 = vc5_context(pctx);
816 struct vc5_texture_stateobj *stage_tex = vc5_get_stage_tex(vc5, shader);