Searched refs:fd3_ctx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_context.c | 45 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx)); in fd3_context_destroy() local 47 fd_bo_del(fd3_ctx->vs_pvt_mem); in fd3_context_destroy() 48 fd_bo_del(fd3_ctx->fs_pvt_mem); in fd3_context_destroy() 49 fd_bo_del(fd3_ctx->vsc_size_mem); in fd3_context_destroy() 51 fd_context_cleanup_common_vbos(&fd3_ctx->base); in fd3_context_destroy() 53 u_upload_destroy(fd3_ctx->border_color_uploader); in fd3_context_destroy() 75 struct fd3_context *fd3_ctx = CALLOC_STRUCT(fd3_context); in fd3_context_create() local 78 if (!fd3_ctx) in fd3_context_create() 81 pctx = &fd3_ctx->base.base; in fd3_context_create() 83 fd3_ctx->base.dev = fd_device_ref(screen->dev); in fd3_context_create() [all …]
|
D | fd3_draw.c | 99 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() 113 fd3_ctx->last_key = *key; in fixup_shader_state() 121 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_draw_vbo() local 133 .has_per_samp = (fd3_ctx->fsaturate || fd3_ctx->vsaturate), in fd3_draw_vbo() 134 .vsaturate_s = fd3_ctx->vsaturate_s, in fd3_draw_vbo() 135 .vsaturate_t = fd3_ctx->vsaturate_t, in fd3_draw_vbo() 136 .vsaturate_r = fd3_ctx->vsaturate_r, in fd3_draw_vbo() 137 .fsaturate_s = fd3_ctx->fsaturate_s, in fd3_draw_vbo() 138 .fsaturate_t = fd3_ctx->fsaturate_t, in fd3_draw_vbo() [all …]
|
D | fd3_texture.c | 150 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()
|
D | fd3_emit.c | 148 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() 803 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_emit_restore() local 819 OUT_RELOC(ring, fd3_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR_REG */ in fd3_emit_restore() 824 OUT_RELOC(ring, fd3_ctx->fs_pvt_mem, 0,0,0); /* SP_FS_PVT_MEM_ADDR_REG */ in fd3_emit_restore()
|
D | fd3_gmem.c | 773 struct fd3_context *fd3_ctx = fd3_context(ctx); in update_vsc_pipe() local 778 OUT_RELOCW(ring, fd3_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe() 983 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_emit_tile_renderprep() local 1028 OUT_RELOCW(ring, fd3_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd3_emit_tile_renderprep()
|