Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.h61 struct pipe_stream_output_info so_info; member
121 const struct pipe_stream_output_info *so_info);
Dzink_compiler.c810 find_packed_output(const struct pipe_stream_output_info *so_info, uint8_t *reverse_map, unsigned sl… in find_packed_output() argument
812 for (unsigned i = 0; i < so_info->num_outputs; i++) { in find_packed_output()
813 const struct pipe_stream_output *packed_output = &so_info->output[i]; in find_packed_output()
821 update_so_info(struct zink_shader *zs, const struct pipe_stream_output_info *so_info, in update_so_info() argument
848 for (unsigned i = 0; i < so_info->num_outputs; i++) { in update_so_info()
849 const struct pipe_stream_output *output = &so_info->output[i]; in update_so_info()
852 zs->sinfo.so_info.stride[output->output_buffer] = so_info->stride[output->output_buffer]; in update_so_info()
877 var->data.xfb.stride = so_info->stride[output->output_buffer] * 4; in update_so_info()
898 for (unsigned i = 0; i < so_info->num_outputs; i++) { in update_so_info()
899 const struct pipe_stream_output *output = &so_info->output[i]; in update_so_info()
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c497 const struct pipe_stream_output_info *so_info) in virgl_emit_shader_streamout() argument
503 if (so_info) in virgl_emit_shader_streamout()
504 num_outputs = so_info->num_outputs; in virgl_emit_shader_streamout()
509 virgl_encoder_write_dword(ctx->cbuf, so_info->stride[i]); in virgl_emit_shader_streamout()
511 for (i = 0; i < so_info->num_outputs; i++) { in virgl_emit_shader_streamout()
513 VIRGL_OBJ_SHADER_SO_OUTPUT_REGISTER_INDEX(so_info->output[i].register_index) | in virgl_emit_shader_streamout()
514 VIRGL_OBJ_SHADER_SO_OUTPUT_START_COMPONENT(so_info->output[i].start_component) | in virgl_emit_shader_streamout()
515 VIRGL_OBJ_SHADER_SO_OUTPUT_NUM_COMPONENTS(so_info->output[i].num_components) | in virgl_emit_shader_streamout()
516 VIRGL_OBJ_SHADER_SO_OUTPUT_BUFFER(so_info->output[i].output_buffer) | in virgl_emit_shader_streamout()
517 VIRGL_OBJ_SHADER_SO_OUTPUT_DST_OFFSET(so_info->output[i].dst_offset); in virgl_emit_shader_streamout()
[all …]
Dvirgl_encode.h94 const struct pipe_stream_output_info *so_info,
/third_party/mesa3d/src/mesa/state_tracker/
Dst_program.c474 struct pipe_stream_output_info *so_info = in st_translate_stream_output_info() local
478 so_info->output[i].register_index = in st_translate_stream_output_info()
480 so_info->output[i].start_component = info->Outputs[i].ComponentOffset; in st_translate_stream_output_info()
481 so_info->output[i].num_components = info->Outputs[i].NumComponents; in st_translate_stream_output_info()
482 so_info->output[i].output_buffer = info->Outputs[i].OutputBuffer; in st_translate_stream_output_info()
483 so_info->output[i].dst_offset = info->Outputs[i].DstOffset; in st_translate_stream_output_info()
484 so_info->output[i].stream = info->Outputs[i].StreamId; in st_translate_stream_output_info()
488 so_info->stride[i] = info->Buffers[i].Stride; in st_translate_stream_output_info()
490 so_info->num_outputs = info->NumOutputs; in st_translate_stream_output_info()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_vs.h82 VertexExportForFs(VertexStageShader *parent, const pipe_stream_output_info *so_info,
158 …VertexShader(const pipe_stream_output_info *so_info, r600_shader *gs_shader, r600_shader_key& key);
Dsfn_shader_tess.cpp172 TESShader::TESShader(const pipe_stream_output_info *so_info, const r600_shader *gs_shader, in TESShader() argument
181 m_export_processor = new VertexExportForFs(this, so_info, key); in TESShader()
Dsfn_shader_vs.cpp70 const pipe_stream_output_info *so_info, in VertexExportForFs() argument
75 m_so_info(so_info) in VertexExportForFs()
397 VertexShader::VertexShader(const pipe_stream_output_info *so_info, r600_shader *gs_shader, r600_sha… in VertexShader() argument
406 m_export_stage = new VertexExportForFs(this, so_info, key); in VertexShader()
Dsfn_shader_tess.h67 TESShader(const pipe_stream_output_info *so_info, const r600_shader *gs_shader,
Dsfn_nir.cpp196 LowerClipvertexWrite(int noutputs, pipe_stream_output_info& so_info) : in LowerClipvertexWrite() argument
199 m_so_info(so_info){} in LowerClipvertexWrite()
352 pipe_stream_output_info& so_info) in r600_lower_clipvertex_to_clipdist() argument
358 bool result = r600::LowerClipvertexWrite(noutputs, so_info).run(sh); in r600_lower_clipvertex_to_clipdist()
Dsfn_shader.cpp406 Shader *Shader::translate_from_nir(nir_shader *nir, const pipe_stream_output_info *so_info, in translate_from_nir() argument
420 shader = new VertexShader(so_info, gs_shader, key); in translate_from_nir()
429 shader = new TESShader(so_info, gs_shader, key); in translate_from_nir()
Dsfn_shader.h145 …static Shader *translate_from_nir(nir_shader *nir, const pipe_stream_output_info *so_info, r600_sh…
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c112 gfx6_gs_xfb_setup(const struct pipe_stream_output_info *so_info, in gfx6_gs_xfb_setup() argument
124 assert(so_info->num_outputs <= BRW_MAX_SOL_BINDINGS); in gfx6_gs_xfb_setup()
126 gs_prog_data->num_transform_feedback_bindings = so_info->num_outputs; in gfx6_gs_xfb_setup()
127 for (unsigned i = 0; i < so_info->num_outputs; i++) { in gfx6_gs_xfb_setup()
129 so_info->output[i].register_index; in gfx6_gs_xfb_setup()
131 crocus_gfx6_swizzle_for_offset[so_info->output[i].start_component]; in gfx6_gs_xfb_setup()
136 gfx6_ff_gs_xfb_setup(const struct pipe_stream_output_info *so_info, in gfx6_ff_gs_xfb_setup() argument
139 key->num_transform_feedback_bindings = so_info->num_outputs; in gfx6_ff_gs_xfb_setup()
140 for (unsigned i = 0; i < so_info->num_outputs; i++) { in gfx6_ff_gs_xfb_setup()
142 so_info->output[i].register_index; in gfx6_ff_gs_xfb_setup()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h49 nir_to_spirv(struct nir_shader *s, const struct zink_shader_info *so_info,
Dnir_to_spirv.c1363 emit_so_info(struct ntv_context *ctx, const struct zink_shader_info *so_info, in emit_so_info() argument
1367 for (unsigned i = 0; i < so_info->so_info.num_outputs; i++) { in emit_so_info()
1368 struct pipe_stream_output so_output = so_info->so_info.output[i]; in emit_so_info()
1369 unsigned slot = so_info->so_info_slots[i] << 2 | so_output.start_component; in emit_so_info()
1382 …spirv_builder_emit_xfb_stride(&ctx->builder, var_id, so_info->so_info.stride[so_output.output_buff… in emit_so_info()
1412 u_foreach_bit(bit, so_info->so_propagate) { in emit_so_info()
1436 uint32_t location = first_so + so_info->so_info.num_outputs + i; in emit_so_info()
1472 const struct zink_shader_info *so_info) in emit_so_outputs() argument
1474 for (unsigned i = 0; i < so_info->so_info.num_outputs; i++) { in emit_so_outputs()
1476 unsigned slot = so_info->so_info_slots[i]; in emit_so_outputs()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.h61 struct pipe_stream_output_info so_info; member
Dd3d12_compiler.cpp374 for (unsigned i = 0; i < ctx->gfx_pipeline_state.so_info.num_outputs; ++i) { in has_stream_out_for_streams()
375 unsigned stream = ctx->gfx_pipeline_state.so_info.output[i].stream; in has_stream_out_for_streams()
1322 update_so_info(struct pipe_stream_output_info *so_info, in update_so_info() argument
1332 for (unsigned i = 0; i < so_info->num_outputs; i++) { in update_so_info()
1333 struct pipe_stream_output *output = &so_info->output[i]; in update_so_info()
1411 memcpy(&sel->so_info, &shader->stream_output, sizeof(sel->so_info)); in d3d12_create_shader()
1412 update_so_info(&sel->so_info, nir->info.outputs_written); in d3d12_create_shader()
Dd3d12_compiler.h224 struct pipe_stream_output_info so_info; member
Dd3d12_draw.cpp982 ctx->gfx_pipeline_state.so_info = sel->so_info; in d3d12_draw_vbo()
984 memset(&ctx->gfx_pipeline_state.so_info, 0, sizeof(sel->so_info)); in d3d12_draw_vbo()
Dd3d12_root_signature.cpp249 if (!compute && ctx->gfx_stages[i]->so_info.num_outputs > 0) in fill_key()
Dd3d12_pipeline_state.cpp269 …fill_so_declaration(&state->so_info, last_vertex_stage_nir, entries, &num_entries, strides, &num_s… in create_gfx_pipeline_state()
Dd3d12_context.cpp1866 ctx->transform_state_vars[0] = ctx->gfx_pipeline_state.so_info.stride[i]; in d3d12_disable_fake_so_buffers()
1885 key.fake_so_buffer_copy_back.stride = ctx->gfx_pipeline_state.so_info.stride[i]; in d3d12_disable_fake_so_buffers()
1886 for (unsigned j = 0; j < ctx->gfx_pipeline_state.so_info.num_outputs; ++j) { in d3d12_disable_fake_so_buffers()
1887 auto& output = ctx->gfx_pipeline_state.so_info.output[j]; in d3d12_disable_fake_so_buffers()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c817 struct ir3_stream_output_info so_info = {}; in tu_shader_create() local
821 tu_gather_xfb_info(nir, &so_info); in tu_shader_create()
840 }, &so_info); in tu_shader_create()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.c449 update_so_info(struct pipe_stream_output_info *so_info, in update_so_info() argument
459 for (unsigned i = 0; i < so_info->num_outputs; i++) { in update_so_info()
460 struct pipe_stream_output *output = &so_info->output[i]; in update_so_info()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c411 update_so_info(struct pipe_stream_output_info *so_info, in update_so_info() argument
420 for (unsigned i = 0; i < so_info->num_outputs; i++) { in update_so_info()
421 struct pipe_stream_output *output = &so_info->output[i]; in update_so_info()
2448 const struct pipe_stream_output_info *so_info) in iris_create_uncompiled_shader() argument
2464 if (so_info) { in iris_create_uncompiled_shader()
2465 memcpy(&ish->stream_output, so_info, sizeof(*so_info)); in iris_create_uncompiled_shader()

12