Home
last modified time | relevance | path

Searched refs:so_target (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp139 struct pipe_stream_output_target *so_target = in IaSetVertexBuffers() local
140 res ? res->so_target : NULL; in IaSetVertexBuffers()
142 if (so_target && pDevice->draw_so_target != so_target) { in IaSetVertexBuffers()
147 so_target); in IaSetVertexBuffers()
DShader.cpp942 struct pipe_stream_output_target *so_target = in SoSetTargets() local
943 resource ? resource->so_target : NULL; in SoSetTargets()
948 if (!so_target || in SoSetTargets()
949 so_target->buffer != buffer || in SoSetTargets()
950 so_target->buffer_size != buffer_size) { in SoSetTargets()
951 if (so_target) { in SoSetTargets()
952 pipe_so_target_reference(&so_target, NULL); in SoSetTargets()
954 so_target = pipe->create_stream_output_target(pipe, buffer, in SoSetTargets()
957 resource->so_target = so_target; in SoSetTargets()
960 pDevice->so_targets[i] = so_target; in SoSetTargets()
DState.h156 struct pipe_stream_output_target *so_target; member
DResource.cpp446 if (pResource->so_target) { in DestroyResource()
447 pipe_so_target_reference(&pResource->so_target, NULL); in DestroyResource()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c64 llvmpipe_so_offset(struct pipe_stream_output_target *so_target) in llvmpipe_so_offset() argument
66 struct draw_so_target *target = (struct draw_so_target *)so_target; in llvmpipe_so_offset()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp424 struct zink_so_target *so_target = in zink_draw() local
503 if (so_target && so_target->counter_buffer_valid) { in zink_draw()
504 struct zink_resource *res = zink_resource(so_target->counter_buffer); in zink_draw()
829 if (so_target && screen->info.tf_props.transformFeedbackDraw) { in zink_draw()
834 if (so_target->counter_buffer_valid) { in zink_draw()
837 zink_batch_reference_resource_rw(batch, zink_resource(so_target->base.buffer), false); in zink_draw()
838 zink_batch_reference_resource_rw(batch, zink_resource(so_target->counter_buffer), true); in zink_draw()
840 … zink_resource(so_target->counter_buffer)->obj->buffer, so_target->counter_buffer_offset, 0, in zink_draw()
841 … MIN2(so_target->stride, screen->info.tf_props.maxTransformFeedbackBufferDataStride)); in zink_draw()
Dzink_context.h136 zink_so_target(struct pipe_stream_output_target *so_target) in zink_so_target() argument
138 return (struct zink_so_target *)so_target; in zink_so_target()
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py753 so_target = Struct()
754 so_target.resource = res
755 so_target.offset = buffer_offset
756 so_target.size = buffer_size
757 return so_target
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c1211 const bool changed = nv50->so_target[i] != targets[i]; in nv50_set_stream_output_targets()
1217 if (can_resume && changed && nv50->so_target[i]) { in nv50_set_stream_output_targets()
1218 nva0_so_target_save_offset(pipe, nv50->so_target[i], i, serialize); in nv50_set_stream_output_targets()
1227 pipe_so_target_reference(&nv50->so_target[i], targets[i]); in nv50_set_stream_output_targets()
1230 if (can_resume && nv50->so_target[i]) { in nv50_set_stream_output_targets()
1231 nva0_so_target_save_offset(pipe, nv50->so_target[i], i, serialize); in nv50_set_stream_output_targets()
1234 pipe_so_target_reference(&nv50->so_target[i], NULL); in nv50_set_stream_output_targets()
Dnv50_context.h190 struct pipe_stream_output_target *so_target[4]; member
Dnv50_shader_state.c699 struct nv50_so_target *targ = nv50_so_target(nv50->so_target[i]); in nv50_stream_output_validate()
/third_party/mesa3d/src/mesa/main/
Dtransformfeedback.c446 struct pipe_stream_output_target *so_target = in begin_transform_feedback() local
452 obj->targets[i] = so_target; in begin_transform_feedback()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c4157 (void *) ice->state.so_target[i]; in crocus_set_stream_output_targets()
4172 pipe_so_target_reference(&old_tgt[i], ice->state.so_target[i]); in crocus_set_stream_output_targets()
4173 pipe_so_target_reference(&ice->state.so_target[i], in crocus_set_stream_output_targets()
4182 (void *) ice->state.so_target[i]; in crocus_set_stream_output_targets()
4225 (void *) ice->state.so_target[i]; in crocus_set_stream_output_targets()
4408 (void *) ice->state.so_target[i]; in crocus_emit_so_svbi()
5299 struct crocus_resource *buf = (struct crocus_resource *)ice->state.so_target[buffer]->buffer; in emit_sol_surface()
5301 unsigned offset_dwords = ice->state.so_target[buffer]->buffer_offset / 4 + output->dst_offset; in emit_sol_surface()
5303 …size_t size_dwords = (ice->state.so_target[buffer]->buffer_offset + ice->state.so_target[buffer]->… in emit_sol_surface()
6565 (void *) ice->state.so_target[i];
[all …]
Dcrocus_context.h638 struct pipe_stream_output_target *so_target[PIPE_MAX_SO_BUFFERS]; member
Dcrocus_blit.c44 (struct pipe_stream_output_target**)ice->state.so_target); in crocus_blitter_begin()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.h795 struct pipe_stream_output_target *so_target[PIPE_MAX_SO_BUFFERS]; member
Diris_resolve.c420 struct iris_stream_output_target *tgt = (void *)ice->state.so_target[i]; in iris_predraw_flush_buffers()
Diris_state.c3889 (void *) ice->state.so_target[i]; in iris_set_stream_output_targets()
3898 pipe_so_target_reference(&ice->state.so_target[i], in iris_set_stream_output_targets()
3909 struct iris_stream_output_target *tgt = (void *) ice->state.so_target[i]; in iris_set_stream_output_targets()
5321 (void *) ice->state.so_target[i]; in iris_restore_render_saved_bos()
6252 (void *) ice->state.so_target[i]; in iris_upload_dirty_render_state()
7416 pipe_so_target_reference(&ice->state.so_target[i], NULL); in iris_destroy_state()
7522 struct pipe_stream_output_target *tgt = ice->state.so_target[i]; in iris_rebind_buffer()
Diris_program.c2225 (void *) ice->state.so_target[i]; in iris_update_compiled_shaders()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2597 struct pipe_stream_output_target *so_target = NULL; in util_blitter_clear_buffer() local
2644 so_target = pipe->create_stream_output_target(pipe, dst, offset, size); in util_blitter_clear_buffer()
2645 pipe->set_stream_output_targets(pipe, 1, &so_target, offsets); in util_blitter_clear_buffer()
2653 pipe_so_target_reference(&so_target, NULL); in util_blitter_clear_buffer()