Home
last modified time | relevance | path

Searched refs:stage_tex (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c539 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader); in vc4_sampler_states_bind() local
548 stage_tex->samplers[i] = hwcso[i]; in vc4_sampler_states_bind()
551 for (; i < stage_tex->num_samplers; i++) { in vc4_sampler_states_bind()
552 stage_tex->samplers[i] = NULL; in vc4_sampler_states_bind()
555 stage_tex->num_samplers = new_nr; in vc4_sampler_states_bind()
656 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader); in vc4_set_sampler_views() local
665 pipe_sampler_view_reference(&stage_tex->textures[i], views[i]); in vc4_set_sampler_views()
668 for (; i < stage_tex->num_textures; i++) { in vc4_set_sampler_views()
669 pipe_sampler_view_reference(&stage_tex->textures[i], NULL); in vc4_set_sampler_views()
672 stage_tex->num_textures = new_nr; in vc4_set_sampler_views()
Dvc4_draw.c114 struct vc4_texture_stateobj *stage_tex) in vc4_predraw_check_textures() argument
118 for (int i = 0; i < stage_tex->num_textures; i++) { in vc4_predraw_check_textures()
120 vc4_sampler_view(stage_tex->textures[i]); in vc4_predraw_check_textures()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c130 emit_one_texture(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex, in emit_one_texture() argument
134 struct pipe_sampler_state *psampler = stage_tex->samplers[i]; in emit_one_texture()
136 struct pipe_sampler_view *psview = stage_tex->textures[i]; in emit_one_texture()
142 stage_tex->texture_state[i].offset = in emit_one_texture()
146 vc5_bo_set_reference(&stage_tex->texture_state[i].bo, in emit_one_texture()
254 emit_textures(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex) in emit_textures() argument
256 for (int i = 0; i < stage_tex->num_textures; i++) { in emit_textures()
257 if (stage_tex->textures[i]) in emit_textures()
258 emit_one_texture(vc5, stage_tex, i); in emit_textures()
Dvc5_state.c593 struct vc5_texture_stateobj *stage_tex = vc5_get_stage_tex(vc5, shader); in vc5_sampler_states_bind() local
602 stage_tex->samplers[i] = hwcso[i]; in vc5_sampler_states_bind()
605 for (; i < stage_tex->num_samplers; i++) { in vc5_sampler_states_bind()
606 stage_tex->samplers[i] = NULL; in vc5_sampler_states_bind()
609 stage_tex->num_samplers = new_nr; in vc5_sampler_states_bind()
816 struct vc5_texture_stateobj *stage_tex = vc5_get_stage_tex(vc5, shader); local
825 pipe_sampler_view_reference(&stage_tex->textures[i], views[i]);
828 for (; i < stage_tex->num_textures; i++) {
829 pipe_sampler_view_reference(&stage_tex->textures[i], NULL);
832 stage_tex->num_textures = new_nr;
Dvc5_draw.c119 struct vc5_texture_stateobj *stage_tex) in vc5_predraw_check_textures() argument
123 for (int i = 0; i < stage_tex->num_textures; i++) { in vc5_predraw_check_textures()
124 struct pipe_sampler_view *view = stage_tex->textures[i]; in vc5_predraw_check_textures()