Home
last modified time | relevance | path

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

12

/external/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.c330 ctx->streamout.suspended = false; in r600_preflush_suspend_features()
331 if (ctx->streamout.begin_emitted) { in r600_preflush_suspend_features()
333 ctx->streamout.suspended = true; in r600_preflush_suspend_features()
339 if (ctx->streamout.suspended) { in r600_postflush_resume_features()
340 ctx->streamout.append_bitmask = ctx->streamout.enabled_mask; in r600_postflush_resume_features()
Dr600_pipe_common.h535 struct r600_streamout streamout; member
842 return rctx->streamout.streamout_enabled || in r600_get_strmout_en()
843 rctx->streamout.prims_gen_query_enabled; in r600_get_strmout_en()
Dr600_hw_context.c68 if (ctx->b.streamout.begin_emitted) { in r600_need_cs_space()
69 num_dw += ctx->b.streamout.num_dw_for_end; in r600_need_cs_space()
382 r600_mark_atom_dirty(ctx, &ctx->b.streamout.enable_atom); in r600_begin_new_cs()
Dr600_state_common.c1020 rctx->b.streamout.stride_in_dw = rctx->vs_shader->so.stride; in r600_bind_vs_state()
1035 rctx->b.streamout.stride_in_dw = rctx->gs_shader->so.stride; in r600_bind_gs_state()
1057 rctx->b.streamout.stride_in_dw = rctx->tes_shader->so.stride; in r600_bind_tes_state()
1745 rctx->b.streamout.enabled_stream_buffers_mask = clip_so_current->enabled_stream_buffers_mask; in r600_update_derived_state()
3078 for (i = 0; i < rctx->b.streamout.num_targets; i++) { in r600_invalidate_buffer()
3079 if (rctx->b.streamout.targets[i] && in r600_invalidate_buffer()
3080 rctx->b.streamout.targets[i]->b.buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
3081 if (rctx->b.streamout.begin_emitted) { in r600_invalidate_buffer()
3084 rctx->b.streamout.append_bitmask = rctx->b.streamout.enabled_mask; in r600_invalidate_buffer()
Dr600_blit.c68 util_blitter_save_so_targets(rctx->blitter, rctx->b.streamout.num_targets, in r600_blitter_begin()
69 (struct pipe_stream_output_target**)rctx->b.streamout.targets); in r600_blitter_begin()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c84 if (!sctx->streamout.enabled_mask) in si_streamout_buffers_dirty()
87 si_mark_atom_dirty(sctx, &sctx->streamout.begin_atom); in si_streamout_buffers_dirty()
99 unsigned old_num_targets = sctx->streamout.num_targets; in si_set_streamout_targets()
103 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) { in si_set_streamout_targets()
113 for (i = 0; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
114 if (sctx->streamout.targets[i]) in si_set_streamout_targets()
115 r600_resource(sctx->streamout.targets[i]->b.buffer)->TC_L2_dirty = true; in si_set_streamout_targets()
145 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) in si_set_streamout_targets()
151 si_so_target_reference(&sctx->streamout.targets[i], targets[i]); in si_set_streamout_targets()
162 for (; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
[all …]
Dsi_hw_context.c103 ctx->streamout.suspended = false; in si_context_gfx_flush()
104 if (ctx->streamout.begin_emitted) { in si_context_gfx_flush()
106 ctx->streamout.suspended = true; in si_context_gfx_flush()
256 si_mark_atom_dirty(ctx, &ctx->streamout.enable_atom); in si_begin_new_cs()
273 if (ctx->streamout.suspended) { in si_begin_new_cs()
274 ctx->streamout.append_bitmask = ctx->streamout.enabled_mask; in si_begin_new_cs()
Dsi_pipe.h474 struct si_streamout streamout; member
835 return sctx->streamout.streamout_enabled || in si_get_strmout_en()
836 sctx->streamout.prims_gen_query_enabled; in si_get_strmout_en()
Dsi_blit.c51 util_blitter_save_so_targets(sctx->blitter, sctx->streamout.num_targets, in si_blitter_begin()
52 (struct pipe_stream_output_target**)sctx->streamout.targets); in si_blitter_begin()
Dsi_state_shaders.c1743 bool streamout, in si_parse_next_shader_property() argument
1764 if (!info->writes_position && !streamout) in si_parse_next_shader_property()
2249 sctx->streamout.enabled_stream_buffers_mask = in si_update_streamout_state()
2251 sctx->streamout.stride_in_dw = shader_with_so->so.stride; in si_update_streamout_state()
Dsi_descriptors.c1579 if (sctx->streamout.begin_emitted) in si_rebind_buffer()
1581 sctx->streamout.append_bitmask = in si_rebind_buffer()
1582 sctx->streamout.enabled_mask; in si_rebind_buffer()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c52 struct svga_stream_output *streamout; in svga_create_stream_output() local
76 streamout = CALLOC_STRUCT(svga_stream_output); in svga_create_stream_output()
78 if (!streamout) in svga_create_stream_output()
81 streamout->info = *info; in svga_create_stream_output()
82 streamout->id = id; in svga_create_stream_output()
83 streamout->pos_out_index = -1; in svga_create_stream_output()
110 streamout->pos_out_index = i; in svga_create_stream_output()
150 FREE(streamout); in svga_create_stream_output()
151 streamout = NULL; in svga_create_stream_output()
154 return streamout; in svga_create_stream_output()
[all …]
Dsvga_state_tgsi_transform.c73 struct svga_stream_output *streamout = NULL; in emulate_point_sprite() local
96 streamout = orig_gs->base.stream_output; in emulate_point_sprite()
97 if (streamout) { in emulate_point_sprite()
98 pos_out_index = streamout->pos_out_index; in emulate_point_sprite()
137 if (streamout) { in emulate_point_sprite()
138 templ.stream_output = streamout->info; in emulate_point_sprite()
Dsvga_streamout.h44 struct svga_stream_output *streamout);
48 struct svga_stream_output *streamout);
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c96 if (ctx->streamout.num_targets > 0) in fd_draw_vbo()
220 for (i = 0; i < ctx->streamout.num_targets; i++) in fd_draw_vbo()
221 if (ctx->streamout.targets[i]) in fd_draw_vbo()
222 resource_written(batch, ctx->streamout.targets[i]->buffer); in fd_draw_vbo()
243 if (ctx->streamout.num_targets > 0) in fd_draw_vbo()
260 for (i = 0; i < ctx->streamout.num_targets; i++) in fd_draw_vbo()
261 ctx->streamout.offsets[i] += info->count; in fd_draw_vbo()
Dfreedreno_context.h284 struct fd_streamout_stateobj streamout; member
Dfreedreno_state.c456 struct fd_streamout_stateobj *so = &ctx->streamout; in fd_set_stream_output_targets()
Dfreedreno_resource.c1081 util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets, in fd_blitter_pipe_begin()
1082 ctx->streamout.targets); in fd_blitter_pipe_begin()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_blit.c174 util_blitter_save_so_targets(vc5->blitter, vc5->streamout.num_targets, in vc5_blitter_save()
175 vc5->streamout.targets); in vc5_blitter_save()
190 util_blitter_save_so_targets(vc5->blitter, vc5->streamout.num_targets, in vc5_blitter_save()
191 vc5->streamout.targets); in vc5_blitter_save()
Dvc5_draw.c424 if (vc5->streamout.num_targets) in vc5_draw_vbo()
428 vc5_tf_statistics_record(vc5, info, vc5->streamout.num_targets); in vc5_draw_vbo()
Dvc5_context.h387 struct vc5_streamout_stateobj streamout; member
Dvc5_emit.c573 struct vc5_streamout_stateobj *so = &vc5->streamout; in v3dX()
/external/mesa3d/src/gallium/docs/source/drivers/openswr/
Dfaq.rst38 shader and fragment shaders, streamout, and fragment blending. SWR
40 them through our driver yet. The fetch shader, streamout, and blend is
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.c693 struct fd_streamout_stateobj *so = &ctx->streamout; in emit_tfbos()
720 struct fd_streamout_stateobj *so = &ctx->streamout; in max_tf_vtx()

12