Home
last modified time | relevance | path

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

/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.h92 const struct pipe_stream_output_info *so_info,
/external/virglrenderer/src/
Dvrend_decode.c68 struct pipe_stream_output_info so_info; in vrend_decode_create_shader() local
97 so_info.num_outputs = num_so_outputs; in vrend_decode_create_shader()
98 if (so_info.num_outputs) { in vrend_decode_create_shader()
100 so_info.stride[i] = get_buf_entry(ctx, VIRGL_OBJ_SHADER_SO_STRIDE(i)); in vrend_decode_create_shader()
101 for (i = 0; i < so_info.num_outputs; i++) { in vrend_decode_create_shader()
104 so_info.output[i].register_index = tmp & 0xff; in vrend_decode_create_shader()
105 so_info.output[i].start_component = (tmp >> 8) & 0x3; in vrend_decode_create_shader()
106 so_info.output[i].num_components = (tmp >> 10) & 0x7; in vrend_decode_create_shader()
107 so_info.output[i].output_buffer = (tmp >> 13) & 0x7; in vrend_decode_create_shader()
108 so_info.output[i].dst_offset = (tmp >> 16) & 0xffff; in vrend_decode_create_shader()
[all …]
Dvrend_shader.h77 struct pipe_stream_output_info so_info; member
Dvrend_renderer.c800 for (i = 0; i < sel->sinfo.so_info.num_outputs; i++) in vrend_destroy_shader_selector()
988 struct pipe_stream_output_info *so = &sinfo->so_info; in set_stream_out_varyings()
2887 const struct pipe_stream_output_info *so_info, in vrend_create_shader_state() argument
2898 sel->sinfo.so_info = *so_info; in vrend_create_shader_state()
2921 const struct pipe_stream_output_info *so_info, in vrend_create_shader() argument
2963 sel = vrend_create_shader_state(ctx, so_info, req_local_mem, type); in vrend_create_shader()
Dvrend_shader.c4942 if (sinfo->so_info.num_outputs) { in vrend_convert_shader()
4943 ctx.so = &sinfo->so_info; in vrend_convert_shader()
4944 ctx.so_names = calloc(sinfo->so_info.num_outputs, sizeof(char *)); in vrend_convert_shader()
/external/virglrenderer/tests/
Dtestvirgl_encode.c205 const struct pipe_stream_output_info *so_info) in virgl_emit_shader_streamout() argument
211 if (so_info) in virgl_emit_shader_streamout()
212 num_outputs = so_info->num_outputs; in virgl_emit_shader_streamout()
217 virgl_encoder_write_dword(ctx->cbuf, so_info->stride[i]); in virgl_emit_shader_streamout()
219 for (i = 0; i < so_info->num_outputs; i++) { in virgl_emit_shader_streamout()
221 VIRGL_OBJ_SHADER_SO_OUTPUT_REGISTER_INDEX(so_info->output[i].register_index) | in virgl_emit_shader_streamout()
222 VIRGL_OBJ_SHADER_SO_OUTPUT_START_COMPONENT(so_info->output[i].start_component) | in virgl_emit_shader_streamout()
223 VIRGL_OBJ_SHADER_SO_OUTPUT_NUM_COMPONENTS(so_info->output[i].num_components) | in virgl_emit_shader_streamout()
224 VIRGL_OBJ_SHADER_SO_OUTPUT_BUFFER(so_info->output[i].output_buffer) | in virgl_emit_shader_streamout()
225 VIRGL_OBJ_SHADER_SO_OUTPUT_DST_OFFSET(so_info->output[i].dst_offset); in virgl_emit_shader_streamout()