Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_vs_visitor.cpp103 struct brw_vs_prog_data *vs_prog_data, in vec4_vs_visitor() argument
107 : vec4_visitor(compiler, log_data, &key->base.tex, &vs_prog_data->base, in vec4_vs_visitor()
110 vs_prog_data(vs_prog_data) in vec4_vs_visitor()
Dbrw_vec4_vs.h37 struct brw_vs_prog_data *vs_prog_data,
54 struct brw_vs_prog_data * const vs_prog_data; variable
Dbrw_vec4.cpp1807 return payload_reg + vs_prog_data->nr_attribute_slots; in setup_attributes()
Dbrw_fs.cpp1899 struct brw_vs_prog_data *vs_prog_data = brw_vs_prog_data(prog_data); in assign_vs_urb_setup() local
1904 this->first_non_payload_grf += 4 * vs_prog_data->nr_attribute_slots; in assign_vs_urb_setup()
1906 assert(vs_prog_data->base.urb_read_length <= 15); in assign_vs_urb_setup()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c444 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_vertices() local
447 nir_get_single_slot_attribs_mask(vs_prog_data->inputs_read, in brw_prepare_vertices()
710 const struct brw_vs_prog_data *vs_prog_data = in brw_prepare_shader_draw_parameters() local
714 if ((vs_prog_data->uses_firstvertex || vs_prog_data->uses_baseinstance) && in brw_prepare_shader_draw_parameters()
722 if (vs_prog_data->uses_drawid || vs_prog_data->uses_is_indexed_draw) { in brw_prepare_shader_draw_parameters()
Dbrw_draw.c1033 const struct brw_vs_prog_data *vs_prog_data = in brw_draw_single_prim() local
1037 vs_prog_data->uses_firstvertex || in brw_draw_single_prim()
1038 vs_prog_data->uses_baseinstance; in brw_draw_single_prim()
1041 (vs_prog_data->uses_firstvertex && in brw_draw_single_prim()
1043 (vs_prog_data->uses_baseinstance && in brw_draw_single_prim()
1073 if (prim_id > 0 && vs_prog_data->uses_drawid) in brw_draw_single_prim()
DgenX_state_upload.c469 const struct brw_vs_prog_data *vs_prog_data = in genX() local
477 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid) { in genX()
493 if (vs_prog_data->uses_vertexid) { in genX()
499 if (vs_prog_data->uses_instanceid) { in genX()
516 vs_prog_data->uses_firstvertex || in genX()
517 vs_prog_data->uses_baseinstance; in genX()
520 vs_prog_data->uses_drawid || in genX()
521 vs_prog_data->uses_is_indexed_draw; in genX()
524 vs_prog_data->uses_instanceid || in genX()
525 vs_prog_data->uses_vertexid); in genX()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c91 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in emit_vertex_input() local
94 const uint64_t inputs_read = vs_prog_data->inputs_read; in emit_vertex_input()
96 vs_prog_data->double_inputs_read & inputs_read; in emit_vertex_input()
100 const bool needs_svgs_elem = vs_prog_data->uses_vertexid || in emit_vertex_input()
101 vs_prog_data->uses_instanceid || in emit_vertex_input()
102 vs_prog_data->uses_firstvertex || in emit_vertex_input()
103 vs_prog_data->uses_baseinstance; in emit_vertex_input()
109 MAX2(1, elem_count + needs_svgs_elem + vs_prog_data->uses_drawid); in emit_vertex_input()
203 uint32_t base_ctrl = (vs_prog_data->uses_firstvertex || in emit_vertex_input()
204 vs_prog_data->uses_baseinstance) ? in emit_vertex_input()
[all …]
DgenX_cmd_buffer.c3744 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in update_dirty_vbs_for_gen8_vb_flush() local
3747 if (vs_prog_data->uses_firstvertex || in update_dirty_vbs_for_gen8_vb_flush()
3748 vs_prog_data->uses_baseinstance) in update_dirty_vbs_for_gen8_vb_flush()
3750 if (vs_prog_data->uses_drawid) in update_dirty_vbs_for_gen8_vb_flush()
3767 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
3777 if (vs_prog_data->uses_firstvertex || in genX()
3778 vs_prog_data->uses_baseinstance) in genX()
3780 if (vs_prog_data->uses_drawid) in genX()
3818 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local
3828 if (vs_prog_data->uses_firstvertex || in genX()
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp.c230 struct brw_vs_prog_data *vs_prog_data) in blorp_compile_vs() argument
240 vs_prog_data->inputs_read = nir->info.inputs_read; in blorp_compile_vs()
243 &vs_prog_data->base.vue_map, in blorp_compile_vs()
252 &vs_key, vs_prog_data, nir, -1, NULL, NULL); in blorp_compile_vs()
Dblorp_priv.h213 struct brw_vs_prog_data *vs_prog_data; member
377 struct brw_vs_prog_data *vs_prog_data);
Dblorp_clear.c141 &params->vs_prog_kernel, &params->vs_prog_data)) in blorp_params_get_layer_offset_vs()
191 struct brw_vs_prog_data vs_prog_data; in blorp_params_get_layer_offset_vs() local
192 memset(&vs_prog_data, 0, sizeof(vs_prog_data)); in blorp_params_get_layer_offset_vs()
195 blorp_compile_vs(blorp, mem_ctx, b.shader, &vs_prog_data); in blorp_params_get_layer_offset_vs()
200 program, vs_prog_data.base.base.program_size, in blorp_params_get_layer_offset_vs()
201 &vs_prog_data.base.base, sizeof(vs_prog_data), in blorp_params_get_layer_offset_vs()
202 &params->vs_prog_kernel, &params->vs_prog_data); in blorp_params_get_layer_offset_vs()
Dblorp_genX_exec.h660 struct brw_vs_prog_data *vs_prog_data = params->vs_prog_data; in blorp_emit_vs_config() local
661 assert(!vs_prog_data || GEN_GEN < 11 || in blorp_emit_vs_config()
662 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8); in blorp_emit_vs_config()
665 if (vs_prog_data) { in blorp_emit_vs_config()
671 vs_prog_data->base.base.dispatch_grf_start_reg; in blorp_emit_vs_config()
673 vs_prog_data->base.urb_read_length; in blorp_emit_vs_config()
681 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8; in blorp_emit_vs_config()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c1104 struct brw_vs_prog_data *vs_prog_data = in iris_compile_vs() local
1106 struct brw_vue_prog_data *vue_prog_data = &vs_prog_data->base; in iris_compile_vs()
1143 brw_compile_vs(compiler, &ice->dbg, mem_ctx, &brw_key, vs_prog_data, in iris_compile_vs()
1206 const struct brw_vs_prog_data *vs_prog_data = in iris_update_compiled_vs() local
1208 const bool uses_draw_params = vs_prog_data->uses_firstvertex || in iris_update_compiled_vs()
1209 vs_prog_data->uses_baseinstance; in iris_update_compiled_vs()
1210 const bool uses_derived_draw_params = vs_prog_data->uses_drawid || in iris_update_compiled_vs()
1211 vs_prog_data->uses_is_indexed_draw; in iris_update_compiled_vs()
1213 vs_prog_data->uses_instanceid || in iris_update_compiled_vs()
1214 vs_prog_data->uses_vertexid; in iris_update_compiled_vs()
Diris_state.c6395 const struct brw_vs_prog_data *vs_prog_data = (void *) in iris_upload_dirty_render_state() local
6400 if (vs_prog_data->uses_vertexid) { in iris_upload_dirty_render_state()
6407 if (vs_prog_data->uses_instanceid) { in iris_upload_dirty_render_state()