Home
last modified time | relevance | path

Searched refs:prim_mode (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_fs.c150 enum pipe_prim_type prim_mode; in make_fs_key() local
158 prim_mode = shader->info.tes.prim_mode; in make_fs_key()
161 prim_mode = shader->info.gs.out_prim; in make_fs_key()
164 prim_mode = svga->curr.reduced_prim; in make_fs_key()
170 prim_mode == PIPE_PRIM_TRIANGLES); in make_fs_key()
Dsvga_shader.h100 enum pipe_prim_type prim_mode:8; member
275 enum pipe_prim_type prim_mode:8; member
346 enum pipe_prim_type prim_mode; member
Dsvga_state_ts.c58 key->tcs.prim_mode = tes->prim_mode; in make_tcs_key()
Dsvga_tgsi_vgpu10.c411 enum pipe_prim_type prim_mode; member
3023 emit->tes.prim_mode = prop->u[0].Data; in emit_vgpu10_property()
3111 enum pipe_prim_type prim_mode) in emit_tessellator_domain() argument
3117 switch (prim_mode) { in emit_tessellator_domain()
3126 debug_printf("Invalid tessellator prim mode %d\n", prim_mode); in emit_tessellator_domain()
3156 emit_tessellator_domain(emit, emit->tes.prim_mode); in emit_domain_shader_declarations()
3161 emit->tes.swizzle_max = emit->tes.prim_mode == PIPE_PRIM_TRIANGLES ? in emit_domain_shader_declarations()
3316 emit_tessellator_domain(emit, emit->key.tcs.prim_mode); in emit_hull_shader_declarations()
3324 else if (emit->key.tcs.prim_mode == PIPE_PRIM_LINES) { in emit_hull_shader_declarations()
3328 assert(emit->key.tcs.prim_mode == PIPE_PRIM_QUADS || in emit_hull_shader_declarations()
[all …]
Dsvga_tgsi.c499 info->tes.prim_mode = in svga_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/auxiliary/tessellator/
Dp_tessellator.cpp42 enum pipe_prim_type prim_mode; member in pipe_tessellator_wrap::pipe_ts
71 prim_mode = tes_prim_mode; in Init()
78 switch (prim_mode) in Tessellate()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c537 v3d_update_compiled_fs(struct v3d_context *v3d, uint8_t prim_mode) in v3d_update_compiled_fs() argument
559 key->is_points = (prim_mode == PIPE_PRIM_POINTS); in v3d_update_compiled_fs()
560 key->is_lines = (prim_mode >= PIPE_PRIM_LINES && in v3d_update_compiled_fs()
561 prim_mode <= PIPE_PRIM_LINE_STRIP); in v3d_update_compiled_fs()
658 v3d_update_compiled_gs(struct v3d_context *v3d, uint8_t prim_mode) in v3d_update_compiled_gs() argument
689 (prim_mode == PIPE_PRIM_POINTS && in v3d_update_compiled_gs()
732 v3d_update_compiled_vs(struct v3d_context *v3d, uint8_t prim_mode) in v3d_update_compiled_vs() argument
768 (prim_mode == PIPE_PRIM_POINTS && in v3d_update_compiled_vs()
841 v3d_update_compiled_shaders(struct v3d_context *v3d, uint8_t prim_mode) in v3d_update_compiled_shaders() argument
843 v3d_update_compiled_fs(v3d, prim_mode); in v3d_update_compiled_shaders()
[all …]
Dv3d_context.h533 uint8_t prim_mode; member
742 void v3d_update_compiled_shaders(struct v3d_context *v3d, uint8_t prim_mode);
Dv3d_context.c142 enum pipe_prim_type prim_type = u_base_prim_type(v3d->prim_mode); in v3d_update_primitive_counters()
Dv3dx_draw.c1018 u_base_prim_type(info->mode) != u_base_prim_type(v3d->prim_mode)) { in v3d_draw_vbo()
1068 if (v3d->prim_mode != info->mode) { in v3d_draw_vbo()
1069 v3d->prim_mode = info->mode; in v3d_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.h344 uint8_t prim_mode; member
502 bool vc4_update_compiled_shaders(struct vc4_context *vc4, uint8_t prim_mode);
Dvc4_program.c2677 vc4_update_compiled_fs(struct vc4_context *vc4, uint8_t prim_mode) in vc4_update_compiled_fs() argument
2698 key->is_points = (prim_mode == PIPE_PRIM_POINTS); in vc4_update_compiled_fs()
2699 key->is_lines = (prim_mode >= PIPE_PRIM_LINES && in vc4_update_compiled_fs()
2700 prim_mode <= PIPE_PRIM_LINE_STRIP); in vc4_update_compiled_fs()
2750 vc4_update_compiled_vs(struct vc4_context *vc4, uint8_t prim_mode) in vc4_update_compiled_vs() argument
2773 (prim_mode == PIPE_PRIM_POINTS && in vc4_update_compiled_vs()
2795 vc4_update_compiled_shaders(struct vc4_context *vc4, uint8_t prim_mode) in vc4_update_compiled_shaders() argument
2797 vc4_update_compiled_fs(vc4, prim_mode); in vc4_update_compiled_shaders()
2798 vc4_update_compiled_vs(vc4, prim_mode); in vc4_update_compiled_shaders()
Dvc4_draw.c355 if (vc4->prim_mode != info->mode) { in vc4_draw_vbo()
356 vc4->prim_mode = info->mode; in vc4_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.h80 enum pipe_prim_type prim_mode; member
Ddraw_tess.c357 struct pipe_tessellator *ptess = p_tess_init(shader->prim_mode, in draw_tess_eval_shader_run()
550 tes->prim_mode = tes->info.properties[TGSI_PROPERTY_TES_PRIM_MODE]; in draw_create_tess_eval_shader()
646 else if (shader->prim_mode == PIPE_PRIM_LINES) in get_tes_output_prim()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h153 unsigned prim_mode:3; member
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_dump_defines.c494 DEFINE_UTIL_STR_CONTINUOUS(prim_mode) in DEFINE_UTIL_STR_CONTINUOUS() argument
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_draw.c72 if (ice->state.prim_mode != info->mode) { in iris_update_draw_info()
73 ice->state.prim_mode = info->mode; in iris_update_draw_info()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_draw.c139 if (ice->state.prim_mode != mode) { in crocus_update_draw_info()
140 ice->state.prim_mode = mode; in crocus_update_draw_info()
Dcrocus_context.h588 enum pipe_prim_type prim_mode:8; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_tess.cpp40 m_tcs_prim_mode(key.tcs.prim_mode) in TCSShader()
Dsfn_nir.cpp737 u_tess_prim_from_shader(sh->info.tess._primitive_mode) : key->tcs.prim_mode; in r600_shader_from_nir()
743 (pipe_prim_type)key->tcs.prim_mode); in r600_shader_from_nir()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c312 switch (shader->key.ge.part.tcs.epilog.prim_mode) { in si_write_tess_factors()
365 if (shader->key.ge.part.tcs.epilog.prim_mode == TESS_PRIMITIVE_ISOLINES) { in si_write_tess_factors()
Dsi_shader.h577 unsigned prim_mode : 3; member
/third_party/mesa3d/docs/relnotes/
D19.1.8.rst172 - iris: Initialize ice->state.prim_mode to an invalid value

12