Home
last modified time | relevance | path

Searched refs:prim_restart (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_meta.c135 bool prim_restart = type == DZN_INDIRECT_INDEXED_DRAW_TRIANGLE_FAN_PRIM_RESTART || in dzn_meta_indirect_draw_init() local
138 triangle_fan && prim_restart ? in dzn_meta_indirect_draw_init()
274 bool prim_restart = in dzn_meta_triangle_fan_rewrite_index_init() local
279 prim_restart ? in dzn_meta_triangle_fan_rewrite_index_init()
297 prim_restart ? in dzn_meta_triangle_fan_rewrite_index_init()
323 if (prim_restart) { in dzn_meta_triangle_fan_rewrite_index_init()
369 if (prim_restart) { in dzn_meta_triangle_fan_rewrite_index_init()
385 prim_restart ? in dzn_meta_triangle_fan_rewrite_index_init()
Ddzn_private.h108 dzn_index_type_from_dxgi_format(DXGI_FORMAT format, bool prim_restart) in dzn_index_type_from_dxgi_format() argument
113 return prim_restart ? DZN_INDEX_2B_WITH_PRIM_RESTART : DZN_INDEX_2B; in dzn_index_type_from_dxgi_format()
115 return prim_restart ? DZN_INDEX_4B_WITH_PRIM_RESTART : DZN_INDEX_4B; in dzn_index_type_from_dxgi_format()
Ddzn_nir.c119 bool prim_restart = type == DZN_INDIRECT_INDEXED_DRAW_TRIANGLE_FAN_PRIM_RESTART || in dzn_nir_indirect_draw_shader() local
226 if (prim_restart) { in dzn_nir_indirect_draw_shader()
256 prim_restart ? in dzn_nir_indirect_draw_shader()
Ddzn_cmd_buffer.c2598 ASSERTED bool prim_restart = in dzn_cmd_buffer_triangle_fan_rewrite_index() local
2601 assert(!prim_restart); in dzn_cmd_buffer_triangle_fan_rewrite_index()
2712 bool prim_restart = in dzn_cmd_buffer_indirect_draw() local
2779 prim_restart ? in dzn_cmd_buffer_indirect_draw()
2783 if (triangle_fan_index_buf_stride > 0 && prim_restart) in dzn_cmd_buffer_indirect_draw()
2793 if (prim_restart && count_buf) in dzn_cmd_buffer_indirect_draw()
2795 else if (prim_restart && !count_buf) in dzn_cmd_buffer_indirect_draw()
2797 else if (!prim_restart && count_buf) in dzn_cmd_buffer_indirect_draw()
2844 dzn_index_type_from_dxgi_format(cmdbuf->state.ib.view.Format, prim_restart) : in dzn_cmd_buffer_indirect_draw()
/third_party/mesa3d/src/util/indices/
Du_indices_gen.py210 def prim_restart(in_verts, out_verts, out_prims, close_func = None): function
260 prim_restart(2, 2, 1, close_func)
294 prim_restart(3, 3, 1, close_func)
312 prim_restart(3, 3, 1, close_func)
326 prim_restart(4, 3, 2)
337 prim_restart(4, 3, 2)
Du_indices.c128 unsigned prim_restart, in u_index_translator() argument
163 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim_restart][prim]; in u_index_translator()
Du_indices.h113 unsigned prim_restart,
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c25 bool prim_restart; member
258 if (unlikely(ctx->prim_restart)) in disp_vertices_i08()
315 if (unlikely(ctx->prim_restart)) in disp_vertices_i16()
372 if (unlikely(ctx->prim_restart)) in disp_vertices_i32()
583 ctx.prim_restart = info->primitive_restart; in nvc0_push_vbo()
597 if (nvc0->state.prim_restart) { in nvc0_push_vbo()
600 nvc0->state.prim_restart = info->primitive_restart; in nvc0_push_vbo()
Dnvc0_screen.h41 bool prim_restart; member
Dnvc0_vbo.c910 if (en != nvc0->state.prim_restart) { in nvc0_update_prim_restart()
918 nvc0->state.prim_restart = en; in nvc0_update_prim_restart()
Dnvc0_surface.c1369 if (nvc0->state.prim_restart) { in nvc0_blit_3d()
1371 nvc0->state.prim_restart = 0; in nvc0_blit_3d()
/third_party/mesa3d/docs/relnotes/
D21.1.2.rst88 - util/prim_restart: revert part of bad fix
138 - util/prim_restart: fix util_translate_prim_restart_ib
D21.2.0.rst1820 - crocus: restrict prim_restart on index buffer check to pre-hsw
2302 - util/prim_restart: revert part of bad fix
3863 - util/prim_restart: fix util_translate_prim_restart_ib
3962 - util/prim_restart: assert the index size at the start of the function
3963 - util/prim_restart: pre-trim degenerate primitives during draw rewrite
3964 - util/prim_restart: store index bounds while rewriting draws
3965 - util/prim_restart: store the total index count when rewriting draws
3966 - util/prim_restart: update index bounds before draws in util_draw_vbo_without_prim_restart
3967 - util/prim_restart: simplify util_draw_vbo_without_prim_restart a bit
3993 - util/prim_restart: use more direct conversion for restart index
[all …]
D20.3.0.rst1777 - gallium/indices: use prim_restart-helper for polygon
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_push.c322 if (nv50->state.prim_restart) { in nv50_push_vbo()
326 nv50->state.prim_restart = info->primitive_restart; in nv50_push_vbo()
Dnv50_screen.h43 bool prim_restart; member
Dnv50_vbo.c892 if (info->primitive_restart != nv50->state.prim_restart) { in nv50_draw_vbo()
904 nv50->state.prim_restart = info->primitive_restart; in nv50_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_context.h55 bool prim_restart; member
Dnv30_vbo.c627 if (info->primitive_restart != nv30->state.prim_restart) {
639 nv30->state.prim_restart = info->primitive_restart;
Dnv30_push.c253 nv30->state.prim_restart = info->primitive_restart; in nv30_push_vbo()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h670 bool prim_restart; member
Dcrocus_state.c7833 || ice->state.index_buffer.prim_restart != draw->primitive_restart
7861 ice->state.index_buffer.prim_restart = draw->primitive_restart;