Lines Matching refs:vc4

54         struct vc4_context *vc4 = vc4_context(pctx);
55 vc4->blend_color.f = *blend_color;
57 vc4->blend_color.ub[i] = float_to_ubyte(blend_color->color[i]);
58 vc4->dirty |= VC4_DIRTY_BLEND_COLOR;
65 struct vc4_context *vc4 = vc4_context(pctx);
66 vc4->stencil_ref = stencil_ref;
67 vc4->dirty |= VC4_DIRTY_STENCIL_REF;
74 struct vc4_context *vc4 = vc4_context(pctx);
75 vc4->clip = *clip;
76 vc4->dirty |= VC4_DIRTY_CLIP;
82 struct vc4_context *vc4 = vc4_context(pctx);
83 vc4->sample_mask = sample_mask & ((1 << VC4_MAX_SAMPLES) - 1);
84 vc4->dirty |= VC4_DIRTY_SAMPLE_MASK;
285 struct vc4_context *vc4 = vc4_context(pctx);
286 vc4->stipple = *stipple;
287 vc4->dirty |= VC4_DIRTY_STIPPLE;
296 struct vc4_context *vc4 = vc4_context(pctx);
298 vc4->scissor = *scissor;
299 vc4->dirty |= VC4_DIRTY_SCISSOR;
308 struct vc4_context *vc4 = vc4_context(pctx);
309 vc4->viewport = *viewport;
310 vc4->dirty |= VC4_DIRTY_VIEWPORT;
320 struct vc4_context *vc4 = vc4_context(pctx);
321 struct vc4_vertexbuf_stateobj *so = &vc4->vertexbuf;
329 vc4->dirty |= VC4_DIRTY_VTXBUF;
335 struct vc4_context *vc4 = vc4_context(pctx);
336 vc4->blend = hwcso;
337 vc4->dirty |= VC4_DIRTY_BLEND;
343 struct vc4_context *vc4 = vc4_context(pctx);
346 if (vc4->rasterizer && rast &&
347 vc4->rasterizer->base.flatshade != rast->base.flatshade) {
348 vc4->dirty |= VC4_DIRTY_FLAT_SHADE_FLAGS;
351 vc4->rasterizer = hwcso;
352 vc4->dirty |= VC4_DIRTY_RASTERIZER;
358 struct vc4_context *vc4 = vc4_context(pctx);
359 vc4->zsa = hwcso;
360 vc4->dirty |= VC4_DIRTY_ZSA;
381 struct vc4_context *vc4 = vc4_context(pctx);
382 vc4->vtx = hwcso;
383 vc4->dirty |= VC4_DIRTY_VTXSTATE;
392 struct vc4_context *vc4 = vc4_context(pctx);
393 struct vc4_constbuf_stateobj *so = &vc4->constbuf[shader];
405 vc4->dirty |= VC4_DIRTY_UBO_1_SIZE;
411 vc4->dirty |= VC4_DIRTY_CONSTBUF;
418 struct vc4_context *vc4 = vc4_context(pctx);
419 struct pipe_framebuffer_state *cso = &vc4->framebuffer;
421 vc4->job = NULL;
445 vc4->dirty |= VC4_DIRTY_FRAMEBUFFER;
449 vc4_get_stage_tex(struct vc4_context *vc4, enum pipe_shader_type shader)
453 vc4->dirty |= VC4_DIRTY_FRAGTEX;
454 return &vc4->fragtex;
457 vc4->dirty |= VC4_DIRTY_VERTTEX;
458 return &vc4->verttex;
531 struct vc4_context *vc4 = vc4_context(pctx);
532 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader);
658 struct vc4_context *vc4 = vc4_context(pctx);
659 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader);