Home
last modified time | relevance | path

Searched refs:fd3_ctx (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_context.c44 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx)); in fd3_context_destroy() local
46 fd_bo_del(fd3_ctx->vs_pvt_mem); in fd3_context_destroy()
47 fd_bo_del(fd3_ctx->fs_pvt_mem); in fd3_context_destroy()
48 fd_bo_del(fd3_ctx->vsc_size_mem); in fd3_context_destroy()
50 fd_context_cleanup_common_vbos(&fd3_ctx->base); in fd3_context_destroy()
52 u_upload_destroy(fd3_ctx->border_color_uploader); in fd3_context_destroy()
72 struct fd3_context *fd3_ctx = CALLOC_STRUCT(fd3_context); in fd3_context_create() local
75 if (!fd3_ctx) in fd3_context_create()
78 pctx = &fd3_ctx->base.base; in fd3_context_create()
80 fd3_ctx->base.dev = fd_device_ref(screen->dev); in fd3_context_create()
[all …]
Dfd3_draw.c99 struct fd3_context *fd3_ctx = fd3_context(ctx); in fixup_shader_state() local
100 struct ir3_shader_key *last_key = &fd3_ctx->last_key; in fixup_shader_state()
130 fd3_ctx->last_key = *key; in fixup_shader_state()
137 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_draw_vbo() local
149 .has_per_samp = (fd3_ctx->fsaturate || fd3_ctx->vsaturate), in fd3_draw_vbo()
150 .vsaturate_s = fd3_ctx->vsaturate_s, in fd3_draw_vbo()
151 .vsaturate_t = fd3_ctx->vsaturate_t, in fd3_draw_vbo()
152 .vsaturate_r = fd3_ctx->vsaturate_r, in fd3_draw_vbo()
153 .fsaturate_s = fd3_ctx->fsaturate_s, in fd3_draw_vbo()
154 .fsaturate_t = fd3_ctx->fsaturate_t, in fd3_draw_vbo()
[all …]
Dfd3_texture.c150 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_sampler_states_bind() local
173 fd3_ctx->fsaturate = in fd3_sampler_states_bind()
177 fd3_ctx->fsaturate_s = saturate_s; in fd3_sampler_states_bind()
178 fd3_ctx->fsaturate_t = saturate_t; in fd3_sampler_states_bind()
179 fd3_ctx->fsaturate_r = saturate_r; in fd3_sampler_states_bind()
181 fd3_ctx->vsaturate = in fd3_sampler_states_bind()
185 fd3_ctx->vsaturate_s = saturate_s; in fd3_sampler_states_bind()
186 fd3_ctx->vsaturate_t = saturate_t; in fd3_sampler_states_bind()
187 fd3_ctx->vsaturate_r = saturate_r; in fd3_sampler_states_bind()
Dfd3_emit.c148 struct fd3_context *fd3_ctx = fd3_context(ctx); in emit_textures() local
237 u_upload_alloc(fd3_ctx->border_color_uploader, in emit_textures()
240 &fd3_ctx->border_color_buf, in emit_textures()
246 OUT_RELOC(ring, fd_resource(fd3_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures()
248 u_upload_unmap(fd3_ctx->border_color_uploader); in emit_textures()
813 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_emit_restore() local
829 OUT_RELOC(ring, fd3_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR_REG */ in fd3_emit_restore()
834 OUT_RELOC(ring, fd3_ctx->fs_pvt_mem, 0,0,0); /* SP_FS_PVT_MEM_ADDR_REG */ in fd3_emit_restore()
Dfd3_gmem.c767 struct fd3_context *fd3_ctx = fd3_context(ctx); in update_vsc_pipe() local
772 OUT_RELOCW(ring, fd3_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe()
977 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_emit_tile_renderprep() local
1022 OUT_RELOCW(ring, fd3_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd3_emit_tile_renderprep()