Lines Matching refs:next_sampler_id
1379 int id, int next_sampler_id) in bind_sampler_locs() argument
1403 glUniform1i(glGetUniformLocation(sprog->id, name), next_sampler_id++); in bind_sampler_locs()
1420 return next_sampler_id; in bind_sampler_locs()
1685 int next_ubo_id = 0, next_sampler_id = 0; in add_shader_program() local
1690 next_sampler_id = bind_sampler_locs(sprog, id, next_sampler_id); in add_shader_program()
4182 int next_sampler_id) in vrend_draw_bind_samplers_shader() argument
4225 glActiveTexture(GL_TEXTURE0 + next_sampler_id); in vrend_draw_bind_samplers_shader()
4231 next_sampler_id, tview); in vrend_draw_bind_samplers_shader()
4237 next_sampler_id++; in vrend_draw_bind_samplers_shader()
4242 return next_sampler_id; in vrend_draw_bind_samplers_shader()
4422 int next_ubo_id = 0, next_sampler_id = 0; in vrend_draw_bind_objects() local
4426 next_sampler_id = vrend_draw_bind_samplers_shader(sub_ctx, shader_type, in vrend_draw_bind_objects()
4427 next_sampler_id); in vrend_draw_bind_objects()
4435 glActiveTexture(GL_TEXTURE0 + next_sampler_id); in vrend_draw_bind_objects()
4437 glUniform1i(sub_ctx->prog->fs_stipple_loc, next_sampler_id); in vrend_draw_bind_objects()