Searched refs:texstate (Results 1 - 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c33 struct vc4_texture_stateobj *texstate,
37 vc4_sampler_view(texstate->textures[unit]);
46 struct vc4_texture_stateobj *texstate,
50 vc4_sampler_view(texstate->textures[unit]);
52 vc4_sampler_state(texstate->samplers[unit]);
60 struct vc4_texture_stateobj *texstate,
64 struct pipe_sampler_view *texture = texstate->textures[unit];
77 struct vc4_texture_stateobj *texstate,
81 struct pipe_sampler_view *texture = texstate->textures[unit];
89 struct vc4_texture_stateobj *texstate,
31 write_texture_p0(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t unit) argument
44 write_texture_p1(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t unit) argument
58 write_texture_p2(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t data) argument
75 write_texture_first_level(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t data) argument
87 write_texture_msaa_addr(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t unit) argument
107 write_texture_border_color(struct vc4_job *job, struct vc4_cl_out **uniforms, struct vc4_texture_stateobj *texstate, uint32_t unit) argument
173 get_texrect_scale(struct vc4_texture_stateobj *texstate, enum quniform_contents contents, uint32_t data) argument
209 vc4_write_uniforms(struct vc4_context *vc4, struct vc4_compiled_shader *shader, struct vc4_constbuf_stateobj *cb, struct vc4_texture_stateobj *texstate) argument
[all...]
H A Dvc4_context.h471 struct vc4_texture_stateobj *texstate);
H A Dvc4_program.c2632 struct vc4_texture_stateobj *texstate)
2634 for (int i = 0; i < texstate->num_textures; i++) {
2635 struct pipe_sampler_view *sampler = texstate->textures[i];
2638 texstate->samplers[i];
2631 vc4_setup_shared_key(struct vc4_context *vc4, struct vc4_key *key, struct vc4_texture_stateobj *texstate) argument
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_state_derived.c791 struct r300_texture_sampler_state *texstate; local
816 texstate = &state->regs[i];
817 texstate->format = view->format;
818 texstate->filter0 = sampler->filter0;
819 texstate->filter1 = sampler->filter1;
822 texstate->border_color =
851 &texstate->format);
852 texstate->format.tile_config |= offset & 0xffffffe0;
857 texstate->format.format1 |= view->texcache_region;
879 texstate
[all...]
H A Dr300_emit.c123 struct r300_textures_state* texstate = r300->textures_state.state; local
136 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
144 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
893 struct r300_texture_sampler_state *texstate; local
904 texstate = &allstate->regs[i];
907 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0);
908 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1);
910 texstate->border_color);
912 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0);
913 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate
1309 struct r300_textures_state *texstate = local
[all...]
H A Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; local
154 for (i = 0; i < texstate->sampler_state_count; i++) {
155 struct r300_sampler_state *s = texstate->sampler_states[i];
156 struct r300_sampler_view *v = texstate->sampler_views[i];
/external/mesa3d/src/mesa/main/
H A Dattrib.c55 #include "texstate.h"
497 struct texture_state *texstate = CALLOC_STRUCT(texture_state); local
500 if (!texstate) {
505 if (!save_attrib_data(&head, GL_TEXTURE_BIT, texstate)) {
506 free(texstate);
514 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture));
521 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex],
529 _mesa_copy_texture_object(&texstate->SavedObj[u][tex],
534 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared);
754 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) argument
1385 struct texture_state *texstate local
1791 struct texture_state *texstate = (struct texture_state*)attr->data; local
[all...]
/external/mesa3d/src/mesa/
H A DMakefile.sources229 main/texstate.c \
230 main/texstate.h \

Completed in 438 milliseconds