Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_context.c45 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy() local
47 fd_bo_del(fd4_ctx->vs_pvt_mem); in fd4_context_destroy()
48 fd_bo_del(fd4_ctx->fs_pvt_mem); in fd4_context_destroy()
49 fd_bo_del(fd4_ctx->vsc_size_mem); in fd4_context_destroy()
51 fd_context_cleanup_common_vbos(&fd4_ctx->base); in fd4_context_destroy()
53 u_upload_destroy(fd4_ctx->border_color_uploader); in fd4_context_destroy()
75 struct fd4_context *fd4_ctx = CALLOC_STRUCT(fd4_context); in fd4_context_create() local
78 if (!fd4_ctx) in fd4_context_create()
81 pctx = &fd4_ctx->base.base; in fd4_context_create()
83 fd4_ctx->base.dev = fd_device_ref(screen->dev); in fd4_context_create()
[all …]
Dfd4_draw.c83 struct fd4_context *fd4_ctx = fd4_context(ctx); in fixup_shader_state() local
84 struct ir3_shader_key *last_key = &fd4_ctx->last_key; in fixup_shader_state()
97 fd4_ctx->last_key = *key; in fixup_shader_state()
105 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_draw_vbo() local
119 .has_per_samp = (fd4_ctx->fsaturate || fd4_ctx->vsaturate || in fd4_draw_vbo()
120 fd4_ctx->fastc_srgb || fd4_ctx->vastc_srgb), in fd4_draw_vbo()
121 .vsaturate_s = fd4_ctx->vsaturate_s, in fd4_draw_vbo()
122 .vsaturate_t = fd4_ctx->vsaturate_t, in fd4_draw_vbo()
123 .vsaturate_r = fd4_ctx->vsaturate_r, in fd4_draw_vbo()
124 .fsaturate_s = fd4_ctx->fsaturate_s, in fd4_draw_vbo()
[all …]
Dfd4_texture.c151 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_sampler_states_bind() local
174 fd4_ctx->fsaturate = in fd4_sampler_states_bind()
178 fd4_ctx->fsaturate_s = saturate_s; in fd4_sampler_states_bind()
179 fd4_ctx->fsaturate_t = saturate_t; in fd4_sampler_states_bind()
180 fd4_ctx->fsaturate_r = saturate_r; in fd4_sampler_states_bind()
182 fd4_ctx->vsaturate = in fd4_sampler_states_bind()
186 fd4_ctx->vsaturate_s = saturate_s; in fd4_sampler_states_bind()
187 fd4_ctx->vsaturate_t = saturate_t; in fd4_sampler_states_bind()
188 fd4_ctx->vsaturate_r = saturate_r; in fd4_sampler_states_bind()
334 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_set_sampler_views() local
[all …]
Dfd4_emit.c132 struct fd4_context *fd4_ctx = fd4_context(ctx); in emit_textures() local
237 u_upload_alloc(fd4_ctx->border_color_uploader, in emit_textures()
240 &fd4_ctx->border_color_buf, in emit_textures()
245 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures()
247 u_upload_unmap(fd4_ctx->border_color_uploader); in emit_textures()
759 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_restore() local
874 OUT_RELOC(ring, fd4_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR */ in fd4_emit_restore()
878 OUT_RELOC(ring, fd4_ctx->fs_pvt_mem, 0,0,0); /* SP_FS_PVT_MEM_ADDR */ in fd4_emit_restore()
Dfd4_gmem.c563 struct fd4_context *fd4_ctx = fd4_context(ctx); in update_vsc_pipe() local
568 OUT_RELOCW(ring, fd4_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe()
759 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_tile_renderprep() local
783 OUT_RELOCW(ring, fd4_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd4_emit_tile_renderprep()