Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_gs_state.c40 const struct brw_gs_prog_data *gs_prog_data = in gen8_upload_gs_state() local
55 OUT_BATCH(gs_prog_data->vertices_in | in gen8_upload_gs_state()
71 OUT_BATCH(((gs_prog_data->output_vertex_size_hwords * 2 - 1) << in gen8_upload_gs_state()
73 (gs_prog_data->output_topology << in gen8_upload_gs_state()
83 uint32_t dw7 = (gs_prog_data->control_data_header_size_hwords << in gen8_upload_gs_state()
87 ((gs_prog_data->invocations - 1) << in gen8_upload_gs_state()
90 (gs_prog_data->include_primitive_id ? in gen8_upload_gs_state()
94 uint32_t dw8 = gs_prog_data->control_data_format << in gen8_upload_gs_state()
97 if (gs_prog_data->static_vertex_count != -1) { in gen8_upload_gs_state()
99 SET_FIELD(gs_prog_data->static_vertex_count, in gen8_upload_gs_state()
Dgen7_gs_state.c42 const struct brw_gs_prog_data *gs_prog_data = in upload_gs_state() local
78 ((gs_prog_data->output_vertex_size_hwords * 2 - 1) << in upload_gs_state()
80 (gs_prog_data->output_topology << GEN7_GS_OUTPUT_TOPOLOGY_SHIFT) | in upload_gs_state()
115 (gs_prog_data->control_data_header_size_hwords << in upload_gs_state()
117 ((gs_prog_data->invocations - 1) << in upload_gs_state()
121 (gs_prog_data->include_primitive_id ? in upload_gs_state()
128 dw6 |= gs_prog_data->control_data_format << in upload_gs_state()
131 dw5 |= gs_prog_data->control_data_format << in upload_gs_state()
Dgen6_gs_visitor.cpp132 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()
551 gs_prog_data->num_transform_feedback_bindings = linked_xfb_info->NumOutputs; in xfb_setup()
552 for (i = 0; i < gs_prog_data->num_transform_feedback_bindings; i++) { in xfb_setup()
553 gs_prog_data->transform_feedback_bindings[i] = in xfb_setup()
555 gs_prog_data->transform_feedback_swizzles[i] = in xfb_setup()
565 if (!gs_prog_data->num_transform_feedback_bindings) in xfb_write()
568 switch (gs_prog_data->output_topology) { in xfb_write()
644 unsigned num_bindings = gs_prog_data->num_transform_feedback_bindings; in xfb_program()
[all …]
Dbrw_vec4_gs_visitor.cpp49 gs_prog_data(prog_data) in vec4_gs_visitor()
62 if (gs_prog_data->invocations > 1) in make_reg_for_system_value()
133 if (gs_prog_data->include_primitive_id) in setup_payload()
208 bool static_vertex_count = gs_prog_data->static_vertex_count != -1; in emit_thread_end()
257 brw_imm_ud(gs_prog_data->output_vertex_size_hwords)); in emit_urb_write_header()
271 inst->offset = gs_prog_data->control_data_header_size_hwords; in emit_urb_write_opcode()
276 if (devinfo->gen >= 8 && gs_prog_data->static_vertex_count == -1) in emit_urb_write_opcode()
397 if (devinfo->gen >= 8 && gs_prog_data->static_vertex_count == -1) in emit_control_data_bits()
524 gs_prog_data->control_data_format == in gs_emit_vertex()
540 if (gs_prog_data->control_data_format != in gs_end_primitive()
Dbrw_vec4_gs_visitor.h73 struct brw_gs_prog_data * const gs_prog_data; variable
Dbrw_fs_visitor.cpp639 const struct brw_gs_prog_data *gs_prog_data = in emit_urb_writes() local
646 starting_urb_offset = 2 * gs_prog_data->control_data_header_size_hwords; in emit_urb_writes()
647 if (gs_prog_data->static_vertex_count == -1) in emit_urb_writes()
659 gs_prog_data->output_vertex_size_hwords * 2; in emit_urb_writes()
Dbrw_vec4_gs_nir.cpp127 assert(gs_prog_data->include_primitive_id); in nir_emit_intrinsic()
Dbrw_fs_nir.cpp1621 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_end_primitive() local
1630 if (gs_prog_data->control_data_format != in emit_gs_end_primitive()
1682 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_control_data_bits() local
1785 if (gs_prog_data->static_vertex_count == -1) in emit_gs_control_data_bits()
1837 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_vertex() local
1921 gs_prog_data->control_data_format == in emit_gs_vertex()
1935 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_input_load() local
1939 const unsigned push_reg_count = gs_prog_data->base.urb_read_length * 8; in emit_gs_input_load()
1948 if (gs_prog_data->invocations == 1 && in emit_gs_input_load()
1967 gs_prog_data->base.include_vue_handles = true; in emit_gs_input_load()
[all …]
Dbrw_fs.cpp1338 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in emit_gs_thread_end() local
1347 if (gs_prog_data->static_vertex_count != -1) { in emit_gs_thread_end()
5510 struct brw_gs_prog_data *gs_prog_data = brw_gs_prog_data(prog_data); in setup_gs_payload() local
5516 if (gs_prog_data->include_primitive_id) { in setup_gs_payload()
5531 max_push_components || gs_prog_data->invocations > 1) { in setup_gs_payload()
5532 gs_prog_data->base.include_vue_handles = true; in setup_gs_payload()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c1125 const struct brw_gs_prog_data *gs_prog_data = get_gs_prog_data(pipeline); local
1131 gs.DispatchMode = gs_prog_data->base.dispatch_mode;
1137 gs.IncludeVertexHandles = gs_prog_data->base.include_vue_handles;
1138 gs.IncludePrimitiveID = gs_prog_data->include_primitive_id;
1147 gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1;
1148 gs.OutputTopology = gs_prog_data->output_topology;
1149 gs.VertexURBEntryReadLength = gs_prog_data->base.urb_read_length;
1150 gs.ControlDataFormat = gs_prog_data->control_data_format;
1151 gs.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords;
1152 gs.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1;
[all …]