Searched refs:fd4_ctx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_context.c | 43 struct fd4_context *fd4_ctx = fd4_context(fd_context(pctx)); in fd4_context_destroy() local 45 u_upload_destroy(fd4_ctx->border_color_uploader); in fd4_context_destroy() 46 pipe_resource_reference(&fd4_ctx->border_color_buf, NULL); in fd4_context_destroy() 50 fd_bo_del(fd4_ctx->vs_pvt_mem); in fd4_context_destroy() 51 fd_bo_del(fd4_ctx->fs_pvt_mem); in fd4_context_destroy() 52 fd_bo_del(fd4_ctx->vsc_size_mem); in fd4_context_destroy() 54 fd_context_cleanup_common_vbos(&fd4_ctx->base); in fd4_context_destroy() 58 free(fd4_ctx); in fd4_context_destroy() 76 struct fd4_context *fd4_ctx = CALLOC_STRUCT(fd4_context); in fd4_context_create() local 79 if (!fd4_ctx) in fd4_context_create() [all …]
|
D | fd4_draw.c | 81 struct fd4_context *fd4_ctx = fd4_context(ctx); in fixup_shader_state() local 82 struct ir3_shader_key *last_key = &fd4_ctx->last_key; in fixup_shader_state() 95 fd4_ctx->last_key = *key; in fixup_shader_state() 103 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_draw_vbo() local 115 .has_per_samp = (fd4_ctx->fsaturate || fd4_ctx->vsaturate || in fd4_draw_vbo() 116 fd4_ctx->fastc_srgb || fd4_ctx->vastc_srgb), in fd4_draw_vbo() 117 .vsaturate_s = fd4_ctx->vsaturate_s, in fd4_draw_vbo() 118 .vsaturate_t = fd4_ctx->vsaturate_t, in fd4_draw_vbo() 119 .vsaturate_r = fd4_ctx->vsaturate_r, in fd4_draw_vbo() 120 .fsaturate_s = fd4_ctx->fsaturate_s, in fd4_draw_vbo() [all …]
|
D | fd4_texture.c | 149 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_sampler_states_bind() local 172 fd4_ctx->fsaturate = in fd4_sampler_states_bind() 176 fd4_ctx->fsaturate_s = saturate_s; in fd4_sampler_states_bind() 177 fd4_ctx->fsaturate_t = saturate_t; in fd4_sampler_states_bind() 178 fd4_ctx->fsaturate_r = saturate_r; in fd4_sampler_states_bind() 180 fd4_ctx->vsaturate = in fd4_sampler_states_bind() 184 fd4_ctx->vsaturate_s = saturate_s; in fd4_sampler_states_bind() 185 fd4_ctx->vsaturate_t = saturate_t; in fd4_sampler_states_bind() 186 fd4_ctx->vsaturate_r = saturate_r; in fd4_sampler_states_bind() 327 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_set_sampler_views() local [all …]
|
D | fd4_emit.c | 147 struct fd4_context *fd4_ctx = fd4_context(ctx); in emit_textures() local 252 u_upload_alloc(fd4_ctx->border_color_uploader, in emit_textures() 255 &fd4_ctx->border_color_buf, in emit_textures() 260 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 262 u_upload_unmap(fd4_ctx->border_color_uploader); in emit_textures() 776 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_restore() local 891 OUT_RELOC(ring, fd4_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR */ in fd4_emit_restore() 895 OUT_RELOC(ring, fd4_ctx->fs_pvt_mem, 0,0,0); /* SP_FS_PVT_MEM_ADDR */ in fd4_emit_restore()
|
D | fd4_gmem.c | 554 struct fd4_context *fd4_ctx = fd4_context(ctx); in update_vsc_pipe() local 559 OUT_RELOC(ring, fd4_ctx->vsc_size_mem, 0, 0, 0); /* VSC_SIZE_ADDRESS */ in update_vsc_pipe() 746 struct fd4_context *fd4_ctx = fd4_context(ctx); in fd4_emit_tile_renderprep() local 771 OUT_RELOC(ring, fd4_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd4_emit_tile_renderprep()
|