Searched refs:num_textures (Results 1 - 25 of 47) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c107 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 Dshader_info.h44 unsigned num_textures; member in struct:shader_info
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c86 for (; i < nv30->vertprog.num_textures; i++) {
92 nv30->vertprog.num_textures = nr;
H A Dnv30_context.h82 unsigned num_textures; member in struct:nv30_context::__anon16296
95 unsigned num_textures; member in struct:nv30_context::__anon16297
H A Dnv30_context.c134 for (i = 0; i < nv30->fragprog.num_textures; ++i) {
143 for (i = 0; i < nv30->vertprog.num_textures; ++i) {
H A Dnv30_fragtex.c187 for (; i < nv30->fragprog.num_textures; i++) {
193 nv30->fragprog.num_textures = nr;
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.c84 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 Dfreedreno_context.h50 unsigned num_textures; member in struct:fd_texture_stateobj
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_tex.c247 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 Dnv50_context.c151 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 Dnv50_screen.h52 uint8_t num_textures[3]; member in struct:nv50_graph_state
H A Dnv50_context.h156 unsigned num_textures[3]; member in struct:nv50_context
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_shader.h91 unsigned num_textures:8; member in struct:svga_compile_key
235 (const char *) &a->tex[a->num_textures] - (const char *) a;
H A Dsvga_shader.c180 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 Dfd5_emit.c210 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 Dnir_gather_info.c293 shader->info->num_textures = 0;
306 shader->info->num_textures += count;
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_screen.h50 uint8_t num_textures[6]; member in struct:nvc0_graph_state
H A Dnvc0_tex.c480 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 Dnve4_compute.c708 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 Dfd4_emit.c175 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 Dfd3_emit.c174 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 Dbrw_shader.cpp1150 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 Dglworker.cpp243 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 Dvc4_blit.c183 vc4->fragtex.num_textures, vc4->fragtex.textures);
H A Dvc4_context.h96 unsigned num_textures; member in struct:vc4_texture_stateobj

Completed in 662 milliseconds

12