Lines Matching refs:v3d

52         struct v3d_context *v3d = v3d_context(pctx);
53 v3d->blend_color.f = *blend_color;
55 v3d->blend_color.hf[i] =
58 v3d->dirty |= V3D_DIRTY_BLEND_COLOR;
65 struct v3d_context *v3d = v3d_context(pctx);
66 v3d->stencil_ref = stencil_ref;
67 v3d->dirty |= V3D_DIRTY_STENCIL_REF;
74 struct v3d_context *v3d = v3d_context(pctx);
75 v3d->clip = *clip;
76 v3d->dirty |= V3D_DIRTY_CLIP;
82 struct v3d_context *v3d = v3d_context(pctx);
83 v3d->sample_mask = sample_mask & ((1 << V3D_MAX_SAMPLES) - 1);
84 v3d->dirty |= V3D_DIRTY_SAMPLE_STATE;
269 struct v3d_context *v3d = v3d_context(pctx);
270 v3d->stipple = *stipple;
271 v3d->dirty |= V3D_DIRTY_STIPPLE;
280 struct v3d_context *v3d = v3d_context(pctx);
282 v3d->scissor = *scissor;
283 v3d->dirty |= V3D_DIRTY_SCISSOR;
292 struct v3d_context *v3d = v3d_context(pctx);
293 v3d->viewport = *viewport;
294 v3d->dirty |= V3D_DIRTY_VIEWPORT;
304 struct v3d_context *v3d = v3d_context(pctx);
305 struct v3d_vertexbuf_stateobj *so = &v3d->vertexbuf;
313 v3d->dirty |= V3D_DIRTY_VTXBUF;
319 struct v3d_context *v3d = v3d_context(pctx);
320 v3d->blend = hwcso;
321 v3d->dirty |= V3D_DIRTY_BLEND;
327 struct v3d_context *v3d = v3d_context(pctx);
328 v3d->rasterizer = hwcso;
329 v3d->dirty |= V3D_DIRTY_RASTERIZER;
335 struct v3d_context *v3d = v3d_context(pctx);
336 v3d->zsa = hwcso;
337 v3d->dirty |= V3D_DIRTY_ZSA;
344 struct v3d_context *v3d = v3d_context(pctx);
421 u_upload_alloc(v3d->state_uploader, 0,
437 u_upload_unmap(v3d->state_uploader);
453 struct v3d_context *v3d = v3d_context(pctx);
454 v3d->vtx = hwcso;
455 v3d->dirty |= V3D_DIRTY_VTXSTATE;
463 struct v3d_context *v3d = v3d_context(pctx);
464 struct v3d_constbuf_stateobj *so = &v3d->constbuf[shader];
479 v3d->dirty |= V3D_DIRTY_CONSTBUF;
486 struct v3d_context *v3d = v3d_context(pctx);
487 struct pipe_framebuffer_state *cso = &v3d->framebuffer;
489 v3d->job = NULL;
493 v3d->swap_color_rb = 0;
494 v3d->blend_dst_alpha_one = 0;
495 for (int i = 0; i < v3d->framebuffer.nr_cbufs; i++) {
496 struct pipe_surface *cbuf = v3d->framebuffer.cbufs[i];
508 if (v3d->screen->devinfo.ver < 41 && v3d_cbuf->swap_rb)
509 v3d->swap_color_rb |= 1 << i;
512 v3d->blend_dst_alpha_one |= 1 << i;
515 v3d->dirty |= V3D_DIRTY_FRAMEBUFFER;
725 UNUSED struct v3d_context *v3d = v3d_context(pctx);
772 u_upload_alloc(v3d->state_uploader, 0,
807 struct v3d_context *v3d = v3d_context(pctx);
808 struct v3d_texture_stateobj *stage_tex = &v3d->tex[shader];
826 v3d_flag_dirty_sampler_state(v3d, shader);
935 v3dX(create_texture_shader_state_bo)(struct v3d_context *v3d,
941 struct v3d_screen *screen = v3d->screen;
949 so->bo = v3d_bo_alloc(v3d->screen,
1037 struct v3d_context *v3d = v3d_context(pctx);
1038 struct v3d_screen *screen = v3d->screen;
1185 v3d_create_texture_shader_state_bo(v3d, so);
1210 struct v3d_context *v3d = v3d_context(pctx);
1211 struct v3d_texture_stateobj *stage_tex = &v3d->tex[shader];
1236 v3d_create_texture_shader_state_bo(v3d, so);
1246 v3d_flag_dirty_sampler_state(v3d, shader);
1325 struct v3d_context *v3d = v3d_context(pctx);
1326 struct v3d_ssbo_stateobj *so = &v3d->ssbo[shader];
1363 v3d->dirty |= V3D_DIRTY_SSBO;
1367 v3d_create_image_view_texture_shader_state(struct v3d_context *v3d,
1375 u_upload_alloc(v3d->uploader, 0, cl_packet_length(TEXTURE_SHADER_STATE),
1402 tex.texture_type = v3d_get_tex_format(&v3d->screen->devinfo,
1420 struct v3d_context *v3d = v3d_context(pctx);
1421 struct v3d_shaderimg_stateobj *so = &v3d->shaderimg[shader];
1439 v3d_create_image_view_texture_shader_state(v3d,
1462 v3d->dirty |= V3D_DIRTY_SHADER_IMAGE;