/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 | 100 struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
D | lp_surface.c | 152 (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 | 94 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 | 95 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() 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()
|
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 | 92 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/ |
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 | 1424 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()
|
D | d3d12_draw.cpp | 694 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()
|
D | d3d12_context.h | 195 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
/third_party/mesa3d/src/gallium/drivers/swr/ |
D | swr_context.h | 182 pipe_stream_output_target *so_targets[MAX_SO_STREAMS];
|
D | swr_state.cpp | 856 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/ |
D | zink_draw.cpp | 32 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()
|
D | zink_context.h | 353 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_OUTPUTS]; member
|
D | zink_context.c | 3620 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/ |
D | State.h | 84 struct pipe_stream_output_target *so_targets[PIPE_MAX_SO_BUFFERS]; member
|
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 | Device.cpp | 329 pipe_so_target_reference(&pDevice->so_targets[i], NULL); in DestroyDevice()
|