/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_primitive_restart.c | 164 const struct _mesa_prim *prims, in vbo_sw_primitive_restart_common_start() argument 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 253 temp_prim.start = MAX2(prims[prim_num].start, sub_prim->start); in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() [all …]
|
D | brw_draw.h | 48 const struct _mesa_prim *prims, 68 const struct _mesa_prim *prims,
|
D | brw_draw.c | 1134 const struct _mesa_prim *prims, in brw_draw_prims() argument 1153 if (brw_handle_primitive_restart(ctx, prims, nr_prims, ib, num_instances, in brw_draw_prims() 1168 _tnl_draw(ctx, prims, nr_prims, ib, index_bounds_valid, in brw_draw_prims() 1181 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims, in brw_draw_prims() 1206 brw_load_register_imm64(brw, MI_PREDICATE_SRC1, prims[i].draw_id); in brw_draw_prims() 1223 brw_draw_single_prim(ctx, &prims[i], i, ib != NULL, num_instances, in brw_draw_prims()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | clip.cpp | 182 simdvector prims[], in ClipRectangles() argument 190 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipRectangles() 197 simdvector prims[], in ClipTriangles() argument 205 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipTriangles() 212 simdvector prims[], in ClipLines() argument 220 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipLines() 227 simdvector prims[], in ClipPoints() argument 235 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipPoints() 243 simd16vector prims[], in ClipRectangles_simd16() argument 259 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipRectangles_simd16() [all …]
|
D | clip.h | 206 SIMD256::Vec4 prims[], 214 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx); 268 SIMD512::Vec4 prims[], 276 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx); 1299 simdvector prims[], 1307 simdvector prims[], 1315 simdvector prims[], 1323 simdvector prims[], 1332 simd16vector prims[], 1340 simd16vector prims[], [all …]
|
D | frontend.h | 417 simdvector prims[3], 425 simdvector prims[3], 434 simd16vector prims[3], 442 simd16vector prims[3],
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 243 const struct _mesa_prim *prims, GLuint nr_prims, 251 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_maybe_split() argument 279 _tnl_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split() 390 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_vbo() argument 403 unsigned start = prims[i].start, in vbo_draw_vbo() 404 count = prims[i].count; in vbo_draw_vbo() 406 if (i == 0 || basevertex != prims[i].basevertex) { in vbo_draw_vbo() 407 basevertex = prims[i].basevertex; in vbo_draw_vbo() 421 BATCH_BEGIN(nvgl_primitive(prims[i].mode)); in vbo_draw_vbo() 440 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_imm() argument [all …]
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 161 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in copy_vertices() 190 store->prims = realloc(store->prims, store->size * sizeof(struct _mesa_prim)); in realloc_prim_store() 191 memset(&store->prims[old_size], 0, (store->size - old_size) * sizeof(struct _mesa_prim)); in realloc_prim_store() 257 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in convert_line_loop_to_strip() 544 node->cold->prims = malloc(sizeof(struct _mesa_prim) * save->prim_store->used); in compile_vertex_list() 545 …memcpy(node->cold->prims, save->prim_store->prims, sizeof(struct _mesa_prim) * save->prim_store->u… in compile_vertex_list() 584 if (node->cold->prims[node->cold->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list() 588 merge_prims(ctx, node->cold->prims, &node->cold->prim_count); in compile_vertex_list() 600 const struct _mesa_prim *original_prims = node->cold->prims; in compile_vertex_list() 606 node->cold->min_index = node->cold->prims[0].start; in compile_vertex_list() [all …]
|
D | vbo_minmax_index.c | 361 const struct _mesa_prim *prims, in vbo_get_minmax_indices() argument 379 start_prim = &prims[i]; in vbo_get_minmax_indices() 383 (prims[i].start + prims[i].count == prims[i+1].start)) { in vbo_get_minmax_indices() 384 count += prims[i+1].count; in vbo_get_minmax_indices()
|
D | vbo_save.h | 90 struct _mesa_prim *prims; member 120 struct _mesa_prim *prims; member
|
D | vbo_save_loopback.c | 183 const struct _mesa_prim *prims = node->cold->prims; in _vbo_loopback_vertex_list() local 188 &prims[i], wrap_count, stride, la, nr); in _vbo_loopback_vertex_list()
|
D | vbo_save_draw.c | 123 const struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in playback_copy_to_current() 169 if (_mesa_inside_begin_end(ctx) && node->cold->prims[0].begin) { in vbo_save_playback_vertex_list_loopback() 304 if (_mesa_inside_begin_end(ctx) && node->cold->prims[0].begin) { in vbo_save_playback_vertex_list()
|
D | vbo_save.c | 63 free(save->prim_store->prims); in vbo_save_destroy()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_draw_feedback.c | 97 const struct _mesa_prim *prims, in st_feedback_draw_vbo() argument 137 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims, in st_feedback_draw_vbo() 447 d.count = prims[i].count; in st_feedback_draw_vbo() 452 d.start = start + prims[i].start; in st_feedback_draw_vbo() 454 info.mode = prims[i].mode; in st_feedback_draw_vbo() 455 d.index_bias = prims[i].basevertex; in st_feedback_draw_vbo() 461 draw_vbo(draw, &info, prims[i].draw_id, NULL, &d, 1, in st_feedback_draw_vbo()
|
D | st_draw.h | 53 const struct _mesa_prim *prims,
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim.h | 354 unsigned prims = u_decomposed_prims_for_vertices(primitive, nr); in u_stream_outputs_for_vertices() local 358 return u_vertices_for_prims(base, prims); in u_stream_outputs_for_vertices()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_context.c | 255 int prims = u_decomposed_prims_for_vertices(info->mode, draws[0].count); in etna_draw_vbo() local 256 if (unlikely(prims <= 0)) { in etna_draw_vbo() 381 etna_draw_indexed_primitives(ctx->stream, draw_mode, 0, prims, draws->index_bias); in etna_draw_vbo() 383 etna_draw_primitives(ctx->stream, draw_mode, draws[0].start, prims); in etna_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 249 unsigned prims = 0; in update_draw_stats() local 252 prims += u_reduced_prims_for_vertices(info->mode, draws[i].count); in update_draw_stats() 256 ctx->stats.prims_generated += prims; in update_draw_stats() 261 unsigned verts_written = u_vertices_for_prims(tf_prim, prims); in update_draw_stats()
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_split_copy.c | 150 const struct _mesa_prim *prims, in dump_draw_info() argument 159 printf(" Prim mode 0x%x\n", prims[i].mode); in dump_draw_info() 171 GLint k = prims[i].start + prims[i].count - 1; in dump_draw_info()
|
D | tnl.h | 170 const struct _mesa_prim *prims,
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | opt.cc | 39 … const std::vector<PrimitivePtr> &prims, const RenormAction &renorm_action, in MakeSubstitution() argument 41 auto fn = [prims](const AnfNodePtr &node) -> bool { in MakeSubstitution() 55 for (auto &prim : prims) { in MakeSubstitution()
|
D | opt.h | 66 const std::vector<PrimitivePtr> &prims,
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
D | navi10-piglit-quick-fail.csv | 35 spec@!opengl 3.2@gl-3.2-adj-prims cull-back pv-first,Fail 36 spec@!opengl 3.2@gl-3.2-adj-prims cull-front pv-first,Fail 37 spec@!opengl 3.2@gl-3.2-adj-prims line cull-back pv-first,Fail 38 spec@!opengl 3.2@gl-3.2-adj-prims line cull-front pv-first,Fail 39 spec@!opengl 3.2@gl-3.2-adj-prims pv-first,Fail
|
D | sienna_cichlid-piglit-quick-fail.csv | 35 spec@!opengl 3.2@gl-3.2-adj-prims cull-back pv-first,Fail 36 spec@!opengl 3.2@gl-3.2-adj-prims cull-front pv-first,Fail 37 spec@!opengl 3.2@gl-3.2-adj-prims line cull-back pv-first,Fail 38 spec@!opengl 3.2@gl-3.2-adj-prims line cull-front pv-first,Fail 39 spec@!opengl 3.2@gl-3.2-adj-prims pv-first,Fail
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_shader_state.c | 669 unsigned prims = ~0; in nv50_stream_output_validate() local 730 prims = MIN2(prims, limit); in nv50_stream_output_validate() 736 if (prims != ~0) { in nv50_stream_output_validate() 738 PUSH_DATA (push, prims); in nv50_stream_output_validate()
|