Searched refs:fake_target (Results 1 – 1 of 1) sorted by relevance
1473 struct d3d12_stream_output_target *fake_target; in d3d12_enable_fake_so_buffers() local1475 fake_target = CALLOC_STRUCT(d3d12_stream_output_target); in d3d12_enable_fake_so_buffers()1476 if (!fake_target) in d3d12_enable_fake_so_buffers()1478 pipe_reference_init(&fake_target->base.reference, 1); in d3d12_enable_fake_so_buffers()1479 fake_target->base.context = &ctx->base; in d3d12_enable_fake_so_buffers()1488 pipe_resource_reference(&fake_target->base.buffer, prev_target->base.buffer); in d3d12_enable_fake_so_buffers()1489 pipe_resource_reference(&fake_target->fill_buffer, prev_target->fill_buffer); in d3d12_enable_fake_so_buffers()1490 fake_target->fill_buffer_offset = prev_target->fill_buffer_offset; in d3d12_enable_fake_so_buffers()1491 fake_target->cached_filled_size = prev_target->cached_filled_size; in d3d12_enable_fake_so_buffers()1497 if (!fake_target->base.buffer) { in d3d12_enable_fake_so_buffers()[all …]