Home
last modified time | relevance | path

Searched refs:primitive_restart (Results 1 – 25 of 141) sorted by relevance

123456

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.h55 bool primitive_restart);
58 fd6_rasterizer_state(struct fd_context *ctx, bool primitive_restart) assert_dt in fd6_rasterizer_state() argument
62 unsigned variant = primitive_restart; in fd6_rasterizer_state()
66 ctx, ctx->rasterizer, primitive_restart); in fd6_rasterizer_state()
Dfd6_rasterizer.c40 bool primitive_restart) in __fd6_setup_rasterizer_stateobj() argument
79 .primitive_restart = primitive_restart, )); in __fd6_setup_rasterizer_stateobj()
Dfd6_draw.c126 (ctx->last.primitive_restart != emit->primitive_restart)) { in fixup_draw_state()
129 ctx->last.primitive_restart = emit->primitive_restart; in fixup_draw_state()
163 .primitive_restart = info->primitive_restart && info->index_size, in fd6_draw_vbo()
328 info->primitive_restart ? info->restart_index : 0xffffffff; in fd6_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_push.c50 bool primitive_restart; member
95 if (ctx->primitive_restart) in emit_vertices_i08()
127 if (ctx->primitive_restart) in emit_vertices_i16()
159 if (ctx->primitive_restart) in emit_vertices_i32()
240 ctx.primitive_restart = info->primitive_restart; in nv30_push_vbo()
245 ctx.primitive_restart = false; in nv30_push_vbo()
251 PUSH_DATA (ctx.push, info->primitive_restart); in nv30_push_vbo()
253 nv30->state.prim_restart = info->primitive_restart; in nv30_push_vbo()
Dnv30_vbo.c566 if (!info->primitive_restart &&
627 if (info->primitive_restart != nv30->state.prim_restart) {
628 if (info->primitive_restart) {
639 nv30->state.prim_restart = info->primitive_restart;
641 if (info->primitive_restart) {
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_primitive_restart.c171 bool primitive_restart, in vbo_sw_primitive_restart_common_start() argument
284 bool primitive_restart, in vbo_sw_primitive_restart() argument
296 primitive_restart, in vbo_sw_primitive_restart()
302 primitive_restart, in vbo_sw_primitive_restart()
405 bool primitive_restart, in brw_handle_primitive_restart() argument
425 if (!primitive_restart) { in brw_handle_primitive_restart()
439 brw_draw_prims(ctx, prims, nr_prims, ib, false, primitive_restart, in brw_handle_primitive_restart()
455 primitive_restart, restart_index); in brw_handle_primitive_restart()
Dbrw_draw.h52 bool primitive_restart,
72 bool primitive_restart,
85 bool primitive_restart,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_push.c26 bool primitive_restart; member
77 if (ctx->primitive_restart) in emit_vertices_i08()
116 if (ctx->primitive_restart) in emit_vertices_i16()
155 if (ctx->primitive_restart) in emit_vertices_i32()
294 ctx.primitive_restart = info->primitive_restart; in nv50_push_vbo()
310 ctx.primitive_restart = false; in nv50_push_vbo()
317 if (info->primitive_restart) { in nv50_push_vbo()
326 nv50->state.prim_restart = info->primitive_restart; in nv50_push_vbo()
/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c157 if (!info->primitive_restart && in util_primconvert_draw_vbo()
167 new_info.primitive_restart = info->primitive_restart; in util_primconvert_draw_vbo()
185 if (info->primitive_restart && in util_primconvert_draw_vbo()
193 new_info.primitive_restart = false; in util_primconvert_draw_vbo()
220 new_info.primitive_restart ? PR_ENABLE : PR_DISABLE, in util_primconvert_draw_vbo()
271 if (pc->cfg.fixed_prim_restart && new_info.primitive_restart) { in util_primconvert_draw_vbo()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c326 unsigned index_size, bool primitive_restart, in vbo_get_minmax_index() argument
346 primitive_restart, indices, in vbo_get_minmax_index()
366 bool primitive_restart, in vbo_get_minmax_indices() argument
391 primitive_restart, restart_index, in vbo_get_minmax_indices()
429 info->primitive_restart, info->restart_index, in vbo_get_minmax_indices_gallium()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.cpp842 (key->u.primitive_restart && in si_get_init_multi_vgt_param()
890 if (!wd_switch_on_eop && key->u.primitive_restart) in si_get_init_multi_vgt_param()
917 for (int primitive_restart = 0; primitive_restart < 2; primitive_restart++) in si_init_ia_multi_vgt_param_table() local
929 key.u.primitive_restart = primitive_restart; in si_init_ia_multi_vgt_param_table()
979 unsigned instance_count, bool primitive_restart, in si_get_ia_multi_vgt_param() argument
1001 key.u.primitive_restart = !IS_DRAW_VERTEX_STATE && primitive_restart; in si_get_ia_multi_vgt_param()
1154 static bool si_prim_restart_index_changed(struct si_context *sctx, bool primitive_restart, in si_prim_restart_index_changed() argument
1157 return primitive_restart && (restart_index != sctx->last_restart_index || in si_prim_restart_index_changed()
1166 unsigned instance_count, bool primitive_restart, in si_emit_ia_multi_vgt_param() argument
1174 (sctx, indirect, prim, num_patches, instance_count, primitive_restart, in si_emit_ia_multi_vgt_param()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_draw.c186 const unsigned cut_index = info->primitive_restart ? info->restart_index : in crocus_update_draw_info()
188 if (ice->state.primitive_restart != info->primitive_restart || in crocus_update_draw_info()
192 ice->state.primitive_restart = info->primitive_restart; in crocus_update_draw_info()
377 if (info->primitive_restart && !can_cut_index_handle_prim(ice, info)) { in crocus_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_draw.c103 const unsigned cut_index = info->primitive_restart ? info->restart_index : in iris_update_draw_info()
105 if (ice->state.primitive_restart != info->primitive_restart || in iris_update_draw_info()
108 ice->state.primitive_restart = info->primitive_restart; in iris_update_draw_info()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp64 !info->primitive_restart && in swr_draw_vbo()
150 if (info->primitive_restart) in swr_draw_vbo()
154 velems->fsState.bEnableCutIndex = info->primitive_restart; in swr_draw_vbo()
250 feState.bEnableCutIndex = info->primitive_restart; in swr_draw_vbo()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c101 bool primitive_restart, in st_feedback_draw_vbo() argument
126 info.primitive_restart = false; in st_feedback_draw_vbo()
138 primitive_restart, restart_index); in st_feedback_draw_vbo()
220 info.primitive_restart = primitive_restart; in st_feedback_draw_vbo()
Dst_draw.h57 bool primitive_restart,
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.2.x/
Dgles3-gtf-master.txt129 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.4.x/
Dgles3-gtf-master.txt130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
139 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.3.x/
Dgles3-gtf-master.txt130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
139 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.2.x/src/
Dgles3-gtf-master.txt129 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.3.x/src/
Dgles3-gtf-master.txt130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
139 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.4.x/src/
Dgles3-gtf-master.txt130 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_basic
131 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_elements
132 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_mode
133 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete
134 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_upconvert
135 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_instance_id
136 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_primitive_id
137 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_vao_state
138 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_draw_arrays
139 GTF-GLES3.gtf.GL3Tests.primitive_restart.primitive_restart_incomplete2
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c237 assert(info->primitive_restart); in util_prim_restart_convert_to_direct()
303 assert(info->primitive_restart); in util_draw_vbo_without_prim_restart()
351 new_info.primitive_restart = FALSE; in util_draw_vbo_without_prim_restart()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c60 OUT_RING(ring, info->primitive_restart ? /* PC_RESTART_INDEX */ in draw_impl()
105 if (info->mode != PIPE_PRIM_MAX && !indirect && !info->primitive_restart && in fd4_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c83 OUT_RING(ring, info->primitive_restart ? /* PC_RESTART_INDEX */ in draw_impl()
120 if (info->mode != PIPE_PRIM_MAX && !indirect && !info->primitive_restart && in fd3_draw_vbo()

123456