/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_so.c | 89 …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()
|
D | lp_context.h | 101 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
D | lp_surface.c | 162 (struct pipe_stream_output_target**)lp->so_targets); in lp_blit()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_so.c | 72 …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()
|
D | sp_context.h | 86 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
D | sp_surface.c | 68 (struct pipe_stream_output_target**)sp->so_targets); in sp_blit()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_streamout.c | 84 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()
|
D | virgl_context.h | 94 struct virgl_so_target so_targets[PIPE_MAX_SO_BUFFERS]; member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_streamout.c | 436 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()
|
D | svga_pipe_draw.c | 349 for (unsigned i = 0; i < ARRAY_SIZE(svga->so_targets); i++) { in svga_draw_vbo()
|
D | svga_pipe_clear.c | 51 (struct pipe_stream_output_target**)svga->so_targets); in begin_blit()
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_context.c | 93 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/ |
D | dd_draw.c | 397 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()
|
D | dd_pipe.h | 233 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_context.cpp | 1574 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()
|
D | d3d12_context.h | 225 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
D | d3d12_draw.cpp | 1155 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/ |
D | zink_draw.cpp | 24 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()
|
D | zink_context.h | 388 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_OUTPUTS]; member
|
D | zink_context.c | 3736 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/ |
D | Shader.cpp | 960 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()
|
D | State.h | 84 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
D | Device.cpp | 329 pipe_so_target_reference(&pDevice->so_targets[i], NULL); in DestroyDevice()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 182 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/ |
D | crocus_context.h | 640 int so_targets; member
|