/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 116 unsigned num_textures = 0; in update_textures() local 158 num_textures = unit + 1; in update_textures() 244 num_textures = MAX2(num_textures, extra + 1); in update_textures() 249 num_textures, in update_textures() 251 st->state.num_sampler_views[shader_stage] = num_textures; in update_textures()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_tex.c | 247 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); in nv50_validate_tic() 248 for (i = 0; i < nv50->num_textures[s]; ++i) { in nv50_validate_tic() 306 for (; i < nv50->state.num_textures[s]; ++i) { in nv50_validate_tic() 310 if (nv50->num_textures[s]) { in nv50_validate_tic() 313 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nv50->num_textures[s] * 2); in nv50_validate_tic() 314 for (i = 0; i < nv50->num_textures[s]; i++) { in nv50_validate_tic() 328 nv50->state.num_textures[s] = nv50->num_textures[s]; in nv50_validate_tic()
|
D | nv50_context.c | 146 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); in nv50_context_unreference_resources() 147 for (i = 0; i < nv50->num_textures[s]; ++i) in nv50_context_unreference_resources() 236 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); in nv50_invalidate_resource_storage() 237 for (i = 0; i < nv50->num_textures[s]; ++i) { in nv50_invalidate_resource_storage()
|
D | nv50_surface.c | 839 unsigned num_textures[3]; member 1163 nv50->num_textures[0] = nv50->num_textures[1] = 0; in nv50_blit_set_src() 1164 nv50->num_textures[2] = 1; in nv50_blit_set_src() 1170 nv50->num_textures[2] = 2; in nv50_blit_set_src() 1267 ctx->saved.num_textures[s] = nv50->num_textures[s]; in nv50_blitctx_pre_blit() 1321 nv50->num_textures[s] = blit->saved.num_textures[s]; in nv50_blitctx_post_blit()
|
D | nv50_screen.h | 52 uint8_t num_textures[3]; member
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 86 tex->num_textures = util_last_bit(tex->valid_textures); in set_sampler_views() 88 for (i = 0; i < tex->num_textures; i++) { in set_sampler_views() 155 if (i < tex->num_textures && tex->textures[i]) { in fd_setup_border_colors()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv40_verttex.c | 86 for (; i < nv30->vertprog.num_textures; i++) { in nv40_verttex_set_sampler_views() 92 nv30->vertprog.num_textures = nr; in nv40_verttex_set_sampler_views()
|
D | nv30_context.h | 82 unsigned num_textures; member 95 unsigned num_textures; member
|
D | nv30_fragtex.c | 187 for (; i < nv30->fragprog.num_textures; i++) { in nv30_fragtex_set_sampler_views() 193 nv30->fragprog.num_textures = nr; in nv30_fragtex_set_sampler_views()
|
D | nv30_context.c | 128 for (i = 0; i < nv30->fragprog.num_textures; ++i) { in nv30_invalidate_resource_storage() 137 for (i = 0; i < nv30->vertprog.num_textures; ++i) { in nv30_invalidate_resource_storage()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_image.c | 35 ir3_ibo_mapping_init(struct ir3_ibo_mapping *mapping, unsigned num_textures) in ir3_ibo_mapping_init() argument 39 mapping->tex_base = num_textures; in ir3_ibo_mapping_init()
|
D | ir3_image.h | 33 void ir3_ibo_mapping_init(struct ir3_ibo_mapping *mapping, unsigned num_textures);
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 205 if ((i >= tex->num_textures) || !tex->textures[i]) in setup_border_colors() 371 if (tex->num_textures > 0) { in emit_textures() 372 unsigned num_textures = tex->num_textures; in emit_textures() local 375 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + (12 * num_textures)); in emit_textures() 379 CP_LOAD_STATE4_0_NUM_UNIT(num_textures)); in emit_textures() 383 for (i = 0; i < tex->num_textures; i++) { in emit_textures() 808 OUT_RING(ring, ctx->tex[PIPE_SHADER_VERTEX].num_textures); in fd5_emit_state() 818 ~0 : ctx->tex[PIPE_SHADER_FRAGMENT].num_textures); in fd5_emit_state() 865 ~0 : ctx->tex[PIPE_SHADER_COMPUTE].num_textures); in fd5_emit_cs_state()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | compiler.cc | 198 int num_textures = 0; in Compile() local 206 if (num_textures < gpu_info_.GetMaxImageArguments() && in Compile() 212 num_textures++; in Compile()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.h | 122 unsigned num_textures:8; member 368 (const char *) &a->tex[a->num_textures] - (const char *) a; in svga_compile_keys_equal()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 193 if (tex->num_textures > 0) { in emit_textures() 195 OUT_PKT3(ring, CP_LOAD_STATE, 2 + (4 * tex->num_textures)); in emit_textures() 199 CP_LOAD_STATE_0_NUM_UNIT(tex->num_textures)); in emit_textures() 202 for (i = 0; i < tex->num_textures; i++) { in emit_textures() 215 OUT_PKT3(ring, CP_LOAD_STATE, 2 + (BASETABLE_SZ * tex->num_textures)); in emit_textures() 219 CP_LOAD_STATE_0_NUM_UNIT(BASETABLE_SZ * tex->num_textures)); in emit_textures() 222 for (i = 0; i < tex->num_textures; i++) { in emit_textures()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 856 int num_textures = util_last_bit(prog->SamplersUsed); in brw_assign_common_binding_table_offsets() local 859 next_binding_table_offset += num_textures; in brw_assign_common_binding_table_offsets() 891 next_binding_table_offset += num_textures; in brw_assign_common_binding_table_offsets() 912 next_binding_table_offset += num_textures; in brw_assign_common_binding_table_offsets() 915 next_binding_table_offset += num_textures; in brw_assign_common_binding_table_offsets()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_tex.c | 489 for (i = 0; i < nvc0->num_textures[s]; ++i) { in nvc0_validate_tic() 532 for (; i < nvc0->state.num_textures[s]; ++i) in nvc0_validate_tic() 535 nvc0->state.num_textures[s] = nvc0->num_textures[s]; in nvc0_validate_tic() 556 for (i = 0; i < nvc0->num_textures[s]; ++i) { in nve4_validate_tic() 590 for (; i < nvc0->state.num_textures[s]; ++i) { in nve4_validate_tic() 595 nvc0->state.num_textures[s] = nvc0->num_textures[s]; in nve4_validate_tic() 618 for (int i = 0; i < nvc0->num_textures[5]; i++) in nvc0_validate_textures() 850 for (int i = 0; i < nvc0->num_textures[s]; i++) in view_bound()
|
D | nvc0_surface.c | 811 unsigned num_textures[5]; member 974 nvc0->num_textures[s] = 0; in nvc0_blit_set_src() 975 nvc0->num_textures[4] = 1; in nvc0_blit_set_src() 981 nvc0->num_textures[4] = 2; in nvc0_blit_set_src() 1071 ctx->saved.num_textures[s] = nvc0->num_textures[s]; in nvc0_blitctx_pre_blit() 1073 nvc0->textures_dirty[s] = (1 << nvc0->num_textures[s]) - 1; in nvc0_blitctx_pre_blit() 1136 nvc0->num_textures[s] = blit->saved.num_textures[s]; in nvc0_blitctx_post_blit() 1138 nvc0->textures_dirty[s] = (1 << nvc0->num_textures[s]) - 1; in nvc0_blitctx_post_blit()
|
D | nve4_compute.c | 958 for (i = 0; i < nvc0->num_textures[s]; ++i) { in nve4_compute_validate_textures() 999 for (; i < nvc0->state.num_textures[s]; ++i) { in nve4_compute_validate_textures() 1013 nvc0->state.num_textures[s] = nvc0->num_textures[s]; in nve4_compute_validate_textures() 1017 for (int i = 0; i < nvc0->num_textures[s]; i++) in nve4_compute_validate_textures()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 185 if (tex->num_textures > 0) { in emit_textures() 186 unsigned num_textures = tex->num_textures + v->astc_srgb.count; in emit_textures() local 189 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (8 * num_textures)); in emit_textures() 193 CP_LOAD_STATE4_0_NUM_UNIT(num_textures)); in emit_textures() 196 for (i = 0; i < tex->num_textures; i++) { in emit_textures()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 104 if ((i >= tex->num_textures) || !tex->textures[i]) in setup_border_colors() 370 unsigned num_merged_textures = tex->num_textures; in fd6_emit_textures() 371 unsigned num_textures = tex->num_textures; in fd6_emit_textures() local 384 num_textures = v->image_mapping.tex_base; in fd6_emit_textures() 390 for (unsigned i = 0; i < num_textures; i++) { in fd6_emit_textures() 514 ctx->tex[type].num_textures > 0) { in fd6_emit_combined_textures()
|
/external/mesa3d/src/compiler/ |
D | shader_info.h | 124 uint8_t num_textures; member
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_state.c | 376 for (; i < lima_tex->num_textures; i++) { in lima_set_sampler_views() 380 lima_tex->num_textures = new_nr; in lima_set_sampler_views()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_assemble.c | 386 state->shader.texture_count = s->info.num_textures; in panfrost_shader_compile() 387 state->shader.sampler_count = s->info.num_textures; in panfrost_shader_compile()
|