Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_draw_upload.c65 const struct brw_vs_prog_data *vs_prog_data = in gen8_emit_vertices() local
68 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid) { in gen8_emit_vertices()
84 if (vs_prog_data->uses_vertexid) { in gen8_emit_vertices()
90 if (vs_prog_data->uses_instanceid) { in gen8_emit_vertices()
121 const bool needs_sgvs_element = (vs_prog_data->uses_basevertex || in gen8_emit_vertices()
122 vs_prog_data->uses_baseinstance || in gen8_emit_vertices()
123 ((vs_prog_data->uses_instanceid || in gen8_emit_vertices()
124 vs_prog_data->uses_vertexid) && in gen8_emit_vertices()
127 brw->vb.nr_enabled + needs_sgvs_element + vs_prog_data->uses_drawid; in gen8_emit_vertices()
153 vs_prog_data->uses_basevertex || in gen8_emit_vertices()
[all …]
Dbrw_vec4_vs_visitor.cpp48 vs_prog_data->uses_basevertex = true; in make_reg_for_system_value()
52 vs_prog_data->uses_baseinstance = true; in make_reg_for_system_value()
57 vs_prog_data->uses_vertexid = true; in make_reg_for_system_value()
61 vs_prog_data->uses_instanceid = true; in make_reg_for_system_value()
66 vs_prog_data->uses_drawid = true; in make_reg_for_system_value()
205 struct brw_vs_prog_data *vs_prog_data, in vec4_vs_visitor() argument
211 : vec4_visitor(compiler, log_data, &key->tex, &vs_prog_data->base, shader, in vec4_vs_visitor()
214 vs_prog_data(vs_prog_data), in vec4_vs_visitor()
Dbrw_draw_upload.c537 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_vertices() local
539 GLbitfield64 vs_inputs = vs_prog_data->inputs_read; in brw_prepare_vertices()
571 first - DIV_ROUND_UP(_mesa_bitcount_64(vs_prog_data->double_inputs_read & in brw_prepare_vertices()
574 input->is_dual_slot = (vs_prog_data->double_inputs_read & BITFIELD64_BIT(first)) != 0; in brw_prepare_vertices()
771 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_shader_draw_parameters() local
775 if ((vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) && in brw_prepare_shader_draw_parameters()
782 if (vs_prog_data->uses_drawid) { in brw_prepare_shader_draw_parameters()
878 const struct brw_vs_prog_data *vs_prog_data = in brw_emit_vertices() local
882 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid || in brw_emit_vertices()
883 vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in brw_emit_vertices()
[all …]
Dbrw_vs.h77 struct brw_vs_prog_data *vs_prog_data,
99 struct brw_vs_prog_data * const vs_prog_data; variable
Dbrw_draw.c537 const struct brw_vs_prog_data *vs_prog_data = in brw_try_draw_prims() local
541 vs_prog_data->uses_basevertex || in brw_try_draw_prims()
542 vs_prog_data->uses_baseinstance; in brw_try_draw_prims()
545 (vs_prog_data->uses_basevertex && in brw_try_draw_prims()
547 (vs_prog_data->uses_baseinstance && in brw_try_draw_prims()
580 if (i > 0 && vs_prog_data->uses_drawid) in brw_try_draw_prims()
Dbrw_fs_visitor.cpp41 struct brw_vs_prog_data *vs_prog_data = brw_vs_prog_data(prog_data); in emit_vs_system_value() local
46 vs_prog_data->uses_basevertex = true; in emit_vs_system_value()
50 vs_prog_data->uses_baseinstance = true; in emit_vs_system_value()
56 vs_prog_data->uses_vertexid = true; in emit_vs_system_value()
60 vs_prog_data->uses_instanceid = true; in emit_vs_system_value()
70 vs_prog_data->uses_drawid = true; in emit_vs_system_value()
Dbrw_vec4.cpp1736 GLbitfield64 vs_inputs = vs_prog_data->inputs_read; in setup_attributes()
1740 (vs_prog_data->double_inputs_read & BITFIELD64_BIT(first)) ? 2 : 1; in setup_attributes()
1752 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid || in setup_attributes()
1753 vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) { in setup_attributes()
1758 if (vs_prog_data->uses_drawid) { in setup_attributes()
1765 return payload_reg + vs_prog_data->nr_attribute_slots; in setup_attributes()
Dbrw_fs.cpp1585 struct brw_vs_prog_data *vs_prog_data = brw_vs_prog_data(prog_data); in assign_vs_urb_setup() local
1590 this->first_non_payload_grf += 4 * vs_prog_data->nr_attribute_slots; in assign_vs_urb_setup()
1592 assert(vs_prog_data->base.urb_read_length <= 15); in assign_vs_urb_setup()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c89 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in emit_vertex_input() local
92 const uint64_t inputs_read = vs_prog_data->inputs_read; in emit_vertex_input()
93 const uint64_t double_inputs_read = vs_prog_data->double_inputs_read; in emit_vertex_input()
102 const bool needs_svgs_elem = vs_prog_data->uses_basevertex || in emit_vertex_input()
103 vs_prog_data->uses_baseinstance; in emit_vertex_input()
108 const bool needs_svgs_elem = vs_prog_data->uses_vertexid || in emit_vertex_input()
109 vs_prog_data->uses_instanceid || in emit_vertex_input()
110 vs_prog_data->uses_basevertex || in emit_vertex_input()
111 vs_prog_data->uses_baseinstance; in emit_vertex_input()
185 uint32_t base_ctrl = (vs_prog_data->uses_basevertex || in emit_vertex_input()
[all …]
DgenX_cmd_buffer.c1643 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
1647 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
1671 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
1675 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
1707 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
1713 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
1739 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
1746 if (vs_prog_data->uses_basevertex || vs_prog_data->uses_baseinstance) in genX()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c114 &params->vs_prog_kernel, &params->vs_prog_data)) in blorp_params_get_layer_offset_vs()
164 struct brw_vs_prog_data vs_prog_data; in blorp_params_get_layer_offset_vs() local
165 memset(&vs_prog_data, 0, sizeof(vs_prog_data)); in blorp_params_get_layer_offset_vs()
169 blorp_compile_vs(blorp, mem_ctx, b.shader, &vs_prog_data, &program_size); in blorp_params_get_layer_offset_vs()
173 &vs_prog_data.base.base, sizeof(vs_prog_data), in blorp_params_get_layer_offset_vs()
174 &params->vs_prog_kernel, &params->vs_prog_data); in blorp_params_get_layer_offset_vs()
Dblorp.c196 struct brw_vs_prog_data *vs_prog_data, in blorp_compile_vs() argument
207 vs_prog_data->inputs_read = nir->info->inputs_read; in blorp_compile_vs()
210 &vs_prog_data->base.vue_map, in blorp_compile_vs()
218 &vs_key, vs_prog_data, nir, in blorp_compile_vs()
Dblorp_priv.h190 struct brw_vs_prog_data *vs_prog_data; member
332 struct brw_vs_prog_data *vs_prog_data,
Dblorp_genX_exec.h415 struct brw_vs_prog_data *vs_prog_data = params->vs_prog_data; in blorp_emit_vs_config() local
418 if (vs_prog_data) { in blorp_emit_vs_config()
424 vs_prog_data->base.base.dispatch_grf_start_reg; in blorp_emit_vs_config()
426 vs_prog_data->base.urb_read_length; in blorp_emit_vs_config()
434 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8; in blorp_emit_vs_config()