Home
last modified time | relevance | path

Searched refs:fd5_ctx (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.c45 struct fd5_context *fd5_ctx = fd5_context(fd_context(pctx)); in fd5_context_destroy() local
47 fd_bo_del(fd5_ctx->vs_pvt_mem); in fd5_context_destroy()
48 fd_bo_del(fd5_ctx->fs_pvt_mem); in fd5_context_destroy()
49 fd_bo_del(fd5_ctx->vsc_size_mem); in fd5_context_destroy()
50 fd_bo_del(fd5_ctx->blit_mem); in fd5_context_destroy()
52 fd_context_cleanup_common_vbos(&fd5_ctx->base); in fd5_context_destroy()
54 u_upload_destroy(fd5_ctx->border_color_uploader); in fd5_context_destroy()
74 struct fd5_context *fd5_ctx = CALLOC_STRUCT(fd5_context); in fd5_context_create() local
77 if (!fd5_ctx) in fd5_context_create()
80 pctx = &fd5_ctx->base.base; in fd5_context_create()
[all …]
Dfd5_draw.c76 struct fd5_context *fd5_ctx = fd5_context(ctx); in fixup_shader_state() local
77 struct ir3_shader_key *last_key = &fd5_ctx->last_key; in fixup_shader_state()
90 fd5_ctx->last_key = *key; in fixup_shader_state()
98 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_draw_vbo() local
112 .has_per_samp = (fd5_ctx->fsaturate || fd5_ctx->vsaturate || in fd5_draw_vbo()
113 fd5_ctx->fastc_srgb || fd5_ctx->vastc_srgb), in fd5_draw_vbo()
114 .vsaturate_s = fd5_ctx->vsaturate_s, in fd5_draw_vbo()
115 .vsaturate_t = fd5_ctx->vsaturate_t, in fd5_draw_vbo()
116 .vsaturate_r = fd5_ctx->vsaturate_r, in fd5_draw_vbo()
117 .fsaturate_s = fd5_ctx->fsaturate_s, in fd5_draw_vbo()
[all …]
Dfd5_texture.c148 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_sampler_states_bind() local
171 fd5_ctx->fsaturate = in fd5_sampler_states_bind()
175 fd5_ctx->fsaturate_s = saturate_s; in fd5_sampler_states_bind()
176 fd5_ctx->fsaturate_t = saturate_t; in fd5_sampler_states_bind()
177 fd5_ctx->fsaturate_r = saturate_r; in fd5_sampler_states_bind()
179 fd5_ctx->vsaturate = in fd5_sampler_states_bind()
183 fd5_ctx->vsaturate_s = saturate_s; in fd5_sampler_states_bind()
184 fd5_ctx->vsaturate_t = saturate_t; in fd5_sampler_states_bind()
185 fd5_ctx->vsaturate_r = saturate_r; in fd5_sampler_states_bind()
317 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_set_sampler_views() local
[all …]
Dfd5_emit.h132 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_emit_blit() local
138 OUT_RELOCW(ring, fd5_ctx->blit_mem, 0, 0, 0); /* ADDR_LO/HI */ in fd5_emit_blit()
Dfd5_gmem.c265 struct fd5_context *fd5_ctx = fd5_context(ctx); in update_vsc_pipe() local
273 OUT_RELOCW(ring, fd5_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS_LO/HI */ in update_vsc_pipe()
419 struct fd5_context *fd5_ctx = fd5_context(ctx); in fd5_emit_tile_prep() local
451 OUT_RELOC(ring, fd5_ctx->vsc_size_mem, /* VSC_SIZE_ADDRESS + (p * 4) */ in fd5_emit_tile_prep()
765 struct fd5_context *fd5_ctx = fd5_context(batch->ctx); in fd5_emit_sysmem_fini() local
775 OUT_RELOCW(ring, fd5_ctx->blit_mem, 0, 0, 0); /* ADDR_LO/HI */ in fd5_emit_sysmem_fini()
Dfd5_emit.c266 struct fd5_context *fd5_ctx = fd5_context(ctx); in emit_border_color() local
273 u_upload_alloc(fd5_ctx->border_color_uploader, in emit_border_color()
276 &fd5_ctx->border_color_buf, in emit_border_color()
286 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color()
288 u_upload_unmap(fd5_ctx->border_color_uploader); in emit_border_color()