Searched refs:vertex_count (Results 1 - 25 of 75) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_attributes.c49 panfrost_large_padded_vertex_count(uint32_t vertex_count) argument
52 unsigned highest = 32 - __builtin_clz(vertex_count);
56 unsigned nibble = (vertex_count >> n) & 0xF;
82 panfrost_padded_vertex_count(unsigned vertex_count) argument
84 if (vertex_count < 20)
85 return panfrost_small_padded_vertex_count(vertex_count);
87 return panfrost_large_padded_vertex_count(vertex_count);
H A Dpan_tiler.c332 unsigned width, unsigned height, unsigned vertex_count)
362 unsigned vertex_count, bool hierarchy)
366 if (!vertex_count)
370 return panfrost_choose_tile_size(width, height, vertex_count);
331 panfrost_choose_tile_size(unsigned width,unsigned height,unsigned vertex_count) argument
360 panfrost_choose_hierarchy_mask(unsigned width,unsigned height,unsigned vertex_count,bool hierarchy) argument
H A Dpan_encoder.h50 unsigned vertex_count, bool hierarchy);
86 panfrost_padded_vertex_count(unsigned vertex_count);
152 * shaders are invoked as (1, vertex_count, instance_count). Compute shaders
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_gs_nir.cpp68 this->vertex_count =
76 this->vertex_count =
82 this->vertex_count =
H A Dbrw_vec4_gs_visitor.h70 src_reg vertex_count; member in class:brw::vec4_gs_visitor
H A Dbrw_vec4_gs_visitor.cpp173 this->vertex_count = src_reg(this, glsl_type::uint_type);
175 /* Initialize the vertex_count register to 0 */
176 this->current_annotation = "initialize vertex_count";
177 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u)));
223 emit(GS_OPCODE_SET_VERTEX_COUNT, mrf_reg, this->vertex_count);
248 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count,
274 * The current value of the vertex_count register determines which DWORD in
313 * dword_index = (vertex_count - 1) * bits_per_vertex / 32
318 * dword_index = (vertex_count - 1) >> (6 - log2(bits_per_vertex))
323 emit(ADD(dst_reg(prev_count), this->vertex_count,
[all...]
H A Dgfx6_gs_visitor.cpp213 * unless we haven't emitted that vertex at all (vertex_count != 0).
215 * Notice that we have already incremented vertex_count when we processed
221 emit(CMP(dst_null_ud(), this->vertex_count,
224 this->vertex_count, brw_imm_ud(0u),
358 this->vertex_count,
369 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G));
381 emit(CMP(dst_null_d(), vertex, this->vertex_count, BRW_CONDITIONAL_GE));
589 emit(CMP(dst_null_d(), sol_temp, this->vertex_count,
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_gs_nir.cpp84 this->vertex_count =
92 this->vertex_count =
98 this->vertex_count =
H A Dbrw_vec4_gs_visitor.h69 src_reg vertex_count; member in class:brw::vec4_gs_visitor
H A Dbrw_vec4_gs_visitor.cpp172 this->vertex_count = src_reg(this, glsl_type::uint_type);
174 /* Initialize the vertex_count register to 0 */
175 this->current_annotation = "initialize vertex_count";
176 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u)));
240 emit(GS_OPCODE_SET_VERTEX_COUNT, mrf_reg, this->vertex_count);
265 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count,
297 * The current value of the vertex_count register determines which DWORD in
336 * dword_index = (vertex_count - 1) * bits_per_vertex / 32
341 * dword_index = (vertex_count - 1) >> (6 - log2(bits_per_vertex))
346 emit(ADD(dst_reg(prev_count), this->vertex_count,
[all...]
H A Dgen6_gs_visitor.cpp215 * unless we haven't emitted that vertex at all (vertex_count != 0).
217 * Notice that we have already incremented vertex_count when we processed
223 emit(CMP(dst_null_ud(), this->vertex_count,
226 this->vertex_count, brw_imm_ud(0u),
360 this->vertex_count,
371 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G));
383 emit(CMP(dst_null_d(), vertex, this->vertex_count, BRW_CONDITIONAL_GE));
628 emit(CMP(dst_null_d(), sol_temp, this->vertex_count,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_render.h48 unsigned vertex_count; member in struct:nouveau_swtnl_state
H A Dnouveau_swtnl_t.c160 swtnl->vertex_count = 0;
203 unsigned npush, start = 0, count = swtnl->vertex_count;
259 if (swtnl->vertex_count + (n) > SWTNL_VBO_SIZE/vertex_len \
260 || (swtnl->vertex_count && swtnl->primitive != p)) \
266 memcpy(swtnl->buf + swtnl->vertex_count * vertex_len, \
268 swtnl->vertex_count++; \
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_render.h48 unsigned vertex_count; member in struct:nouveau_swtnl_state
H A Dnouveau_swtnl_t.c160 swtnl->vertex_count = 0;
203 unsigned npush, start = 0, count = swtnl->vertex_count;
259 if (swtnl->vertex_count + (n) > SWTNL_VBO_SIZE/vertex_len \
260 || (swtnl->vertex_count && swtnl->primitive != p)) \
266 memcpy(swtnl->buf + swtnl->vertex_count * vertex_len, \
268 swtnl->vertex_count++; \
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_varyings.h149 unsigned vertex_count)
155 unsigned size = varyings->buf[buf_idx].stride * vertex_count;
147 panvk_varyings_alloc(struct panvk_varyings_info * varyings,struct pan_pool * varying_mem_pool,unsigned vertex_count) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_emit.c140 unsigned vertex_count = vert_info->count; local in function:draw_pt_emit
153 if (vertex_count == 0)
161 assert(vertex_count <= 65535);
164 (ushort)vertex_count);
187 vertex_count,
192 render->unmap_vertices(render, 0, vertex_count - 1);
H A Ddraw_pipe.c234 draw->pipeline.vertex_count = vert_info->count;
272 draw->pipeline.vertex_count = 0;
329 draw->pipeline.vertex_count = count;
342 draw->pipeline.vertex_count = 0;
H A Ddraw_pipe_util.c131 for (i = 0; i < draw->pipeline.vertex_count; i++) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_emit.c142 unsigned vertex_count = vert_info->count; local in function:draw_pt_emit
155 if (vertex_count == 0)
165 assert(vertex_count <= 65535);
168 (ushort)vertex_count);
191 vertex_count,
196 render->unmap_vertices(render, 0, vertex_count - 1);
H A Ddraw_pipe.c238 draw->pipeline.vertex_count = vert_info->count;
276 draw->pipeline.vertex_count = 0;
333 draw->pipeline.vertex_count = count;
346 draw->pipeline.vertex_count = 0;
H A Ddraw_pipe_util.c131 for (i = 0; i < draw->pipeline.vertex_count; i++) {
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_save.h87 GLuint vertex_count; /**< number of vertices in this list */ member in struct:vbo_save_vertex_list::__anone480d3520408
H A Dvbo_save_api.c275 node->cold->vertex_count++;
405 /* Grow the vertex storage to accomodate for vertex_count new vertices */
407 grow_vertex_storage(struct gl_context *ctx, int vertex_count) argument
413 vertex_count * save->vertex_size) * sizeof(GLfloat);
417 vertex_count > 0 &&
543 node->cold->vertex_count = get_vertex_count(save);
564 if (node->cold->vertex_count)
565 vertex_offset = (node->cold->vertex_count - 1) * stride;
576 assert(save->attrsz[VBO_ATTRIB_POS] != 0 || node->cold->vertex_count == 0);
596 if (node->cold->vertex_count
634 int vertex_count = original_prims[i].count; local in function:compile_vertex_list
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dglthread_draw.c519 GLsizei vertex_count = count[i]; local in function:_mesa_marshal_MultiDrawArrays
521 if (vertex_count < 0) {
526 if (vertex_count == 0)
530 max_index_exclusive = MAX2(max_index_exclusive, first[i] + vertex_count);
1032 GLsizei vertex_count = count[i]; local in function:_mesa_marshal_MultiDrawElementsBaseVertex
1034 if (vertex_count < 0) {
1040 if (vertex_count == 0)
1044 vbo_get_minmax_index_mapped(vertex_count, index_size,
1054 total_count += vertex_count;
1073 GLsizei vertex_count local in function:_mesa_marshal_MultiDrawElementsBaseVertex
[all...]

Completed in 39 milliseconds

123