/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_texture.c | 107 unsigned *num_textures) 109 const GLuint old_max = *num_textures; 119 *num_textures = 0; 136 *num_textures = unit + 1; 190 *num_textures = MAX2(*num_textures, extra + 1); 195 *num_textures, 102 update_textures(struct st_context *st, gl_shader_stage mesa_shader, const struct gl_program *prog, unsigned max_units, struct pipe_sampler_view **sampler_views, unsigned *num_textures) argument
|
/external/mesa3d/src/compiler/ |
H A D | shader_info.h | 44 unsigned num_textures; member in struct:shader_info
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv40_verttex.c | 86 for (; i < nv30->vertprog.num_textures; i++) { 92 nv30->vertprog.num_textures = nr;
|
H A D | nv30_context.h | 82 unsigned num_textures; member in struct:nv30_context::__anon16296 95 unsigned num_textures; member in struct:nv30_context::__anon16297
|
H A D | nv30_context.c | 134 for (i = 0; i < nv30->fragprog.num_textures; ++i) { 143 for (i = 0; i < nv30->vertprog.num_textures; ++i) {
|
H A D | nv30_fragtex.c | 187 for (; i < nv30->fragprog.num_textures; i++) { 193 nv30->fragprog.num_textures = nr;
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_texture.c | 84 tex->num_textures = util_last_bit(tex->valid_textures); 119 if (nr != ctx->fragtex.num_textures) 168 if (i < tex->num_textures && tex->textures[i]) {
|
H A D | freedreno_context.h | 50 unsigned num_textures; member in struct:fd_texture_stateobj
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_tex.c | 247 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); 248 for (i = 0; i < nv50->num_textures[s]; ++i) { 306 for (; i < nv50->state.num_textures[s]; ++i) { 310 if (nv50->num_textures[s]) { 313 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nv50->num_textures[s] * 2); 314 for (i = 0; i < nv50->num_textures[s]; i++) { 328 nv50->state.num_textures[s] = nv50->num_textures[s];
|
H A D | nv50_context.c | 151 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); 152 for (i = 0; i < nv50->num_textures[s]; ++i) 245 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS); 246 for (i = 0; i < nv50->num_textures[s]; ++i) {
|
H A D | nv50_screen.h | 52 uint8_t num_textures[3]; member in struct:nv50_graph_state
|
H A D | nv50_context.h | 156 unsigned num_textures[3]; member in struct:nv50_context
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_shader.h | 91 unsigned num_textures:8; member in struct:svga_compile_key 235 (const char *) &a->tex[a->num_textures] - (const char *) a;
|
H A D | svga_shader.c | 180 key->num_textures = MIN2(svga->curr.num_sampler_views[shader], 183 for (i = 0; i < key->num_textures; i++) {
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_emit.c | 210 if ((i >= tex->num_textures) || !tex->textures[i]) 310 if (tex->num_textures > 0) { 311 unsigned num_textures = tex->num_textures; local 314 OUT_PKT7(ring, CP_LOAD_STATE, 3 + (12 * num_textures)); 318 CP_LOAD_STATE_0_NUM_UNIT(num_textures)); 322 for (i = 0; i < tex->num_textures; i++) { 658 OUT_RING(ring, ctx->verttex.num_textures); 668 OUT_RING(ring, ctx->fragtex.num_textures);
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_gather_info.c | 293 shader->info->num_textures = 0; 306 shader->info->num_textures += count;
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_screen.h | 50 uint8_t num_textures[6]; member in struct:nvc0_graph_state
|
H A D | nvc0_tex.c | 480 for (i = 0; i < nvc0->num_textures[s]; ++i) { 523 for (; i < nvc0->state.num_textures[s]; ++i) 526 nvc0->state.num_textures[s] = nvc0->num_textures[s]; 547 for (i = 0; i < nvc0->num_textures[s]; ++i) { 581 for (; i < nvc0->state.num_textures[s]; ++i) { 586 nvc0->state.num_textures[s] = nvc0->num_textures[s]; 609 for (int i = 0; i < nvc0->num_textures[5]; i++)
|
H A D | nve4_compute.c | 708 for (i = 0; i < nvc0->num_textures[s]; ++i) { 749 for (; i < nvc0->state.num_textures[s]; ++i) { 763 nvc0->state.num_textures[s] = nvc0->num_textures[s]; 767 for (int i = 0; i < nvc0->num_textures[s]; i++)
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_emit.c | 175 if (tex->num_textures > 0) { 176 unsigned num_textures = tex->num_textures + v->astc_srgb.count; local 179 OUT_PKT3(ring, CP_LOAD_STATE, 2 + (8 * num_textures)); 183 CP_LOAD_STATE_0_NUM_UNIT(num_textures)); 186 for (i = 0; i < tex->num_textures; i++) {
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_emit.c | 174 if (tex->num_textures > 0) { 176 OUT_PKT3(ring, CP_LOAD_STATE, 2 + (4 * tex->num_textures)); 180 CP_LOAD_STATE_0_NUM_UNIT(tex->num_textures)); 183 for (i = 0; i < tex->num_textures; i++) { 196 OUT_PKT3(ring, CP_LOAD_STATE, 2 + (BASETABLE_SZ * tex->num_textures)); 200 CP_LOAD_STATE_0_NUM_UNIT(BASETABLE_SZ * tex->num_textures)); 203 for (i = 0; i < tex->num_textures; i++) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_shader.cpp | 1150 int num_textures = util_last_bit(prog->SamplersUsed); 1153 next_binding_table_offset += num_textures; 1184 next_binding_table_offset += num_textures; 1212 next_binding_table_offset += num_textures; 1215 next_binding_table_offset += num_textures;
|
/external/drm_hwcomposer/ |
H A D | glworker.cpp | 243 static AutoGLProgram GenerateProgram(unsigned num_textures, argument 245 std::string vertex_shader_string = GenerateVertexShader(num_textures); 252 std::string fragment_shader_string = GenerateFragmentShader(num_textures);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_blit.c | 183 vc4->fragtex.num_textures, vc4->fragtex.textures);
|
H A D | vc4_context.h | 96 unsigned num_textures; member in struct:vc4_texture_stateobj
|