Searched refs:fd3_ctx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_context.c | 43 struct fd3_context *fd3_ctx = fd3_context(fd_context(pctx)); in fd3_context_destroy() local 45 u_upload_destroy(fd3_ctx->border_color_uploader); in fd3_context_destroy() 46 pipe_resource_reference(&fd3_ctx->border_color_buf, NULL); in fd3_context_destroy() 50 fd_bo_del(fd3_ctx->vs_pvt_mem); in fd3_context_destroy() 51 fd_bo_del(fd3_ctx->fs_pvt_mem); in fd3_context_destroy() 52 fd_bo_del(fd3_ctx->vsc_size_mem); in fd3_context_destroy() 54 fd_context_cleanup_common_vbos(&fd3_ctx->base); in fd3_context_destroy() 58 free(fd3_ctx); in fd3_context_destroy() 76 struct fd3_context *fd3_ctx = CALLOC_STRUCT(fd3_context); in fd3_context_create() local 79 if (!fd3_ctx) in fd3_context_create() [all …]
|
D | fd3_draw.c | 97 struct fd3_context *fd3_ctx = fd3_context(ctx); in fixup_shader_state() local 98 struct ir3_shader_key *last_key = &fd3_ctx->last_key; in fixup_shader_state() 111 fd3_ctx->last_key = *key; in fixup_shader_state() 119 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_draw_vbo() local 129 .has_per_samp = (fd3_ctx->fsaturate || fd3_ctx->vsaturate), in fd3_draw_vbo() 130 .vsaturate_s = fd3_ctx->vsaturate_s, in fd3_draw_vbo() 131 .vsaturate_t = fd3_ctx->vsaturate_t, in fd3_draw_vbo() 132 .vsaturate_r = fd3_ctx->vsaturate_r, in fd3_draw_vbo() 133 .fsaturate_s = fd3_ctx->fsaturate_s, in fd3_draw_vbo() 134 .fsaturate_t = fd3_ctx->fsaturate_t, in fd3_draw_vbo() [all …]
|
D | fd3_texture.c | 155 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_sampler_states_bind() local 178 fd3_ctx->fsaturate = in fd3_sampler_states_bind() 182 fd3_ctx->fsaturate_s = saturate_s; in fd3_sampler_states_bind() 183 fd3_ctx->fsaturate_t = saturate_t; in fd3_sampler_states_bind() 184 fd3_ctx->fsaturate_r = saturate_r; in fd3_sampler_states_bind() 186 fd3_ctx->vsaturate = in fd3_sampler_states_bind() 190 fd3_ctx->vsaturate_s = saturate_s; in fd3_sampler_states_bind() 191 fd3_ctx->vsaturate_t = saturate_t; in fd3_sampler_states_bind() 192 fd3_ctx->vsaturate_r = saturate_r; in fd3_sampler_states_bind()
|
D | fd3_emit.c | 167 struct fd3_context *fd3_ctx = fd3_context(ctx); in emit_textures() local 255 u_upload_alloc(fd3_ctx->border_color_uploader, in emit_textures() 258 &fd3_ctx->border_color_buf, in emit_textures() 264 OUT_RELOC(ring, fd_resource(fd3_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 266 u_upload_unmap(fd3_ctx->border_color_uploader); in emit_textures() 833 struct fd3_context *fd3_ctx = fd3_context(ctx); in fd3_emit_restore() local 849 OUT_RELOC(ring, fd3_ctx->vs_pvt_mem, 0,0,0); /* SP_VS_PVT_MEM_ADDR_REG */ in fd3_emit_restore() 854 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 | 767 struct fd3_context *fd3_ctx = fd3_context(ctx); in update_vsc_pipe() local 772 OUT_RELOC(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 1025 OUT_RELOC(ring, fd3_ctx->vsc_size_mem, /* BIN_SIZE_ADDR <- VSC_SIZE_ADDRESS + (p * 4) */ in fd3_emit_tile_renderprep()
|