Searched refs:gs_prog_data (Results 1 – 11 of 11) sorted by relevance
132 if (gs_prog_data->include_primitive_id) { in emit_prolog()195 brw_imm_ud(gs_prog_data->output_topology << in gs_emit_vertex()513 if (gs_prog_data->include_primitive_id) in setup_payload()549 gs_prog_data->num_transform_feedback_bindings = linked_xfb_info->NumOutputs; in xfb_setup()550 for (i = 0; i < gs_prog_data->num_transform_feedback_bindings; i++) { in xfb_setup()551 gs_prog_data->transform_feedback_bindings[i] = in xfb_setup()553 gs_prog_data->transform_feedback_swizzles[i] = in xfb_setup()563 if (!gs_prog_data->num_transform_feedback_bindings) in xfb_write()566 switch (gs_prog_data->output_topology) { in xfb_write()642 unsigned num_bindings = gs_prog_data->num_transform_feedback_bindings; in xfb_program()[all …]
87 assert(gs_prog_data->include_primitive_id); in nir_emit_intrinsic()94 if (gs_prog_data->invocations > 1) in nir_emit_intrinsic()
51 gs_prog_data(prog_data) in vec4_gs_visitor()144 if (gs_prog_data->include_primitive_id) in setup_payload()248 brw_imm_ud(gs_prog_data->output_vertex_size_hwords)); in emit_urb_write_header()262 inst->offset = gs_prog_data->control_data_header_size_hwords; in emit_urb_write_opcode()502 gs_prog_data->control_data_format == in gs_emit_vertex()518 if (gs_prog_data->control_data_format != in gs_end_primitive()
72 struct brw_gs_prog_data * const gs_prog_data; variable
593 const struct brw_gs_prog_data *gs_prog_data = in emit_urb_writes() local600 starting_urb_offset = 2 * gs_prog_data->control_data_header_size_hwords; in emit_urb_writes()601 if (gs_prog_data->static_vertex_count == -1) in emit_urb_writes()613 gs_prog_data->output_vertex_size_hwords * 2; in emit_urb_writes()
2101 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_end_primitive() local2110 if (gs_prog_data->control_data_format != in emit_gs_end_primitive()2162 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_control_data_bits() local2265 if (gs_prog_data->static_vertex_count == -1) in emit_gs_control_data_bits()2317 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_vertex() local2401 gs_prog_data->control_data_format == in emit_gs_vertex()2416 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_input_load() local2417 const unsigned push_reg_count = gs_prog_data->base.urb_read_length * 8; in emit_gs_input_load()2420 if (gs_prog_data->invocations == 1 && in emit_gs_input_load()2433 assert(gs_prog_data->base.include_vue_handles); in emit_gs_input_load()[all …]
1563 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_thread_end() local1572 if (gs_prog_data->static_vertex_count != -1) { in emit_gs_thread_end()7504 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in setup_gs_payload() local7510 if (gs_prog_data->include_primitive_id) { in setup_gs_payload()7521 gs_prog_data->base.include_vue_handles = true; in setup_gs_payload()
1817 const struct brw_gs_prog_data *gs_prog_data = get_gs_prog_data(pipeline); local1823 gs.DispatchMode = gs_prog_data->base.dispatch_mode;1830 gs.IncludeVertexHandles = gs_prog_data->base.include_vue_handles;1831 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id;1840 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1;1841 gs.OutputTopology = gs_prog_data->output_topology;1842 gs.VertexURBEntryReadLength = gs_prog_data->base.urb_read_length;1843 gs.ControlDataFormat = gs_prog_data->control_data_format;1844 gs.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords;1845 gs.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1;[all …]
1562 struct brw_gs_prog_data *gs_prog_data = in iris_compile_gs() local1564 struct brw_vue_prog_data *vue_prog_data = &gs_prog_data->base; in iris_compile_gs()1599 brw_compile_gs(compiler, &ice->dbg, mem_ctx, &brw_key, gs_prog_data, in iris_compile_gs()1912 const struct brw_gs_prog_data *gs_prog_data = (void *) gs->prog_data; in iris_update_compiled_shaders() local1914 gs_prog_data->output_topology == _3DPRIM_POINTLIST || in iris_update_compiled_shaders()1915 gs_prog_data->output_topology == _3DPRIM_LINESTRIP; in iris_update_compiled_shaders()
4078 const struct brw_gs_prog_data *gs_prog_data = in iris_is_drawing_points() local4080 return gs_prog_data->output_topology == _3DPRIM_POINTLIST; in iris_is_drawing_points()4394 struct brw_gs_prog_data *gs_prog_data = (void *) prog_data; in iris_store_gs_state() local4399 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1; in iris_store_gs_state()4400 gs.OutputTopology = gs_prog_data->output_topology; in iris_store_gs_state()4402 gs_prog_data->control_data_header_size_hwords; in iris_store_gs_state()4403 gs.InstanceControl = gs_prog_data->invocations - 1; in iris_store_gs_state()4405 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id; in iris_store_gs_state()4406 gs.ControlDataFormat = gs_prog_data->control_data_format; in iris_store_gs_state()4408 gs.ExpectedVertexCount = gs_prog_data->vertices_in; in iris_store_gs_state()[all …]
2569 const struct brw_gs_prog_data *gs_prog_data = local2612 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1;2613 gs.OutputTopology = gs_prog_data->output_topology;2615 gs_prog_data->control_data_header_size_hwords;2617 gs.InstanceControl = gs_prog_data->invocations - 1;2620 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id;2622 gs.ControlDataFormat = gs_prog_data->control_data_format;2672 gs.ExpectedVertexCount = gs_prog_data->vertices_in;2674 if (gs_prog_data->static_vertex_count != -1) {2676 gs.StaticOutputVertexCount = gs_prog_data->static_vertex_count;