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

123456

/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_image.h33 void ir3_ibo_mapping_init(struct ir3_ibo_mapping *mapping, unsigned num_textures);
H A Dir3_image.c35 ir3_ibo_mapping_init(struct ir3_ibo_mapping *mapping, unsigned num_textures) argument
40 mapping->tex_base = num_textures;
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_image.h33 unsigned num_textures);
H A Dir3_image.c34 ir3_ibo_mapping_init(struct ir3_ibo_mapping *mapping, unsigned num_textures) argument
38 mapping->tex_base = num_textures;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_texture.c108 unsigned num_textures = util_last_bit(samplers_used); local in function:st_get_sampler_views
114 for (unit = 0; unit < num_textures; unit++) {
253 num_textures = MAX2(num_textures, extra + 1);
256 return num_textures;
266 unsigned num_textures = local in function:update_textures
270 unsigned num_unbind = old_num_textures > num_textures ?
271 old_num_textures - num_textures : 0;
273 pipe->set_sampler_views(pipe, shader_stage, 0, num_textures, num_unbind,
275 st->state.num_sampler_views[shader_stage] = num_textures;
[all...]
/xsrc/external/mit/MesaLib.old/dist/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::__anon93f3a0ba0308
95 unsigned num_textures; member in struct:nv30_context::__anon93f3a0ba0408
H A Dnv30_context.c128 for (i = 0; i < nv30->fragprog.num_textures; ++i) {
137 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;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c92 for (; i < nv30->vertprog.num_textures; i++) {
98 nv30->vertprog.num_textures = nr;
H A Dnv30_context.h82 unsigned num_textures; member in struct:nv30_context::__anon583e252d0308
95 unsigned num_textures; member in struct:nv30_context::__anon583e252d0408
H A Dnv30_context.c128 for (i = 0; i < nv30->fragprog.num_textures; ++i) {
137 for (i = 0; i < nv30->vertprog.num_textures; ++i) {
H A Dnv30_fragtex.c193 for (; i < nv30->fragprog.num_textures; i++) {
199 nv30->fragprog.num_textures = nr;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_texture.c116 unsigned num_textures = 0; local in function:update_textures
158 num_textures = unit + 1;
208 num_textures = MAX2(num_textures, extra + 1);
213 num_textures,
215 st->state.num_sampler_views[shader_stage] = num_textures;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.c84 tex->num_textures = util_last_bit(tex->valid_textures);
86 for (i = 0; i < tex->num_textures; i++) {
153 if (i < tex->num_textures && tex->textures[i]) {
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dshader_info.h93 unsigned num_textures; member in struct:shader_info
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_tex.c250 assert(nv50->num_textures[s] <= PIPE_MAX_SAMPLERS);
251 for (i = 0; i < nv50->num_textures[s]; ++i) {
319 for (; i < nv50->state.num_textures[s]; ++i) {
326 if (nv50->num_textures[s]) {
333 BEGIN_NV04(push, NV50_CP(CB_DATA(0)), nv50->num_textures[s] * 2);
335 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nv50->num_textures[s] * 2);
336 for (i = 0; i < nv50->num_textures[s]; i++) {
350 nv50->state.num_textures[s] = nv50->num_textures[s];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_shader.h92 unsigned num_textures:8; member in struct:svga_compile_key
245 (const char *) &a->tex[a->num_textures] - (const char *) a;
/xsrc/external/mit/MesaLib.old/dist/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];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.c100 tex->num_textures = util_last_bit(tex->valid_textures);
162 if (i < tex->num_textures && tex->textures[i]) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_shader.h122 unsigned num_textures:8; member in struct:svga_compile_key
371 (const char *) &a->tex[a->num_textures] - (const char *) a;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_emit.c182 if ((i >= tex->num_textures) || !tex->textures[i])
348 if (tex->num_textures > 0) {
349 unsigned num_textures = tex->num_textures; local in function:emit_textures
352 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + (12 * num_textures));
356 CP_LOAD_STATE4_0_NUM_UNIT(num_textures));
360 for (i = 0; i < tex->num_textures; i++) {
790 OUT_RING(ring, ctx->tex[PIPE_SHADER_VERTEX].num_textures);
800 ~0 : ctx->tex[PIPE_SHADER_FRAGMENT].num_textures);
847 ~0 : ctx->tex[PIPE_SHADER_COMPUTE].num_textures);
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_emit.c210 if ((i >= tex->num_textures) || !tex->textures[i])
376 if (tex->num_textures > 0) {
377 unsigned num_textures = tex->num_textures; local in function:emit_textures
380 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + (12 * num_textures));
384 CP_LOAD_STATE4_0_NUM_UNIT(num_textures));
388 for (i = 0; i < tex->num_textures; i++) {
859 OUT_RING(ring, ctx->tex[PIPE_SHADER_VERTEX].num_textures);
870 : ctx->tex[PIPE_SHADER_FRAGMENT].num_textures);
921 : ctx->tex[PIPE_SHADER_COMPUTE].num_textures);
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_descriptor_set.c153 set_layout->num_textures = tex_idx;
286 tex_idx += set_layout->num_textures;
310 layout->num_textures = tex_idx;
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dshader_info.h137 uint8_t num_textures; member in struct:shader_info

Completed in 18 milliseconds

123456