Home
last modified time | relevance | path

Searched refs:streamout (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_streamout.c84 struct r600_atom *begin = &rctx->streamout.begin_atom; in r600_streamout_buffers_dirty()
85 unsigned num_bufs = util_bitcount(rctx->streamout.enabled_mask); in r600_streamout_buffers_dirty()
86 unsigned num_bufs_appended = util_bitcount(rctx->streamout.enabled_mask & in r600_streamout_buffers_dirty()
87 rctx->streamout.append_bitmask); in r600_streamout_buffers_dirty()
92 rctx->streamout.num_dw_for_end = in r600_streamout_buffers_dirty()
123 if (rctx->streamout.num_targets && rctx->streamout.begin_emitted) { in r600_set_streamout_targets()
129 …pipe_so_target_reference((struct pipe_stream_output_target**)&rctx->streamout.targets[i], targets[… in r600_set_streamout_targets()
138 for (; i < rctx->streamout.num_targets; i++) { in r600_set_streamout_targets()
139 pipe_so_target_reference((struct pipe_stream_output_target**)&rctx->streamout.targets[i], NULL); in r600_set_streamout_targets()
142 rctx->streamout.enabled_mask = enabled_mask; in r600_set_streamout_targets()
[all …]
Dr600_pipe_common.c306 ctx->streamout.suspended = false; in r600_preflush_suspend_features()
307 if (ctx->streamout.begin_emitted) { in r600_preflush_suspend_features()
309 ctx->streamout.suspended = true; in r600_preflush_suspend_features()
315 if (ctx->streamout.suspended) { in r600_postflush_resume_features()
316 ctx->streamout.append_bitmask = ctx->streamout.enabled_mask; in r600_postflush_resume_features()
Dr600_pipe_common.h519 struct r600_streamout streamout; member
846 return rctx->streamout.streamout_enabled || in r600_get_strmout_en()
847 rctx->streamout.prims_gen_query_enabled; in r600_get_strmout_en()
Dr600_hw_context.c71 if (ctx->b.streamout.begin_emitted) { in r600_need_cs_space()
72 num_dw += ctx->b.streamout.num_dw_for_end; in r600_need_cs_space()
390 r600_mark_atom_dirty(ctx, &ctx->b.streamout.enable_atom); in r600_begin_new_cs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c70 if (!sctx->streamout.enabled_mask) in si_streamout_buffers_dirty()
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()
98 if (sctx->streamout.targets[i]) in si_set_streamout_targets()
99 si_resource(sctx->streamout.targets[i]->b.buffer)->TC_L2_dirty = true; in si_set_streamout_targets()
143 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) in si_set_streamout_targets()
149 si_so_target_reference(&sctx->streamout.targets[i], targets[i]); in si_set_streamout_targets()
160 struct si_streamout_target *t = sctx->streamout.targets[i]; in si_set_streamout_targets()
169 for (; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
[all …]
Dsi_gfx_cs.c97 ctx->streamout.suspended = false; in si_flush_gfx_cs()
98 if (ctx->streamout.begin_emitted) { in si_flush_gfx_cs()
100 ctx->streamout.suspended = true; in si_flush_gfx_cs()
544 if (ctx->streamout.suspended) { in si_begin_new_gfx_cs()
545 ctx->streamout.append_bitmask = ctx->streamout.enabled_mask; in si_begin_new_gfx_cs()
Dsi_shader.h821 uint8_t streamout : 1; /* only used with NGG */ member
829 uint8_t streamout : 1;
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c60 struct svga_stream_output *streamout) in svga_define_stream_output() argument
106 streamout->declBuf = declBuf; in svga_define_stream_output()
113 streamout->declBuf, in svga_define_stream_output()
135 struct svga_stream_output *streamout; in svga_create_stream_output() local
168 streamout = CALLOC_STRUCT(svga_stream_output); in svga_create_stream_output()
170 if (!streamout) in svga_create_stream_output()
173 streamout->info = *info; in svga_create_stream_output()
174 streamout->id = id; in svga_create_stream_output()
175 streamout->pos_out_index = -1; in svga_create_stream_output()
176 streamout->streammask = 0; in svga_create_stream_output()
[all …]
Dsvga_state_tgsi_transform.c241 struct svga_stream_output *streamout = NULL; in emulate_point_sprite() local
269 streamout = orig_gs->base.stream_output; in emulate_point_sprite()
270 if (streamout) { in emulate_point_sprite()
271 pos_out_index = streamout->pos_out_index; in emulate_point_sprite()
311 if (streamout) { in emulate_point_sprite()
312 templ.stream_output = streamout->info; in emulate_point_sprite()
Dsvga_streamout.h47 struct svga_stream_output *streamout);
51 struct svga_stream_output *streamout);
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c184 for (unsigned i = 0; i < ctx->streamout.num_targets; i++) in batch_draw_tracking_for_dirty_bits()
185 if (ctx->streamout.targets[i]) in batch_draw_tracking_for_dirty_bits()
186 resource_written(batch, ctx->streamout.targets[i]->buffer); in batch_draw_tracking_for_dirty_bits()
258 if (ctx->streamout.num_targets > 0) { in update_draw_stats()
263 ctx->streamout.max_tf_vtx - ctx->streamout.verts_written; in update_draw_stats()
268 ctx->streamout.verts_written += verts_written; 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()
368 ctx->streamout.offsets[i] += draws[0].count; in fd_draw_vbo()
Dfreedreno_blitter.c88 util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets, in fd_blitter_pipe_begin()
89 ctx->streamout.targets); in fd_blitter_pipe_begin()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program_cache.c191 uint32_t prog_data_size, uint32_t *streamout, in crocus_upload_shader() argument
220 shader->streamout = streamout; in crocus_upload_shader()
229 ralloc_steal(shader, shader->streamout); in crocus_upload_shader()
Dcrocus_context.h391 uint32_t *streamout; member
658 uint32_t *streamout; member
915 uint32_t *streamout,
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_query_pipe.c78 if (v3d->streamout.num_targets > 0) in v3d_begin_query_pipe()
121 if (v3d->streamout.num_targets > 0) in v3d_end_query_pipe()
Dv3d_context.c145 for (int i = 0; i < v3d->streamout.num_targets; i++) { in v3d_update_primitive_counters()
147 v3d_stream_output_target(v3d->streamout.targets[i]); in v3d_update_primitive_counters()
Dv3dx_draw.c239 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3d_predraw_check_outputs()
1017 if (v3d->streamout.num_targets > 0 && in v3d_draw_vbo()
1131 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1253 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1257 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1263 for (int i = 0; i < v3d->streamout.num_targets; i++) in v3d_draw_vbo()
1264 v3d->streamout.offsets[i] += draws[0].count; in v3d_draw_vbo()
Dv3d_blit.c48 util_blitter_save_so_targets(v3d->blitter, v3d->streamout.num_targets, in v3d_blitter_save()
49 v3d->streamout.targets); in v3d_blitter_save()
57 util_blitter_save_so_targets(v3d->blitter, v3d->streamout.num_targets, in v3d_blitter_save()
58 v3d->streamout.targets); in v3d_blitter_save()
Dv3dx_emit.c739 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3dX()
781 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3dX()
789 uint32_t offset = (v3d->streamout.offsets[i] * in v3dX()
/third_party/mesa3d/docs/relnotes/
D9.0.2.rst103 - Revert "r600g: try to fix streamout for the cases where BURST_COUNT >
223 - r600g: fix streamout on RS780 and RS880
224 - r600g: advertise 32 streamout vec4 outputs
225 - r600g: fix broken streamout if streamout_begin caused a context flush
227 - r600g: try to fix streamout for the cases where BURST_COUNT > 0
D19.2.0.rst327 streamout
328 - radeonsi/gfx10: create the GS copy shader if using legacy streamout
332 - radeonsi/gfx10: always use the legacy pipeline for streamout
390 - radv: fix allocating number of user sgprs if streamout is used
D10.4.5.rst78 - r600g,radeonsi: don't append to streamout buffers that haven't been
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.h531 uint32_t *streamout; member
813 uint32_t *streamout; member
997 uint32_t *streamout,
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.c589 struct fd_streamout_stateobj *so = &ctx->streamout; in ir3_update_max_tf_vtx()
626 ctx->streamout.max_tf_vtx = maxvtxcnt; in ir3_update_max_tf_vtx()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h166 struct agx_streamout streamout; member

1234