Home
last modified time | relevance | path

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

/third_party/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.h484 struct vc4_texture_stateobj *texstate);
Dvc4_program.c2643 struct vc4_texture_stateobj *texstate) in vc4_setup_shared_key() argument
2645 for (int i = 0; i < texstate->num_textures; i++) { in vc4_setup_shared_key()
2646 struct pipe_sampler_view *sampler = texstate->textures[i]; in vc4_setup_shared_key()
2649 texstate->samplers[i]; in vc4_setup_shared_key()
/third_party/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.c148 struct r300_textures_state *texstate = r300->textures_state.state; in r300_fragment_program_get_external_state() local
153 for (i = 0; i < texstate->sampler_state_count; i++) { in r300_fragment_program_get_external_state()
154 struct r300_sampler_state *s = texstate->sampler_states[i]; in r300_fragment_program_get_external_state()
155 struct r300_sampler_view *v = texstate->sampler_views[i]; in r300_fragment_program_get_external_state()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c36 get_texrect_scale(struct v3d_texture_stateobj *texstate, in get_texrect_scale() argument
40 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texrect_scale()
52 get_texture_size(struct v3d_texture_stateobj *texstate, in get_texture_size() argument
56 struct pipe_sampler_view *texture = texstate->textures[data]; in get_texture_size()
127 struct v3d_texture_stateobj *texstate, in write_texture_p0() argument
131 struct pipe_sampler_state *psampler = texstate->samplers[unit]; in write_texture_p0()
141 struct v3d_texture_stateobj *texstate, in write_texture_p1() argument
150 struct pipe_sampler_view *psview = texstate->textures[unit]; in write_texture_p1()
154 .texture_state_record_base_address = texstate->texture_state[unit], in write_texture_p1()
169 struct v3d_texture_stateobj *texstate, in write_tmu_p0() argument
[all …]
Dv3d_program.c456 struct v3d_texture_stateobj *texstate) in v3d_setup_shared_key() argument
460 key->num_tex_used = texstate->num_textures; in v3d_setup_shared_key()
461 key->num_samplers_used = texstate->num_textures; in v3d_setup_shared_key()
463 for (int i = 0; i < texstate->num_textures; i++) { in v3d_setup_shared_key()
464 struct pipe_sampler_view *sampler = texstate->textures[i]; in v3d_setup_shared_key()
467 texstate->samplers[i]; in v3d_setup_shared_key()
/third_party/mesa3d/src/mesa/main/
Dattrib.c534 pop_texture_group(struct gl_context *ctx, struct gl_texture_attrib_node *texstate) in pop_texture_group() argument
543 &texstate->FixedFuncUnit[u]; in pop_texture_group()
552 ctx->Texture.Unit[u].LodBias = texstate->LodBias[u]; in pop_texture_group()
553 ctx->Texture.Unit[u].LodBiasQuantized = texstate->LodBiasQuantized[u]; in pop_texture_group()
557 unsigned num_tex_saved = texstate->NumTexSaved; in pop_texture_group()
565 const struct gl_texture_object *savedObj = &texstate->SavedObj[u][tgt]; in pop_texture_group()
593 savedObj = &texstate->SavedDefaultObj[tgt]; in pop_texture_group()
633 const struct gl_texture_object *src = &texstate->SavedDefaultObj[tex]; in pop_texture_group()
638 _mesa_ActiveTexture(GL_TEXTURE0_ARB + texstate->CurrentUnit); in pop_texture_group()
/third_party/mesa3d/src/mesa/
Dmeson.build235 'main/texstate.c',
236 'main/texstate.h',
/third_party/mesa3d/docs/relnotes/
D10.0.rst66 [bisected] WebGL demo "Consumed": texstate.c:628:
/third_party/mesa3d/ohos/
Ddependency_inputs.gni5893 "../src/mesa/main/texstate.c",
5894 "../src/mesa/main/texstate.h",