Home
last modified time | relevance | path

Searched refs:so_targets (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_so.c89 …pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], targets[i]… in llvmpipe_set_so_targets()
92 if (!append && llvmpipe->so_targets[i]) { in llvmpipe_set_so_targets()
93 llvmpipe->so_targets[i]->internal_offset = offsets[i]; in llvmpipe_set_so_targets()
98 llvmpipe->so_targets[i]->mapping = buf; in llvmpipe_set_so_targets()
103 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); in llvmpipe_set_so_targets()
108 llvmpipe->so_targets); in llvmpipe_set_so_targets()
Dlp_context.h101 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dlp_surface.c162 (struct pipe_stream_output_target**)lp->so_targets); in lp_blit()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_so.c72 …pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], targets[i]… in softpipe_set_so_targets()
76 softpipe->so_targets[i]->mapping = buf; in softpipe_set_so_targets()
81 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL); in softpipe_set_so_targets()
87 softpipe->so_targets); in softpipe_set_so_targets()
Dsp_context.h86 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dsp_surface.c68 (struct pipe_stream_output_target**)sp->so_targets); in sp_blit()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_streamout.c84 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets()
88 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
92 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
Dvirgl_context.h94 struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c436 struct svga_buffer *sbuf = svga_buffer(svga->so_targets[i]->buffer); in svga_set_stream_output_targets()
444 for (i = 0; i < ARRAY_SIZE(svga->so_targets); i++) { in svga_set_stream_output_targets()
445 svga->vcount_so_targets[i] = svga->so_targets[i]; in svga_set_stream_output_targets()
466 svga->so_targets[i] = &sot->base; in svga_set_stream_output_targets()
488 svga->so_targets[i] = NULL; in svga_set_stream_output_targets()
Dsvga_pipe_draw.c349 for (unsigned i = 0; i < ARRAY_SIZE(svga->so_targets); i++) { in svga_draw_vbo()
Dsvga_pipe_clear.c51 (struct pipe_stream_output_target**)svga->so_targets); in begin_blit()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c93 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
396 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_unbind_context()
1403 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in cso_set_stream_outputs()
1407 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_set_stream_outputs()
1428 pipe_so_target_reference(&ctx->so_targets_saved[i], ctx->so_targets[i]); in cso_save_stream_outputs()
1450 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1452 ctx->so_targets[i] = ctx->so_targets_saved[i]; in cso_restore_stream_outputs()
1458 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1462 ctx->so_targets, offset); in cso_restore_stream_outputs()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c397 if (dstate->so_targets[i]) { in dd_dump_draw_vbo()
398 DUMP_I(stream_output_target, dstate->so_targets[i], i); in dd_dump_draw_vbo()
399 DUMP_M(resource, dstate->so_targets[i], buffer); in dd_dump_draw_vbo()
784 memset(state->base.so_targets, 0, in dd_init_copy_of_draw_state()
785 sizeof(state->base.so_targets)); in dd_init_copy_of_draw_state()
821 for (i = 0; i < ARRAY_SIZE(dst->so_targets); i++) in dd_unreference_copy_of_draw_state()
822 pipe_so_target_reference(&dst->so_targets[i], NULL); in dd_unreference_copy_of_draw_state()
861 pipe_so_target_reference(&dst->so_targets[i], src->so_targets[i]); in dd_copy_draw_state()
Ddd_pipe.h233 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.cpp1574 assert(num_targets <= ARRAY_SIZE(ctx->so_targets)); in d3d12_set_stream_output_targets()
1590 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in d3d12_set_stream_output_targets()
1595 pipe_so_target_reference(&ctx->so_targets[i], NULL); in d3d12_set_stream_output_targets()
1791 …truct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)ctx->so_targets[i]; in d3d12_enable_fake_so_buffers()
1804 if (ctx->so_targets[j] && ctx->so_targets[j]->buffer == target->base.buffer) { in d3d12_enable_fake_so_buffers()
1850 …truct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)ctx->so_targets[i]; in d3d12_disable_fake_so_buffers()
1930 if (ctx->so_targets[j] && ctx->so_targets[j]->buffer == target->base.buffer) in d3d12_disable_fake_so_buffers()
2186 …truct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)ctx->so_targets[i]; in d3d12_rebind_buffer()
Dd3d12_context.h225 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dd3d12_draw.cpp1155 struct pipe_stream_output_target **so_targets = ctx->fake_so_buffer_factor ? ctx->fake_so_targets in d3d12_draw_vbo() local
1156 : ctx->so_targets; in d3d12_draw_vbo()
1160 … struct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)so_targets[i]; in d3d12_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp24 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_emit_xfb_counter_barrier()
57 struct zink_so_target *t = (struct zink_so_target *)ctx->so_targets[i]; in zink_emit_stream_output_targets()
485 struct zink_so_target *t = (struct zink_so_target *)ctx->so_targets[i]; in zink_draw()
789 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw()
864 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw()
Dzink_context.h388 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_OUTPUTS]; member
Dzink_context.c3736 if (ctx->so_targets[i]) { in zink_set_stream_output_targets()
3737 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3743 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
3749 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in zink_set_stream_output_targets()
3754 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3761 if (ctx->so_targets[i]) { in zink_set_stream_output_targets()
3762 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3768 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
3888 if (ctx->so_targets[i]) { in rebind_buffer()
3889 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in rebind_buffer()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShader.cpp960 pDevice->so_targets[i] = so_target; in SoSetTargets()
964 pDevice->so_targets[SOTargets + i] = NULL; in SoSetTargets()
972 pipe->set_stream_output_targets(pipe, SOTargets, pDevice->so_targets, in SoSetTargets()
DState.h84 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
DDevice.cpp329 pipe_so_target_reference(&pDevice->so_targets[i], NULL); in DestroyDevice()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c182 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
3543 if (state->so_targets[idx]) in handle_bind_transform_feedback_buffers()
3544 state->pctx->stream_output_target_destroy(state->pctx, state->so_targets[idx]); in handle_bind_transform_feedback_buffers()
3546 state->so_targets[idx] = state->pctx->create_stream_output_target(state->pctx, in handle_bind_transform_feedback_buffers()
3573 state->so_targets, offsets); in handle_begin_transform_feedback()
3587 offset = state->pctx->stream_output_target_offset(state->so_targets[i]); in handle_end_transform_feedback()
4204 for (unsigned i = 0; i < ARRAY_SIZE(state->so_targets); i++) { in lvp_execute_cmds()
4205 if (state->so_targets[i]) { in lvp_execute_cmds()
4206 state->pctx->stream_output_target_destroy(state->pctx, state->so_targets[i]); in lvp_execute_cmds()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h640 int so_targets; member

12