Home
last modified time | relevance | path

Searched refs:prim_type (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim.h293 u_base_prim_type(enum pipe_prim_type prim_type) in u_base_prim_type() argument
295 switch(prim_type) { in u_base_prim_type()
314 return prim_type; in u_base_prim_type()
334 u_vertices_for_prims(enum pipe_prim_type prim_type, int count) in u_vertices_for_prims() argument
342 assert(prim_type == u_base_prim_type(prim_type) && in u_vertices_for_prims()
343 prim_type != PIPE_PRIM_PATCHES && prim_type != PIPE_PRIM_POLYGON); in u_vertices_for_prims()
345 const struct u_prim_vertex_count *info = u_prim_vertex_count(prim_type); in u_vertices_for_prims()
Du_draw_quad.c47 uint prim_type, in util_draw_vertex_buffer() argument
65 cso_draw_arrays(cso, prim_type, 0, num_verts); in util_draw_vertex_buffer()
68 util_draw_arrays(pipe, prim_type, 0, num_verts); in util_draw_vertex_buffer()
79 uint prim_type, uint num_verts, uint num_attribs) in util_draw_user_vertex_buffer() argument
92 cso_draw_arrays(cso, prim_type, 0, num_verts); in util_draw_user_vertex_buffer()
Du_draw_quad.h47 uint offset, uint prim_type, uint num_attribs,
52 uint prim_type, uint num_verts, uint num_attribs);
/third_party/mesa3d/src/broadcom/common/
Dv3d_util.c151 v3d_hw_prim_type(enum pipe_prim_type prim_type) in v3d_hw_prim_type() argument
153 switch (prim_type) { in v3d_hw_prim_type()
161 return prim_type; in v3d_hw_prim_type()
167 return 8 + (prim_type - PIPE_PRIM_LINES_ADJACENCY); in v3d_hw_prim_type()
Dv3d_util.h47 v3d_hw_prim_type(enum pipe_prim_type prim_type);
/third_party/mesa3d/src/compiler/glsl/
Dast_type.cpp134 if (qualifier.flags.q.prim_type && new_qualifier.flags.q.prim_type in validate_prim_type()
135 && qualifier.prim_type != new_qualifier.prim_type) { in validate_prim_type()
316 if (q.flags.q.prim_type) { in merge_qualifier()
318 this->flags.q.prim_type = 1; in merge_qualifier()
319 this->prim_type = q.prim_type; in merge_qualifier()
513 if (this->flags.q.prim_type) { in validate_out_qualifier()
515 switch (this->prim_type) { in validate_out_qualifier()
535 valid_out_mask.flags.q.prim_type = 1; in validate_out_qualifier()
607 if (this->flags.q.prim_type) { in validate_in_qualifier()
609 switch (this->prim_type) { in validate_in_qualifier()
[all …]
Dast.h566 unsigned prim_type:1; member
736 GLenum prim_type; member
1317 ast_gs_input_layout(const struct YYLTYPE &locp, GLenum prim_type) in ast_gs_input_layout() argument
1318 : prim_type(prim_type) in ast_gs_input_layout()
1327 const GLenum prim_type;
/third_party/mesa3d/src/gallium/tests/unit/
Du_prim_verts_test.c7 enum pipe_prim_type prim_type; member
35 uint32_t n = u_vertices_for_prims(info->prim_type, info->count); in main()
38 info->expected, info->count, u_prim_name(info->prim_type), n); in main()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp314 outer_tf_components(pipe_prim_type prim_type) in outer_tf_components() argument
316 switch (prim_type) { in outer_tf_components()
328 r600_lower_tess_io_impl(nir_builder *b, nir_instr *instr, enum pipe_prim_type prim_type) in r600_lower_tess_io_impl() argument
410 auto ncomps = outer_tf_components(prim_type); in r600_lower_tess_io_impl()
437 bool r600_lower_tess_io(nir_shader *shader, enum pipe_prim_type prim_type) in r600_lower_tess_io() argument
451 progress |= r600_lower_tess_io_impl(&b, instr, prim_type); in r600_lower_tess_io()
468 bool r600_append_tcs_TF_emission(nir_shader *shader, enum pipe_prim_type prim_type) { in r600_append_tcs_TF_emission() argument
491 auto outer_comps = outer_tf_components(prim_type); in r600_append_tcs_TF_emission()
535 if (prim_type == PIPE_PRIM_LINES) in r600_append_tcs_TF_emission()
594 pipe_prim_type prim_type = *(pipe_prim_type *)_options; in r600_lower_tess_coord_impl() local
[all …]
Dsfn_nir.h95 bool r600_lower_tess_io(nir_shader *shader, enum pipe_prim_type prim_type);
96 bool r600_append_tcs_TF_emission(nir_shader *shader, enum pipe_prim_type prim_type);
97 bool r600_lower_tess_coord(nir_shader *sh, enum pipe_prim_type prim_type);
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
Des2gears-a320.log132 prim_type: DI_PT_POINTLIST_PSIZE (1)
427 prim_type: DI_PT_RECTLIST (8)
840 prim_type: DI_PT_TRISTRIP (6)
961 prim_type: DI_PT_TRISTRIP (6)
1009 prim_type: DI_PT_TRISTRIP (6)
1057 prim_type: DI_PT_TRISTRIP (6)
1105 prim_type: DI_PT_TRISTRIP (6)
1153 prim_type: DI_PT_TRISTRIP (6)
1201 prim_type: DI_PT_TRISTRIP (6)
1249 prim_type: DI_PT_TRISTRIP (6)
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_util.h233 DRAW(enum pc_di_primtype prim_type, enum pc_di_src_sel source_select, in DRAW() argument
237 return (prim_type << 0) | (source_select << 6) | ((index_size & 1) << 11) | in DRAW()
243 DRAW_A20X(enum pc_di_primtype prim_type, in DRAW_A20X() argument
248 return (prim_type << 0) | (source_select << 6) | in DRAW_A20X()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline.c370 prim_type(unsigned prim, unsigned flags) in prim_type() function
400 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in fetch_pipeline_run()
428 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in fetch_pipeline_linear_run()
458 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in fetch_pipeline_linear_run_elts()
Ddraw_pt_fetch_shade_pipeline_llvm.c784 prim_type(enum pipe_prim_type prim, unsigned flags) in prim_type() function
814 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in llvm_middle_end_run()
842 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in llvm_middle_end_linear_run()
872 prim_info.prim = prim_type(fpme->input_prim, prim_flags); in llvm_middle_end_linear_run_elts()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.h39 DRAW4(enum pc_di_primtype prim_type, enum pc_di_src_sel source_select, in DRAW4() argument
42 return CP_DRAW_INDX_OFFSET_0_PRIM_TYPE(prim_type) | in DRAW4()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.h76 enum pipe_prim_type prim_type; member
Dd3d12_draw.cpp616 topology(enum pipe_prim_type prim_type, uint8_t patch_vertices) in topology() argument
618 switch (prim_type) { in topology()
654 debug_printf("pipe_prim_type: %s\n", u_prim_name(prim_type)); in topology()
712 prim_supported(enum pipe_prim_type prim_type) in prim_supported() argument
714 switch (prim_type) { in prim_supported()
960 if (ctx->gfx_pipeline_state.prim_type != dinfo->mode) { in d3d12_draw_vbo()
961 ctx->gfx_pipeline_state.prim_type = (enum pipe_prim_type)dinfo->mode; in d3d12_draw_vbo()
Dd3d12_pipeline_state.cpp221 enum pipe_prim_type reduced_prim = state->prim_type == PIPE_PRIM_PATCHES ? in create_gfx_pipeline_state()
222 PIPE_PRIM_PATCHES : u_reduced_prim(state->prim_type); in create_gfx_pipeline_state()
/third_party/mesa3d/src/freedreno/decode/
Dcffdec.c1875 uint32_t prim_type = dwords[1] & 0x1f; in draw_indx_common() local
1880 primtype = rnn_enumname(rnn, "pc_di_primtype", prim_type); in draw_indx_common()
1885 printl(2, "%sprim_type: %s (%d)\n", levels[level], primtype, prim_type); in draw_indx_common()
1993 uint32_t prim_type = dwords[0] & 0x1f; in cp_draw_indx_offset() local
1995 do_query(rnn_enumname(rnn, "pc_di_primtype", prim_type), num_indices); in cp_draw_indx_offset()
2006 uint32_t prim_type = dwords[0] & 0x1f; in cp_draw_indx_indirect() local
2009 do_query(rnn_enumname(rnn, "pc_di_primtype", prim_type), 0); in cp_draw_indx_indirect()
2030 uint32_t prim_type = dwords[0] & 0x1f; in cp_draw_indirect() local
2033 do_query(rnn_enumname(rnn, "pc_di_primtype", prim_type), 0); in cp_draw_indirect()
2045 uint32_t prim_type = dwords[0] & 0x1f; in cp_draw_indirect_multi() local
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.h102 uint8_t prim_type; /* point, line strip or tri strip */ member
Dnv50_program.c431 prog->gp.prim_type = NV50_3D_GP_OUTPUT_PRIMITIVE_TYPE_LINE_STRIP; in nv50_program_translate()
434 prog->gp.prim_type = NV50_3D_GP_OUTPUT_PRIMITIVE_TYPE_TRIANGLE_STRIP; in nv50_program_translate()
439 prog->gp.prim_type = NV50_3D_GP_OUTPUT_PRIMITIVE_TYPE_POINTS; in nv50_program_translate()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_context.c142 enum pipe_prim_type prim_type = u_base_prim_type(v3d->prim_mode); in v3d_update_primitive_counters() local
143 uint32_t num_verts = u_vertices_for_prims(prim_type, in v3d_update_primitive_counters()
/third_party/openssl/crypto/asn1/
Dasn1_local.h34 int prim_type; member
/third_party/node/deps/openssl/openssl/crypto/asn1/
Dasn1_local.h34 int prim_type; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_draw.c244 .prim_type = ctx->screen->primtypes[info->mode], in fd6_draw_vbo()
266 draw0.prim_type = DI_PT_PATCHES0 + ctx->patch_vertices; in fd6_draw_vbo()

12