• Home
  • Raw
  • Download

Lines Matching refs:streamout

84 	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()
144 rctx->streamout.num_targets = num_targets; in r600_set_streamout_targets()
145 rctx->streamout.append_bitmask = append_bitmask; in r600_set_streamout_targets()
150 rctx->set_atom_dirty(rctx, &rctx->streamout.begin_atom, false); in r600_set_streamout_targets()
184 struct r600_so_target **t = rctx->streamout.targets; in r600_emit_streamout_begin()
185 uint16_t *stride_in_dw = rctx->streamout.stride_in_dw; in r600_emit_streamout_begin()
190 for (i = 0; i < rctx->streamout.num_targets; i++) { in r600_emit_streamout_begin()
220 if (rctx->streamout.append_bitmask & (1 << i) && t[i]->buf_filled_size_valid) { in r600_emit_streamout_begin()
251 rctx->streamout.begin_emitted = true; in r600_emit_streamout_begin()
257 struct r600_so_target **t = rctx->streamout.targets; in r600_emit_streamout_end()
263 for (i = 0; i < rctx->streamout.num_targets; i++) { in r600_emit_streamout_end()
289 rctx->streamout.begin_emitted = false; in r600_emit_streamout_end()
306 unsigned strmout_buffer_val = rctx->streamout.hw_enabled_mask & in r600_emit_streamout_enable()
307 rctx->streamout.enabled_stream_buffers_mask; in r600_emit_streamout_enable()
325 unsigned old_hw_enabled_mask = rctx->streamout.hw_enabled_mask; in r600_set_streamout_enable()
327 rctx->streamout.streamout_enabled = enable; in r600_set_streamout_enable()
329 rctx->streamout.hw_enabled_mask = rctx->streamout.enabled_mask | in r600_set_streamout_enable()
330 (rctx->streamout.enabled_mask << 4) | in r600_set_streamout_enable()
331 (rctx->streamout.enabled_mask << 8) | in r600_set_streamout_enable()
332 (rctx->streamout.enabled_mask << 12); in r600_set_streamout_enable()
335 (old_hw_enabled_mask != rctx->streamout.hw_enabled_mask)) { in r600_set_streamout_enable()
336 rctx->set_atom_dirty(rctx, &rctx->streamout.enable_atom, true); in r600_set_streamout_enable()
346 rctx->streamout.num_prims_gen_queries += diff; in r600_update_prims_generated_query_state()
347 assert(rctx->streamout.num_prims_gen_queries >= 0); in r600_update_prims_generated_query_state()
349 rctx->streamout.prims_gen_query_enabled = in r600_update_prims_generated_query_state()
350 rctx->streamout.num_prims_gen_queries != 0; in r600_update_prims_generated_query_state()
353 rctx->set_atom_dirty(rctx, &rctx->streamout.enable_atom, true); in r600_update_prims_generated_query_state()
362 rctx->streamout.begin_atom.emit = r600_emit_streamout_begin; in r600_streamout_init()
363 rctx->streamout.enable_atom.emit = r600_emit_streamout_enable; in r600_streamout_init()
364 rctx->streamout.enable_atom.num_dw = 6; in r600_streamout_init()