Home
last modified time | relevance | path

Searched refs:num_targets (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c77 static void si_set_streamout_targets(struct pipe_context *ctx, unsigned num_targets, in si_set_streamout_targets() argument
82 unsigned old_num_targets = sctx->streamout.num_targets; in si_set_streamout_targets()
87 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) { in si_set_streamout_targets()
97 for (i = 0; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
132 if (num_targets) { in si_set_streamout_targets()
146 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) in si_set_streamout_targets()
151 for (i = 0; i < num_targets; i++) { in si_set_streamout_targets()
172 for (; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
176 sctx->streamout.num_targets = num_targets; in si_set_streamout_targets()
180 if (num_targets) { in si_set_streamout_targets()
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_streamout.c73 unsigned num_targets, in virgl_set_so_targets() argument
79 for (i = 0; i < num_targets; i++) { in virgl_set_so_targets()
91 for (i = num_targets; i < vctx->num_so_targets; i++) in virgl_set_so_targets()
93 vctx->num_so_targets = num_targets; in virgl_set_so_targets()
94 virgl_encoder_set_so_targets(vctx, num_targets, targets, 0);//append_bitmask); in virgl_set_so_targets()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_streamout.c114 unsigned num_targets, in r600_set_streamout_targets() argument
123 if (rctx->streamout.num_targets && rctx->streamout.begin_emitted) { in r600_set_streamout_targets()
128 for (i = 0; i < num_targets; i++) { in r600_set_streamout_targets()
138 for (; i < rctx->streamout.num_targets; i++) { in r600_set_streamout_targets()
144 rctx->streamout.num_targets = num_targets; in r600_set_streamout_targets()
147 if (num_targets) { in r600_set_streamout_targets()
190 for (i = 0; i < rctx->streamout.num_targets; i++) { in r600_emit_streamout_begin()
263 for (i = 0; i < rctx->streamout.num_targets; i++) { in r600_emit_streamout_end()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_xformfb.c54 unsigned num_targets; member
96 for (i = 0; i < sobj->num_targets; i++) { in st_delete_transform_feedback()
143 sobj->num_targets = i+1; in st_begin_transform_feedback()
150 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_begin_transform_feedback()
177 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_resume_transform_feedback()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_so.c64 unsigned num_targets, in softpipe_set_so_targets() argument
71 for (i = 0; i < num_targets; i++) { in softpipe_set_so_targets()
84 softpipe->num_so_targets = num_targets; in softpipe_set_so_targets()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c72 unsigned num_targets, in llvmpipe_set_so_targets() argument
78 for (i = 0; i < num_targets; i++) { in llvmpipe_set_so_targets()
105 llvmpipe->num_so_targets = num_targets; in llvmpipe_set_so_targets()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c552 fd_set_stream_output_targets(struct pipe_context *pctx, unsigned num_targets, in fd_set_stream_output_targets() argument
560 debug_assert(num_targets <= ARRAY_SIZE(so->targets)); in fd_set_stream_output_targets()
564 if (num_targets && !so->num_targets) { in fd_set_stream_output_targets()
566 } else if (so->num_targets && !num_targets) { in fd_set_stream_output_targets()
571 for (i = 0; i < num_targets; i++) { in fd_set_stream_output_targets()
591 for (; i < so->num_targets; i++) { in fd_set_stream_output_targets()
595 so->num_targets = num_targets; in fd_set_stream_output_targets()
Dfreedreno_draw.c184 for (unsigned i = 0; i < ctx->streamout.num_targets; i++) in batch_draw_tracking_for_dirty_bits()
258 if (ctx->streamout.num_targets > 0) { in update_draw_stats()
321 if ((ctx->streamout.num_targets > 0) && (num_draws > 1)) { in fd_draw_vbo()
366 for (unsigned i = 0; i < ctx->streamout.num_targets; i++) { in fd_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_so_emit.c98 for (i = 0; i < draw->so.num_targets; ++i) { in draw_pt_so_emit_prepare()
135 for (i = 0; i < draw->so.num_targets; i++) { in so_emit_prim()
165 for (ob = 0; ob < draw->so.num_targets; ++ob) { in so_emit_prim()
219 for (ob = 0; ob < draw->so.num_targets; ++ob) { in so_emit_prim()
295 if (!draw->so.num_targets) in draw_pt_so_emit()
Ddraw_context.c1081 int num_targets, in draw_set_mapped_so_targets() argument
1088 for (i = 0; i < num_targets; i++) in draw_set_mapped_so_targets()
1090 for (i = num_targets; i < PIPE_MAX_SO_BUFFERS; i++) in draw_set_mapped_so_targets()
1093 draw->so.num_targets = num_targets; in draw_set_mapped_so_targets()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c417 unsigned num_targets, in svga_set_stream_output_targets() argument
425 boolean begin_so_queries = num_targets > 0; in svga_set_stream_output_targets()
428 num_targets); in svga_set_stream_output_targets()
448 assert(num_targets <= SVGA3D_DX_MAX_SOTARGETS); in svga_set_stream_output_targets()
450 for (i = 0; i < num_targets; i++) { in svga_set_stream_output_targets()
486 num_so_targets = MAX2(svga->num_so_targets, num_targets); in svga_set_stream_output_targets()
489 svga->num_so_targets = num_targets; in svga_set_stream_output_targets()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.h554 unsigned num_targets, in util_blitter_save_so_targets() argument
558 assert(num_targets <= ARRAY_SIZE(blitter->saved_so_targets)); in util_blitter_save_so_targets()
560 blitter->saved_num_so_targets = num_targets; in util_blitter_save_so_targets()
561 for (i = 0; i < num_targets; i++) in util_blitter_save_so_targets()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_query_pipe.c78 if (v3d->streamout.num_targets > 0) in v3d_begin_query_pipe()
120 if (v3d->streamout.num_targets > 0) in v3d_end_query_pipe()
Dv3dx_state.c1215 unsigned num_targets, in v3d_set_stream_output_targets() argument
1223 assert(num_targets <= ARRAY_SIZE(so->targets)); in v3d_set_stream_output_targets()
1230 if (num_targets == 0 && so->num_targets > 0) in v3d_set_stream_output_targets()
1233 for (i = 0; i < num_targets; i++) { in v3d_set_stream_output_targets()
1240 for (; i < so->num_targets; i++) in v3d_set_stream_output_targets()
1243 so->num_targets = num_targets; in v3d_set_stream_output_targets()
1246 if (num_targets > 0) in v3d_set_stream_output_targets()
Dv3dx_draw.c237 for (int i = 0; i < so->num_targets; i++) { in v3d_predraw_check_outputs()
993 if (v3d->streamout.num_targets > 0 && in v3d_draw_vbo()
1107 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1229 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1233 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1239 for (int i = 0; i < v3d->streamout.num_targets; i++) in v3d_draw_vbo()
Dv3dx_emit.c734 if (so->num_targets) { in v3dX()
755 so->num_targets; in v3dX()
776 for (int i = 0; i < so->num_targets; i++) { in v3dX()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.c1010 unsigned num_targets, in panfrost_set_stream_output_targets() argument
1017 assert(num_targets <= ARRAY_SIZE(so->targets)); in panfrost_set_stream_output_targets()
1019 for (unsigned i = 0; i < num_targets; i++) { in panfrost_set_stream_output_targets()
1026 for (unsigned i = 0; i < so->num_targets; i++) in panfrost_set_stream_output_targets()
1029 so->num_targets = num_targets; in panfrost_set_stream_output_targets()
Dpan_context.h118 unsigned num_targets; member
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp232 unsigned num_targets = sizeof(targets) / sizeof(GLenum); in iterate() local
281 for (unsigned j = 0; j < num_targets; ++j) in iterate()
302 for (unsigned i = 0; i < num_targets; ++i) in iterate()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_context.c592 unsigned num_targets, in dd_context_set_stream_output_targets() argument
600 dstate->num_so_targets = num_targets; in dd_context_set_stream_output_targets()
601 safe_memcpy(dstate->so_targets, tgs, sizeof(*tgs) * num_targets); in dd_context_set_stream_output_targets()
602 safe_memcpy(dstate->so_offsets, offsets, sizeof(*offsets) * num_targets); in dd_context_set_stream_output_targets()
603 pipe->set_stream_output_targets(pipe, num_targets, tgs, offsets); in dd_context_set_stream_output_targets()
/third_party/ninja/misc/
Dwrite_fake_manifests.py226 def random_targets(num_targets, src_dir): argument
230 targets = [Target(gen, LIB) for i in xrange(num_targets - 1)]
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c1348 unsigned num_targets, in cso_set_stream_outputs() argument
1356 assert(num_targets == 0); in cso_set_stream_outputs()
1360 if (ctx->nr_so_targets == 0 && num_targets == 0) { in cso_set_stream_outputs()
1366 for (i = 0; i < num_targets; i++) { in cso_set_stream_outputs()
1374 pipe->set_stream_output_targets(pipe, num_targets, targets, in cso_set_stream_outputs()
1376 ctx->nr_so_targets = num_targets; in cso_set_stream_outputs()
Dcso_context.h96 unsigned num_targets,
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h48 unsigned num_targets; member
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.c563 if (so->num_targets == 0) in ir3_update_max_tf_vtx()
585 for (unsigned i = 0; i < so->num_targets; i++) { in ir3_update_max_tf_vtx()

123