Searched refs:stage_tex (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_state.c | 532 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader); in vc4_sampler_states_bind() local 541 stage_tex->samplers[i] = hwcso[i]; in vc4_sampler_states_bind() 544 for (; i < stage_tex->num_samplers; i++) { in vc4_sampler_states_bind() 545 stage_tex->samplers[i] = NULL; in vc4_sampler_states_bind() 548 stage_tex->num_samplers = new_nr; in vc4_sampler_states_bind() 659 struct vc4_texture_stateobj *stage_tex = vc4_get_stage_tex(vc4, shader); in vc4_set_sampler_views() local 669 pipe_sampler_view_reference(&stage_tex->textures[i], NULL); in vc4_set_sampler_views() 670 stage_tex->textures[i] = views[i]; in vc4_set_sampler_views() 672 pipe_sampler_view_reference(&stage_tex->textures[i], views[i]); in vc4_set_sampler_views() 676 for (; i < stage_tex->num_textures; i++) { in vc4_set_sampler_views() [all …]
|
D | vc4_draw.c | 115 struct vc4_texture_stateobj *stage_tex) in vc4_predraw_check_textures() argument 119 for (int i = 0; i < stage_tex->num_textures; i++) { in vc4_predraw_check_textures() 121 vc4_sampler_view(stage_tex->textures[i]); in vc4_predraw_check_textures()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_state.c | 808 struct v3d_texture_stateobj *stage_tex = &v3d->tex[shader]; in v3d_sampler_states_bind() local 817 stage_tex->samplers[i] = hwcso[i]; in v3d_sampler_states_bind() 820 for (; i < stage_tex->num_samplers; i++) { in v3d_sampler_states_bind() 821 stage_tex->samplers[i] = NULL; in v3d_sampler_states_bind() 824 stage_tex->num_samplers = new_nr; in v3d_sampler_states_bind() 1211 struct v3d_texture_stateobj *stage_tex = &v3d->tex[shader]; in v3d_set_sampler_views() local 1221 pipe_sampler_view_reference(&stage_tex->textures[i], NULL); in v3d_set_sampler_views() 1222 stage_tex->textures[i] = views[i]; in v3d_set_sampler_views() 1224 pipe_sampler_view_reference(&stage_tex->textures[i], views[i]); in v3d_set_sampler_views() 1231 if (stage_tex->textures[i]) { in v3d_set_sampler_views() [all …]
|
D | v3dx_emit.c | 115 emit_one_texture(struct v3d_context *v3d, struct v3d_texture_stateobj *stage_tex, in emit_one_texture() argument 119 struct pipe_sampler_state *psampler = stage_tex->samplers[i]; in emit_one_texture() 121 struct pipe_sampler_view *psview = stage_tex->textures[i]; in emit_one_texture() 127 stage_tex->texture_state[i].offset = in emit_one_texture() 131 v3d_bo_set_reference(&stage_tex->texture_state[i].bo, in emit_one_texture() 240 emit_textures(struct v3d_context *v3d, struct v3d_texture_stateobj *stage_tex) in emit_textures() argument 242 for (int i = 0; i < stage_tex->num_textures; i++) { in emit_textures() 243 if (stage_tex->textures[i]) in emit_textures() 244 emit_one_texture(v3d, stage_tex, i); in emit_textures()
|