Home
last modified time | relevance | path

Searched refs:texstate (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c33 struct vc4_texture_stateobj *texstate, in write_texture_p0() argument
37 vc4_sampler_view(texstate->textures[unit]); in write_texture_p0()
46 struct vc4_texture_stateobj *texstate, in write_texture_p1() argument
50 vc4_sampler_view(texstate->textures[unit]); in write_texture_p1()
52 vc4_sampler_state(texstate->samplers[unit]); in write_texture_p1()
60 struct vc4_texture_stateobj *texstate, in write_texture_p2() argument
64 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_p2()
77 struct vc4_texture_stateobj *texstate, in write_texture_first_level() argument
81 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_first_level()
89 struct vc4_texture_stateobj *texstate, in write_texture_msaa_addr() argument
[all …]
Dvc4_context.h479 struct vc4_texture_stateobj *texstate);
Dvc4_program.c2680 struct vc4_texture_stateobj *texstate) in vc4_setup_shared_key() argument
2682 for (int i = 0; i < texstate->num_textures; i++) { in vc4_setup_shared_key()
2683 struct pipe_sampler_view *sampler = texstate->textures[i]; in vc4_setup_shared_key()
2686 texstate->samplers[i]; in vc4_setup_shared_key()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_uniforms.c43 struct vc5_texture_stateobj *texstate,
46 struct pipe_sampler_state *sampler = texstate->samplers[unit];
47 struct pipe_sampler_view *texture = texstate->textures[unit];
108 get_texrect_scale(struct vc5_texture_stateobj *texstate, in get_texrect_scale() argument
112 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texrect_scale()
124 get_texture_size(struct vc5_texture_stateobj *texstate, in get_texture_size() argument
128 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texture_size()
182 struct vc5_texture_stateobj *texstate, in write_texture_p0() argument
186 struct pipe_sampler_state *psampler = texstate->samplers[unit]; in write_texture_p0()
196 struct vc5_texture_stateobj *texstate, in write_texture_p1() argument
[all …]
Dvc5_program.c264 struct vc5_texture_stateobj *texstate) in vc5_setup_shared_key() argument
268 for (int i = 0; i < texstate->num_textures; i++) { in vc5_setup_shared_key()
269 struct pipe_sampler_view *sampler = texstate->textures[i]; in vc5_setup_shared_key()
272 texstate->samplers[i]; in vc5_setup_shared_key()
Dvc5_context.h480 struct vc5_texture_stateobj *texstate);
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c791 struct r300_texture_sampler_state *texstate; in r300_merge_textures_and_samplers() local
816 texstate = &state->regs[i]; in r300_merge_textures_and_samplers()
817 texstate->format = view->format; in r300_merge_textures_and_samplers()
818 texstate->filter0 = sampler->filter0; in r300_merge_textures_and_samplers()
819 texstate->filter1 = sampler->filter1; in r300_merge_textures_and_samplers()
822 texstate->border_color = in r300_merge_textures_and_samplers()
851 &texstate->format); in r300_merge_textures_and_samplers()
852 texstate->format.tile_config |= offset & 0xffffffe0; in r300_merge_textures_and_samplers()
857 texstate->format.format1 |= view->texcache_region; in r300_merge_textures_and_samplers()
879 texstate->format.format1 |= in r300_merge_textures_and_samplers()
[all …]
Dr300_emit.c122 struct r300_textures_state* texstate = r300->textures_state.state; in get_rc_constant_state() local
135 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
143 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
892 struct r300_texture_sampler_state *texstate; in r300_emit_textures_state() local
903 texstate = &allstate->regs[i]; in r300_emit_textures_state()
906 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0); in r300_emit_textures_state()
907 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1); in r300_emit_textures_state()
909 texstate->border_color); in r300_emit_textures_state()
911 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0); in r300_emit_textures_state()
912 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate->format.format1); in r300_emit_textures_state()
[all …]
Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; in get_external_state() local
154 for (i = 0; i < texstate->sampler_state_count; i++) { in get_external_state()
155 struct r300_sampler_state *s = texstate->sampler_states[i]; in get_external_state()
156 struct r300_sampler_view *v = texstate->sampler_views[i]; in get_external_state()
/external/mesa3d/src/mesa/main/
Dattrib.c497 struct texture_state *texstate = CALLOC_STRUCT(texture_state); in _mesa_PushAttrib() local
500 if (!texstate) { in _mesa_PushAttrib()
505 if (!save_attrib_data(&head, GL_TEXTURE_BIT, texstate)) { in _mesa_PushAttrib()
506 free(texstate); in _mesa_PushAttrib()
514 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture)); in _mesa_PushAttrib()
521 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex], in _mesa_PushAttrib()
529 _mesa_copy_texture_object(&texstate->SavedObj[u][tex], in _mesa_PushAttrib()
534 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared); in _mesa_PushAttrib()
754 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) in pop_texture_group() argument
761 const struct gl_texture_unit *unit = &texstate->Texture.Unit[u]; in pop_texture_group()
[all …]
/external/mesa3d/doxygen/
Dcore_subset.doxy97 texstate.h \
/external/mesa3d/src/mesa/
DMakefile.sources245 main/texstate.c \
246 main/texstate.h \
Dmeson.build286 'main/texstate.c',
287 'main/texstate.h',