Home
last modified time | relevance | path

Searched refs:so_targets (Results 1 – 25 of 37) 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.h100 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
Dlp_surface.c152 (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.h94 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.h95 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()
461 svga->so_targets[i] = &sot->base; in svga_set_stream_output_targets()
483 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.c92 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
388 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_unbind_context()
1367 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in cso_set_stream_outputs()
1371 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_set_stream_outputs()
1392 pipe_so_target_reference(&ctx->so_targets_saved[i], ctx->so_targets[i]); in cso_save_stream_outputs()
1414 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1416 ctx->so_targets[i] = ctx->so_targets_saved[i]; in cso_restore_stream_outputs()
1422 pipe_so_target_reference(&ctx->so_targets[i], NULL); in cso_restore_stream_outputs()
1426 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.cpp1424 assert(num_targets <= ARRAY_SIZE(ctx->so_targets)); in d3d12_set_stream_output_targets()
1437 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in d3d12_set_stream_output_targets()
1440 pipe_so_target_reference(&ctx->so_targets[i], NULL); in d3d12_set_stream_output_targets()
1472 …truct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)ctx->so_targets[i]; in d3d12_enable_fake_so_buffers()
1485 if (ctx->so_targets[j] && ctx->so_targets[j]->buffer == target->base.buffer) { in d3d12_enable_fake_so_buffers()
1530 …truct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)ctx->so_targets[i]; in d3d12_disable_fake_so_buffers()
1569 if (ctx->so_targets[j] && ctx->so_targets[j]->buffer == target->base.buffer) in d3d12_disable_fake_so_buffers()
Dd3d12_draw.cpp694 struct pipe_stream_output_target **so_targets = ctx->fake_so_buffer_factor ? ctx->fake_so_targets in d3d12_draw_vbo() local
695 : ctx->so_targets; in d3d12_draw_vbo()
699 … struct d3d12_stream_output_target *target = (struct d3d12_stream_output_target *)so_targets[i]; in d3d12_draw_vbo()
Dd3d12_context.h195 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_context.h182 pipe_stream_output_target *so_targets[MAX_SO_STREAMS];
Dswr_state.cpp856 struct pipe_stream_output_target *target = ctx->so_targets[i]; in swr_update_resource_status()
2019 if (ctx->so_targets[i]) { in swr_update_derived()
2022 (gfxptr_t)(swr_resource_data(ctx->so_targets[i]->buffer) + in swr_update_derived()
2023 ctx->so_targets[i]->buffer_offset); in swr_update_derived()
2024 buffer.bufferSize = ctx->so_targets[i]->buffer_size >> 2; in swr_update_derived()
2150 (struct pipe_stream_output_target **)&swr->so_targets[i], in swr_set_so_targets()
2156 (struct pipe_stream_output_target **)&swr->so_targets[i], NULL); in swr_set_so_targets()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp32 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_emit_xfb_counter_barrier()
74 struct zink_so_target *t = (struct zink_so_target *)ctx->so_targets[i]; in zink_emit_stream_output_targets()
524 struct zink_so_target *t = (struct zink_so_target *)ctx->so_targets[i]; in zink_draw_vbo()
778 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw_vbo()
846 struct zink_so_target *t = zink_so_target(ctx->so_targets[i]); in zink_draw_vbo()
Dzink_context.h353 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_OUTPUTS]; member
Dzink_context.c3620 if (ctx->so_targets[i]) { in zink_set_stream_output_targets()
3621 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3627 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
3633 pipe_so_target_reference(&ctx->so_targets[i], targets[i]); in zink_set_stream_output_targets()
3645 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3652 if (ctx->so_targets[i]) { in zink_set_stream_output_targets()
3653 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in zink_set_stream_output_targets()
3659 pipe_so_target_reference(&ctx->so_targets[i], NULL); in zink_set_stream_output_targets()
3781 if (ctx->so_targets[i]) { in rebind_buffer()
3782 struct zink_resource *so = zink_resource(ctx->so_targets[i]->buffer); in rebind_buffer()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DState.h84 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
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()
DDevice.cpp329 pipe_so_target_reference(&pDevice->so_targets[i], NULL); in DestroyDevice()

12