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.c34 struct vc4_texture_stateobj *texstate, in write_texture_p0() argument
38 vc4_sampler_view(texstate->textures[unit]); in write_texture_p0()
47 struct vc4_texture_stateobj *texstate, in write_texture_p1() argument
51 vc4_sampler_view(texstate->textures[unit]); in write_texture_p1()
53 vc4_sampler_state(texstate->samplers[unit]); in write_texture_p1()
61 struct vc4_texture_stateobj *texstate, in write_texture_p2() argument
65 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_p2()
78 struct vc4_texture_stateobj *texstate, in write_texture_first_level() argument
82 struct pipe_sampler_view *texture = texstate->textures[unit]; in write_texture_first_level()
90 struct vc4_texture_stateobj *texstate, in write_texture_msaa_addr() argument
[all …]
Dvc4_context.h486 struct vc4_texture_stateobj *texstate);
Dvc4_program.c2663 struct vc4_texture_stateobj *texstate) in vc4_setup_shared_key() argument
2665 for (int i = 0; i < texstate->num_textures; i++) { in vc4_setup_shared_key()
2666 struct pipe_sampler_view *sampler = texstate->textures[i]; in vc4_setup_shared_key()
2669 texstate->samplers[i]; in vc4_setup_shared_key()
/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()
895 struct r300_texture_sampler_state *texstate; in r300_emit_textures_state() local
906 texstate = &allstate->regs[i]; in r300_emit_textures_state()
909 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0); in r300_emit_textures_state()
910 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1); in r300_emit_textures_state()
912 texstate->border_color); in r300_emit_textures_state()
914 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0); in r300_emit_textures_state()
915 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/gallium/drivers/v3d/
Dv3d_uniforms.c33 get_texrect_scale(struct v3d_texture_stateobj *texstate, in get_texrect_scale() argument
37 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texrect_scale()
49 get_texture_size(struct v3d_texture_stateobj *texstate, in get_texture_size() argument
53 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texture_size()
109 struct v3d_texture_stateobj *texstate, in write_texture_p0() argument
113 struct pipe_sampler_state *psampler = texstate->samplers[unit]; in write_texture_p0()
123 struct v3d_texture_stateobj *texstate, in write_texture_p1() argument
132 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_texture_p1()
136 .texture_state_record_base_address = texstate->texture_state[unit], in write_texture_p1()
151 struct v3d_texture_stateobj *texstate, in write_tmu_p0() argument
[all …]
Dv3d_program.c444 struct v3d_texture_stateobj *texstate) in v3d_setup_shared_key() argument
448 key->num_tex_used = texstate->num_textures; in v3d_setup_shared_key()
449 for (int i = 0; i < texstate->num_textures; i++) { in v3d_setup_shared_key()
450 struct pipe_sampler_view *sampler = texstate->textures[i]; in v3d_setup_shared_key()
453 texstate->samplers[i]; in v3d_setup_shared_key()
/external/mesa3d/src/mesa/main/
Dattrib.c514 struct texture_state *texstate = CALLOC_STRUCT(texture_state); in _mesa_PushAttrib() local
517 if (!texstate) { in _mesa_PushAttrib()
522 if (!save_attrib_data(&head, GL_TEXTURE_BIT, texstate)) { in _mesa_PushAttrib()
523 free(texstate); in _mesa_PushAttrib()
531 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture)); in _mesa_PushAttrib()
538 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex], in _mesa_PushAttrib()
546 _mesa_copy_texture_object(&texstate->SavedObj[u][tex], in _mesa_PushAttrib()
551 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared); in _mesa_PushAttrib()
800 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) in pop_texture_group() argument
808 &texstate->Texture.FixedFuncUnit[u]; in pop_texture_group()
[all …]
/external/mesa3d/doxygen/
Dcore_subset.doxy97 texstate.h \
/external/mesa3d/docs/relnotes/
D10.0.rst66 [bisected] WebGL demo "Consumed": texstate.c:628:
/external/mesa3d/src/mesa/
DMakefile.sources258 main/texstate.c \
259 main/texstate.h \
Dmeson.build289 'main/texstate.c',
290 'main/texstate.h',