Home
last modified time | relevance | path

Searched refs:so_info (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/ilo/
Dilo_render_surface.c42 const struct pipe_stream_output_info *so_info, in gen6_so_SURFACE_STATE() argument
53 info.offset = so->buffer_offset + so_info->output[so_index].dst_offset * 4; in gen6_so_SURFACE_STATE()
54 info.size = so->buffer_size - so_info->output[so_index].dst_offset * 4; in gen6_so_SURFACE_STATE()
58 switch (so_info->output[so_index].num_components) { in gen6_so_SURFACE_STATE()
83 so_info->stride[so_info->output[so_index].output_buffer] * 4; in gen6_so_SURFACE_STATE()
136 const struct pipe_stream_output_info *so_info; in gen6_emit_draw_surface_so() local
146 so_info = ilo_shader_get_kernel_so_info(gs); in gen6_emit_draw_surface_so()
152 so_info = ilo_shader_get_kernel_so_info(vs); in gen6_emit_draw_surface_so()
165 if (so_info && i < so_info->num_outputs && in gen6_emit_draw_surface_so()
166 so_info->output[i].output_buffer < so->count && in gen6_emit_draw_surface_so()
[all …]
Dilo_shader.c679 const struct pipe_stream_output_info *so_info = &state->info.stream_output; in init_gs() local
691 if (so_info->num_outputs > 0) { in init_gs()
759 const struct pipe_stream_output_info *so_info, in init_sol() argument
767 if (!so_info->num_outputs) { in init_sol()
782 info.buffer_strides[i] = so_info->stride[i] * 4; in init_sol()
790 for (i = 0; i < so_info->num_outputs; i++) { in init_sol()
791 const unsigned stream = so_info->output[i].stream; in init_sol()
792 const unsigned buffer = so_info->output[i].output_buffer; in init_sol()
799 if (reg_idx == so_info->output[i].register_index) in init_sol()
811 while (buf_offsets[buffer] < so_info->output[i].dst_offset) { in init_sol()
[all …]
Dilo_render_gen6.c545 const struct pipe_stream_output_info *so_info = in gen6_draw_update_max_svbi() local
551 for (i = 0; i < so_info->num_outputs; i++) { in gen6_draw_update_max_svbi()
552 const int output_buffer = so_info->output[i].output_buffer; in gen6_draw_update_max_svbi()
555 const int struct_size = so_info->stride[output_buffer] * 4; in gen6_draw_update_max_svbi()
556 const int elem_size = so_info->output[i].num_components * 4; in gen6_draw_update_max_svbi()
564 buf_size = so->buffer_size - so_info->output[i].dst_offset * 4; in gen6_draw_update_max_svbi()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c212 const struct pipe_stream_output_info *so_info) in virgl_emit_shader_streamout() argument
218 if (so_info) in virgl_emit_shader_streamout()
219 num_outputs = so_info->num_outputs; in virgl_emit_shader_streamout()
224 virgl_encoder_write_dword(ctx->cbuf, so_info->stride[i]); in virgl_emit_shader_streamout()
226 for (i = 0; i < so_info->num_outputs; i++) { in virgl_emit_shader_streamout()
228 VIRGL_OBJ_SHADER_SO_OUTPUT_REGISTER_INDEX(so_info->output[i].register_index) | in virgl_emit_shader_streamout()
229 VIRGL_OBJ_SHADER_SO_OUTPUT_START_COMPONENT(so_info->output[i].start_component) | in virgl_emit_shader_streamout()
230 VIRGL_OBJ_SHADER_SO_OUTPUT_NUM_COMPONENTS(so_info->output[i].num_components) | in virgl_emit_shader_streamout()
231 VIRGL_OBJ_SHADER_SO_OUTPUT_BUFFER(so_info->output[i].output_buffer) | in virgl_emit_shader_streamout()
232 VIRGL_OBJ_SHADER_SO_OUTPUT_DST_OFFSET(so_info->output[i].dst_offset); in virgl_emit_shader_streamout()
[all …]
Dvirgl_encode.h85 const struct pipe_stream_output_info *so_info,
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_gs.c46 const struct pipe_stream_output_info *so_info; member
458 for (j = 0; j < gcc->so_info->num_outputs; j++) { in gs_lower_opcode_emit_so_static()
459 const int idx = gcc->so_info->output[j].register_index; in gs_lower_opcode_emit_so_static()
477 out = tsrc_offset(out, 0, gcc->so_info->output[j].start_component); in gs_lower_opcode_emit_so_static()
488 j == gcc->so_info->num_outputs - 1); in gs_lower_opcode_emit_so_static()
971 for (i = 0; i < gcc->so_info->num_outputs; i++) { in gs_compile_passthrough()
973 gcc->so_info->output[i].register_index); in gs_compile_passthrough()
1261 gcc->so_info = &state->info.stream_output; in gs_setup()
1351 gcc->shader->bt.gen6_so_count = gcc->so_info->num_outputs; in gs_setup()