Searched refs:fd4_ctx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_context.c | 44 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy() local 46 fd_bo_del(fd4_ctx->vs_pvt_mem); in fd4_context_destroy() 47 fd_bo_del(fd4_ctx->fs_pvt_mem); in fd4_context_destroy() 48 fd_bo_del(fd4_ctx->vsc_size_mem); in fd4_context_destroy() 50 fd_context_cleanup_common_vbos(&fd4_ctx->base); in fd4_context_destroy() 52 u_upload_destroy(fd4_ctx->border_color_uploader); in fd4_context_destroy() 72 struct fd4_context *fd4_ctx = CALLOC_STRUCT(fd4_context); in fd4_context_create() local 75 if (!fd4_ctx) in fd4_context_create() 78 pctx = &fd4_ctx->base.base; in fd4_context_create() 80 fd4_ctx->base.dev = fd_device_ref(screen->dev); in fd4_context_create() [all …]
|
D | fd4_draw.c | 83 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() 119 fd4_ctx->last_key = *key; in fixup_shader_state() 126 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_draw_vbo() local 140 .has_per_samp = (fd4_ctx->fsaturate || fd4_ctx->vsaturate || in fd4_draw_vbo() 141 fd4_ctx->fastc_srgb || fd4_ctx->vastc_srgb), in fd4_draw_vbo() 142 .vsaturate_s = fd4_ctx->vsaturate_s, in fd4_draw_vbo() 143 .vsaturate_t = fd4_ctx->vsaturate_t, in fd4_draw_vbo() 144 .vsaturate_r = fd4_ctx->vsaturate_r, in fd4_draw_vbo() 145 .fsaturate_s = fd4_ctx->fsaturate_s, in fd4_draw_vbo() [all …]
|
D | fd4_texture.c | 151 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() 316 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_set_sampler_views() local [all …]
|
D | fd4_emit.c | 137 struct fd4_context *fd4_ctx = fd4_context(ctx); in emit_textures() local 240 u_upload_alloc(fd4_ctx->border_color_uploader, in emit_textures() 243 &fd4_ctx->border_color_buf, in emit_textures() 248 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 250 u_upload_unmap(fd4_ctx->border_color_uploader); in emit_textures() 772 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_restore() local 887 OUT_RELOC(ring, fd4_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR */ in fd4_emit_restore() 891 OUT_RELOC(ring, fd4_ctx->fs_pvt_mem, 0,0,0); /* SP_FS_PVT_MEM_ADDR */ in fd4_emit_restore()
|
D | fd4_gmem.c | 562 struct fd4_context *fd4_ctx = fd4_context(ctx); in update_vsc_pipe() local 567 OUT_RELOCW(ring, fd4_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe() 758 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_tile_renderprep() local 782 OUT_RELOCW(ring, fd4_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd4_emit_tile_renderprep()
|