Home
last modified time | relevance | path

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

123

/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.h520 struct r600_streamout streamout; member
826 return rctx->streamout.streamout_enabled || in r600_get_strmout_en()
827 rctx->streamout.prims_gen_query_enabled; in r600_get_strmout_en()
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_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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c79 if (!sctx->streamout.enabled_mask) in si_streamout_buffers_dirty()
91 unsigned old_num_targets = sctx->streamout.num_targets; in si_set_streamout_targets()
96 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) { in si_set_streamout_targets()
106 for (i = 0; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
107 if (sctx->streamout.targets[i]) in si_set_streamout_targets()
108 si_resource(sctx->streamout.targets[i]->b.buffer)->TC_L2_dirty = true; in si_set_streamout_targets()
154 if (sctx->streamout.num_targets && sctx->streamout.begin_emitted) in si_set_streamout_targets()
160 si_so_target_reference(&sctx->streamout.targets[i], targets[i]); in si_set_streamout_targets()
171 for (; i < sctx->streamout.num_targets; i++) in si_set_streamout_targets()
172 si_so_target_reference(&sctx->streamout.targets[i], NULL); in si_set_streamout_targets()
[all …]
Dsi_gfx_cs.c170 ctx->streamout.suspended = false; in si_flush_gfx_cs()
171 if (ctx->streamout.begin_emitted) { in si_flush_gfx_cs()
173 ctx->streamout.suspended = true; in si_flush_gfx_cs()
569 if (ctx->streamout.suspended) { in si_begin_new_gfx_cs()
570 ctx->streamout.append_bitmask = ctx->streamout.enabled_mask; in si_begin_new_gfx_cs()
/external/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_streamout.h47 struct svga_stream_output *streamout);
51 struct svga_stream_output *streamout);
Dsvga_state_tgsi_transform.c241 struct svga_stream_output *streamout = NULL; in emulate_point_sprite() local
264 streamout = orig_gs->base.stream_output; in emulate_point_sprite()
265 if (streamout) { in emulate_point_sprite()
266 pos_out_index = streamout->pos_out_index; in emulate_point_sprite()
305 if (streamout) { in emulate_point_sprite()
306 templ.stream_output = streamout->info; in emulate_point_sprite()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c212 for (unsigned i = 0; i < sh->streamout.so_info.num_outputs; i++) { in update_so_info()
213 struct pipe_stream_output *output = &sh->streamout.so_info.output[i]; in update_so_info()
215 sh->streamout.so_info_slots[i] = reverse_map[output->register_index]; in update_so_info()
224 void *streamout = NULL; in zink_shader_compile() local
225 …if (zs->streamout.so_info_slots && (zs->nir->info.stage != MESA_SHADER_VERTEX || !zs->has_geometry… in zink_shader_compile()
226 streamout = &zs->streamout; in zink_shader_compile()
227 …struct spirv_shader *spirv = nir_to_spirv(zs->nir, streamout, shader_slot_map, shader_slots_reserv… in zink_shader_compile()
352 memcpy(&ret->streamout.so_info, so_info, sizeof(struct pipe_stream_output_info)); in zink_shader_create()
353 ret->streamout.so_info_slots = malloc(so_info->num_outputs * sizeof(unsigned int)); in zink_shader_create()
354 assert(ret->streamout.so_info_slots); in zink_shader_create()
[all …]
Dzink_compiler.h63 struct zink_so_info streamout; member
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c194 for (unsigned i = 0; i < ctx->streamout.num_targets; i++) in batch_draw_tracking()
195 if (ctx->streamout.targets[i]) in batch_draw_tracking()
196 resource_written(batch, ctx->streamout.targets[i]->buffer); in batch_draw_tracking()
238 if (ctx->streamout.num_targets > 0) in fd_draw_vbo()
305 if (ctx->streamout.num_targets > 0) in fd_draw_vbo()
326 for (unsigned i = 0; i < ctx->streamout.num_targets; i++) in fd_draw_vbo()
327 ctx->streamout.offsets[i] += info->count; in fd_draw_vbo()
Dfreedreno_blitter.c93 util_blitter_save_so_targets(ctx->blitter, ctx->streamout.num_targets, in fd_blitter_pipe_begin()
94 ctx->streamout.targets); in fd_blitter_pipe_begin()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program_cache.c200 uint32_t *streamout, in iris_upload_shader() argument
254 shader->streamout = streamout; in iris_upload_shader()
265 ralloc_steal(shader, shader->streamout); in iris_upload_shader()
Diris_context.h457 uint32_t *streamout; member
734 uint32_t *streamout; member
902 uint32_t *streamout,
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_query.c88 if (v3d->streamout.num_targets > 0) in v3d_begin_query()
130 if (v3d->streamout.num_targets > 0) in v3d_end_query()
Dv3d_blit.c176 util_blitter_save_so_targets(v3d->blitter, v3d->streamout.num_targets, in v3d_blitter_save()
177 v3d->streamout.targets); in v3d_blitter_save()
193 util_blitter_save_so_targets(v3d->blitter, v3d->streamout.num_targets, in v3d_blitter_save()
194 v3d->streamout.targets); in v3d_blitter_save()
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.c227 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3d_predraw_check_outputs()
1143 if (v3d->streamout.num_targets > 0 && in v3d_draw_vbo()
1257 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1376 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1380 if (v3d->streamout.num_targets) in v3d_draw_vbo()
1386 for (int i = 0; i < v3d->streamout.num_targets; i++) in v3d_draw_vbo()
1387 v3d->streamout.offsets[i] += info->count; in v3d_draw_vbo()
Dv3dx_emit.c712 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3dX()
754 struct v3d_streamout_stateobj *so = &v3d->streamout; in v3dX()
762 uint32_t offset = (v3d->streamout.offsets[i] * in v3dX()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_export.cpp198 WriteoutInstruction(Instruction::streamout, value), in StreamOutIntruction()
223 assert(lhs.type() == streamout); in is_equal_to()
280 assert(lhs.type() == streamout); in is_equal_to()
Dsfn_instruction_base.h88 streamout, enumerator
/external/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
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1749 for (unsigned i = 0; i < ctx->streamout.num_targets; ++i) { in panfrost_emit_varying_descriptor()
1752 ctx->streamout.targets[i]); in panfrost_emit_varying_descriptor()
1760 ctx->streamout.num_targets, streamout_offsets, in panfrost_emit_varying_descriptor()
1767 ctx->streamout.num_targets, streamout_offsets, in panfrost_emit_varying_descriptor()
1774 MALI_ATTRIBUTE_BUFFER_LENGTH * (xfb_base + ctx->streamout.num_targets + 1), in panfrost_emit_varying_descriptor()
1780 memset(varyings + (xfb_base * ctx->streamout.num_targets), 0, sizeof(*varyings)); in panfrost_emit_varying_descriptor()
1787 for (unsigned i = 0; i < ctx->streamout.num_targets; ++i) { in panfrost_emit_varying_descriptor()
1791 ctx->streamout.targets[i]); in panfrost_emit_varying_descriptor()

123