Home
last modified time | relevance | path

Searched refs:vs_prog_data (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_vs_visitor.cpp172 struct brw_vs_prog_data *vs_prog_data, in vec4_vs_visitor() argument
176 : vec4_visitor(compiler, log_data, &key->tex, &vs_prog_data->base, shader, in vec4_vs_visitor()
179 vs_prog_data(vs_prog_data) in vec4_vs_visitor()
Dbrw_vec4_vs.h37 struct brw_vs_prog_data *vs_prog_data,
56 struct brw_vs_prog_data * const vs_prog_data; variable
Dbrw_fs.cpp1643 struct brw_vs_prog_data *vs_prog_data = brw_vs_prog_data(prog_data); in assign_vs_urb_setup() local
1648 this->first_non_payload_grf += 4 * vs_prog_data->nr_attribute_slots; in assign_vs_urb_setup()
1650 assert(vs_prog_data->base.urb_read_length <= 15); in assign_vs_urb_setup()
Dbrw_vec4.cpp1756 return payload_reg + vs_prog_data->nr_attribute_slots; in setup_attributes()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c459 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_vertices() local
461 GLbitfield64 vs_inputs = vs_prog_data->inputs_read; in brw_prepare_vertices()
493 first - DIV_ROUND_UP(_mesa_bitcount_64(vs_prog_data->double_inputs_read & in brw_prepare_vertices()
496 input->is_dual_slot = (vs_prog_data->double_inputs_read & BITFIELD64_BIT(first)) != 0; in brw_prepare_vertices()
696 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_shader_draw_parameters() local
700 if ((vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) && in brw_prepare_shader_draw_parameters()
707 if (vs_prog_data->uses_drawid) { in brw_prepare_shader_draw_parameters()
DgenX_state_upload.c466 const struct brw_vs_prog_data *vs_prog_data = in genX() local
474 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid) { in genX()
490 if (vs_prog_data->uses_vertexid) { in genX()
496 if (vs_prog_data->uses_instanceid) { in genX()
519 const bool needs_sgvs_element = (vs_prog_data->uses_basevertex || in genX()
520 vs_prog_data->uses_baseinstance || in genX()
521 ((vs_prog_data->uses_instanceid || in genX()
522 vs_prog_data->uses_vertexid) in genX()
525 const bool needs_sgvs_element = (vs_prog_data->uses_basevertex || in genX()
526 vs_prog_data->uses_baseinstance || in genX()
[all …]
Dbrw_draw.c824 const struct brw_vs_prog_data *vs_prog_data = in brw_draw_single_prim() local
828 vs_prog_data->uses_basevertex || in brw_draw_single_prim()
829 vs_prog_data->uses_baseinstance; in brw_draw_single_prim()
832 (vs_prog_data->uses_basevertex && in brw_draw_single_prim()
834 (vs_prog_data->uses_baseinstance && in brw_draw_single_prim()
867 if (prim_id > 0 && vs_prog_data->uses_drawid) in brw_draw_single_prim()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c90 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in emit_vertex_input() local
93 const uint64_t inputs_read = vs_prog_data->inputs_read; in emit_vertex_input()
94 const uint64_t double_inputs_read = vs_prog_data->double_inputs_read; in emit_vertex_input()
98 const bool needs_svgs_elem = vs_prog_data->uses_vertexid || in emit_vertex_input()
99 vs_prog_data->uses_instanceid || in emit_vertex_input()
100 vs_prog_data->uses_basevertex || in emit_vertex_input()
101 vs_prog_data->uses_baseinstance; in emit_vertex_input()
107 elem_count + needs_svgs_elem + vs_prog_data->uses_drawid; in emit_vertex_input()
180 uint32_t base_ctrl = (vs_prog_data->uses_basevertex || in emit_vertex_input()
181 vs_prog_data->uses_baseinstance) ? in emit_vertex_input()
[all …]
DgenX_cmd_buffer.c2272 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
2279 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
2281 if (vs_prog_data->uses_drawid) in genX()
2310 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
2317 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
2319 if (vs_prog_data->uses_drawid) in genX()
2462 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
2473 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
2475 if (vs_prog_data->uses_drawid) in genX()
2500 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c116 &params->vs_prog_kernel, &params->vs_prog_data)) in blorp_params_get_layer_offset_vs()
166 struct brw_vs_prog_data vs_prog_data; in blorp_params_get_layer_offset_vs() local
167 memset(&vs_prog_data, 0, sizeof(vs_prog_data)); in blorp_params_get_layer_offset_vs()
170 blorp_compile_vs(blorp, mem_ctx, b.shader, &vs_prog_data); in blorp_params_get_layer_offset_vs()
174 program, vs_prog_data.base.base.program_size, in blorp_params_get_layer_offset_vs()
175 &vs_prog_data.base.base, sizeof(vs_prog_data), in blorp_params_get_layer_offset_vs()
176 &params->vs_prog_kernel, &params->vs_prog_data); in blorp_params_get_layer_offset_vs()
Dblorp.c207 struct brw_vs_prog_data *vs_prog_data) in blorp_compile_vs() argument
217 vs_prog_data->inputs_read = nir->info.inputs_read; in blorp_compile_vs()
220 &vs_prog_data->base.vue_map, in blorp_compile_vs()
228 &vs_key, vs_prog_data, nir, -1, NULL); in blorp_compile_vs()
Dblorp_priv.h203 struct brw_vs_prog_data *vs_prog_data; member
351 struct brw_vs_prog_data *vs_prog_data);
Dblorp_genX_exec.h574 struct brw_vs_prog_data *vs_prog_data = params->vs_prog_data; in blorp_emit_vs_config() local
577 if (vs_prog_data) { in blorp_emit_vs_config()
583 vs_prog_data->base.base.dispatch_grf_start_reg; in blorp_emit_vs_config()
585 vs_prog_data->base.urb_read_length; in blorp_emit_vs_config()
593 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8; in blorp_emit_vs_config()