Home
last modified time | relevance | path

Searched refs:gs_prog_data (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dgfx6_gs_visitor.cpp100 if (gs_prog_data->num_transform_feedback_bindings) { in emit_prolog()
131 if (gs_prog_data->include_primitive_id) { in emit_prolog()
194 brw_imm_ud(gs_prog_data->output_topology << in gs_emit_vertex()
355 if (gs_prog_data->num_transform_feedback_bindings) { in emit_thread_end()
448 if (gs_prog_data->num_transform_feedback_bindings) in emit_thread_end()
470 if (gs_prog_data->num_transform_feedback_bindings) { in emit_thread_end()
512 if (gs_prog_data->include_primitive_id) in setup_payload()
528 switch (gs_prog_data->output_topology) { in xfb_write()
604 unsigned num_bindings = gs_prog_data->num_transform_feedback_bindings; in xfb_program()
625 gs_prog_data->transform_feedback_bindings[binding]; in xfb_program()
[all …]
Dbrw_vec4_gs_nir.cpp87 assert(gs_prog_data->include_primitive_id); in nir_emit_intrinsic()
94 if (gs_prog_data->invocations > 1) in nir_emit_intrinsic()
Dbrw_vec4_gs_visitor.cpp52 gs_prog_data(prog_data) in vec4_gs_visitor()
145 if (gs_prog_data->include_primitive_id) in setup_payload()
247 brw_imm_ud(gs_prog_data->output_vertex_size_hwords)); in emit_urb_write_header()
261 inst->offset = gs_prog_data->control_data_header_size_hwords; in emit_urb_write_opcode()
501 gs_prog_data->control_data_format == in gs_emit_vertex()
517 if (gs_prog_data->control_data_format != in gs_end_primitive()
Dbrw_vec4_gs_visitor.h72 struct brw_gs_prog_data * const gs_prog_data; variable
Dbrw_fs_visitor.cpp782 const struct brw_gs_prog_data *gs_prog_data = in emit_urb_writes() local
789 starting_urb_offset = 2 * gs_prog_data->control_data_header_size_hwords; in emit_urb_writes()
790 if (gs_prog_data->static_vertex_count == -1) in emit_urb_writes()
801 gs_prog_data->output_vertex_size_hwords * 2; in emit_urb_writes()
Dbrw_fs_nir.cpp2206 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_end_primitive() local
2215 if (gs_prog_data->control_data_format != in emit_gs_end_primitive()
2267 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_control_data_bits() local
2365 if (gs_prog_data->static_vertex_count == -1) in emit_gs_control_data_bits()
2417 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_vertex() local
2501 gs_prog_data->control_data_format == in emit_gs_vertex()
2516 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_input_load() local
2517 const unsigned push_reg_count = gs_prog_data->base.urb_read_length * 8; in emit_gs_input_load()
2520 if (gs_prog_data->invocations == 1 && in emit_gs_input_load()
2533 assert(gs_prog_data->base.include_vue_handles); in emit_gs_input_load()
[all …]
Dbrw_fs.cpp1523 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_thread_end() local
1532 if (gs_prog_data->static_vertex_count != -1) { in emit_gs_thread_end()
5950 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in setup_gs_payload() local
5956 if (gs_prog_data->include_primitive_id) { in setup_gs_payload()
5967 gs_prog_data->base.include_vue_handles = true; in setup_gs_payload()
/third_party/mesa3d/src/intel/vulkan/
DgenX_pipeline.c1760 const struct brw_gs_prog_data *gs_prog_data = get_gs_prog_data(pipeline); in emit_3dstate_gs() local
1766 gs.DispatchMode = gs_prog_data->base.dispatch_mode; in emit_3dstate_gs()
1773 gs.IncludeVertexHandles = gs_prog_data->base.include_vue_handles; in emit_3dstate_gs()
1774 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id; in emit_3dstate_gs()
1783 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1; in emit_3dstate_gs()
1784 gs.OutputTopology = gs_prog_data->output_topology; in emit_3dstate_gs()
1785 gs.ControlDataFormat = gs_prog_data->control_data_format; in emit_3dstate_gs()
1786 gs.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords; in emit_3dstate_gs()
1787 gs.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1; in emit_3dstate_gs()
1791 gs.ExpectedVertexCount = gs_prog_data->vertices_in; in emit_3dstate_gs()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c113 struct brw_gs_prog_data *gs_prog_data) in gfx6_gs_xfb_setup() argument
126 gs_prog_data->num_transform_feedback_bindings = so_info->num_outputs; in gfx6_gs_xfb_setup()
128 gs_prog_data->transform_feedback_bindings[i] = in gfx6_gs_xfb_setup()
130 gs_prog_data->transform_feedback_swizzles[i] = in gfx6_gs_xfb_setup()
1714 struct brw_gs_prog_data *gs_prog_data = in crocus_compile_gs() local
1716 struct brw_vue_prog_data *vue_prog_data = &gs_prog_data->base; in crocus_compile_gs()
1752 gfx6_gs_xfb_setup(&ish->stream_output, gs_prog_data); in crocus_compile_gs()
1759 .prog_data = gs_prog_data, in crocus_compile_gs()
1784 prog_data, sizeof(*gs_prog_data), so_decls, in crocus_compile_gs()
2406 …const struct brw_ff_gs_prog_data *gs_prog_data = (struct brw_ff_gs_prog_data *)ice->shaders.ff_gs_… in crocus_update_compiled_ff_gs() local
[all …]
Dcrocus_state.c4445 const struct brw_gs_prog_data *gs_prog_data = in crocus_is_drawing_points() local
4447 return gs_prog_data->output_topology == _3DPRIM_POINTLIST; in crocus_is_drawing_points()
6854 const struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(shader->prog_data); local
6856 const struct brw_stage_prog_data *prog_data = &gs_prog_data->base.base;
6860 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1;
6861 gs.OutputTopology = gs_prog_data->output_topology;
6863 gs_prog_data->control_data_header_size_hwords;
6865 gs.InstanceControl = gs_prog_data->invocations - 1;
6868 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id;
6870 gs.ControlDataFormat = gs_prog_data->control_data_format;
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c1823 struct brw_gs_prog_data *gs_prog_data = in iris_compile_gs() local
1825 struct brw_vue_prog_data *vue_prog_data = &gs_prog_data->base; in iris_compile_gs()
1862 .prog_data = gs_prog_data, in iris_compile_gs()
2195 const struct brw_gs_prog_data *gs_prog_data = (void *) gs->prog_data; in iris_update_compiled_shaders() local
2197 gs_prog_data->output_topology == _3DPRIM_POINTLIST || in iris_update_compiled_shaders()
2198 gs_prog_data->output_topology == _3DPRIM_LINESTRIP; in iris_update_compiled_shaders()
Diris_state.c4271 const struct brw_gs_prog_data *gs_prog_data = in iris_is_drawing_points() local
4273 return gs_prog_data->output_topology == _3DPRIM_POINTLIST; in iris_is_drawing_points()
4627 struct brw_gs_prog_data *gs_prog_data = (void *) prog_data; in iris_store_gs_state() local
4632 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1; in iris_store_gs_state()
4633 gs.OutputTopology = gs_prog_data->output_topology; in iris_store_gs_state()
4635 gs_prog_data->control_data_header_size_hwords; in iris_store_gs_state()
4636 gs.InstanceControl = gs_prog_data->invocations - 1; in iris_store_gs_state()
4638 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id; in iris_store_gs_state()
4639 gs.ControlDataFormat = gs_prog_data->control_data_format; in iris_store_gs_state()
4641 gs.ExpectedVertexCount = gs_prog_data->vertices_in; in iris_store_gs_state()
[all …]