/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_vs_visitor.cpp | 103 struct brw_vs_prog_data *vs_prog_data, in vec4_vs_visitor() argument 108 : vec4_visitor(compiler, log_data, &key->base.tex, &vs_prog_data->base, in vec4_vs_visitor() 112 vs_prog_data(vs_prog_data) in vec4_vs_visitor()
|
D | brw_vec4_vs.h | 37 struct brw_vs_prog_data *vs_prog_data, 55 struct brw_vs_prog_data * const vs_prog_data; variable
|
D | brw_vec4.cpp | 1810 return payload_reg + vs_prog_data->nr_attribute_slots; in setup_attributes()
|
D | brw_fs.cpp | 2037 struct brw_vs_prog_data *vs_prog_data = brw_vs_prog_data(prog_data); in assign_vs_urb_setup() local 2042 this->first_non_payload_grf += 4 * vs_prog_data->nr_attribute_slots; in assign_vs_urb_setup() 2044 assert(vs_prog_data->base.urb_read_length <= 15); in assign_vs_urb_setup()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw_upload.c | 444 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()
|
D | brw_draw.c | 1031 const struct brw_vs_prog_data *vs_prog_data = in brw_draw_single_prim() local 1035 vs_prog_data->uses_firstvertex || in brw_draw_single_prim() 1036 vs_prog_data->uses_baseinstance; in brw_draw_single_prim() 1039 (vs_prog_data->uses_firstvertex && in brw_draw_single_prim() 1041 (vs_prog_data->uses_baseinstance && in brw_draw_single_prim() 1071 if (prim_id > 0 && vs_prog_data->uses_drawid) in brw_draw_single_prim()
|
D | genX_state_upload.c | 470 const struct brw_vs_prog_data *vs_prog_data = in genX() local 478 if (vs_prog_data->uses_vertexid || vs_prog_data->uses_instanceid) { in genX() 494 if (vs_prog_data->uses_vertexid) { in genX() 500 if (vs_prog_data->uses_instanceid) { in genX() 517 vs_prog_data->uses_firstvertex || in genX() 518 vs_prog_data->uses_baseinstance; in genX() 521 vs_prog_data->uses_drawid || in genX() 522 vs_prog_data->uses_is_indexed_draw; in genX() 525 vs_prog_data->uses_instanceid || in genX() 526 vs_prog_data->uses_vertexid); in genX() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | genX_pipeline.c | 93 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in emit_vertex_input() local 96 const uint64_t inputs_read = vs_prog_data->inputs_read; in emit_vertex_input() 98 vs_prog_data->double_inputs_read & inputs_read; in emit_vertex_input() 102 const bool needs_svgs_elem = vs_prog_data->uses_vertexid || in emit_vertex_input() 103 vs_prog_data->uses_instanceid || in emit_vertex_input() 104 vs_prog_data->uses_firstvertex || in emit_vertex_input() 105 vs_prog_data->uses_baseinstance; in emit_vertex_input() 111 MAX2(1, elem_count + needs_svgs_elem + vs_prog_data->uses_drawid); in emit_vertex_input() 205 uint32_t base_ctrl = (vs_prog_data->uses_firstvertex || in emit_vertex_input() 206 vs_prog_data->uses_baseinstance) ? in emit_vertex_input() [all …]
|
D | genX_cmd_buffer.c | 3859 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in update_dirty_vbs_for_gfx8_vb_flush() local 3862 if (vs_prog_data->uses_firstvertex || in update_dirty_vbs_for_gfx8_vb_flush() 3863 vs_prog_data->uses_baseinstance) in update_dirty_vbs_for_gfx8_vb_flush() 3865 if (vs_prog_data->uses_drawid) in update_dirty_vbs_for_gfx8_vb_flush() 3875 const struct brw_vs_prog_data *vs_prog_data, in cmd_buffer_emit_vertex_constants_and_flush() argument 3882 if (vs_prog_data->uses_firstvertex || in cmd_buffer_emit_vertex_constants_and_flush() 3883 vs_prog_data->uses_baseinstance) { in cmd_buffer_emit_vertex_constants_and_flush() 3887 if (vs_prog_data->uses_drawid) { in cmd_buffer_emit_vertex_constants_and_flush() 3907 const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline); in genX() local 3925 cmd_buffer_emit_vertex_constants_and_flush(cmd_buffer, vs_prog_data, in genX() [all …]
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 260 struct brw_vs_prog_data *vs_prog_data) in blorp_compile_vs() argument 270 vs_prog_data->inputs_read = nir->info.inputs_read; in blorp_compile_vs() 273 &vs_prog_data->base.vue_map, in blorp_compile_vs() 283 .prog_data = vs_prog_data, in blorp_compile_vs()
|
D | blorp_priv.h | 230 struct brw_vs_prog_data *vs_prog_data; member 421 struct brw_vs_prog_data *vs_prog_data);
|
D | blorp_clear.c | 226 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data)) in blorp_params_get_layer_offset_vs() 276 struct brw_vs_prog_data vs_prog_data; in blorp_params_get_layer_offset_vs() local 277 memset(&vs_prog_data, 0, sizeof(vs_prog_data)); in blorp_params_get_layer_offset_vs() 280 blorp_compile_vs(blorp, mem_ctx, b.shader, &vs_prog_data); in blorp_params_get_layer_offset_vs() 285 program, vs_prog_data.base.base.program_size, in blorp_params_get_layer_offset_vs() 286 &vs_prog_data.base.base, sizeof(vs_prog_data), in blorp_params_get_layer_offset_vs() 287 ¶ms->vs_prog_kernel, ¶ms->vs_prog_data); in blorp_params_get_layer_offset_vs()
|
D | blorp_genX_exec.h | 684 struct brw_vs_prog_data *vs_prog_data = params->vs_prog_data; in blorp_emit_vs_config() local 685 assert(!vs_prog_data || GFX_VER < 11 || in blorp_emit_vs_config() 686 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8); in blorp_emit_vs_config() 689 if (vs_prog_data) { in blorp_emit_vs_config() 695 vs_prog_data->base.base.dispatch_grf_start_reg; in blorp_emit_vs_config() 697 vs_prog_data->base.urb_read_length; in blorp_emit_vs_config() 705 vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8; in blorp_emit_vs_config()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program.c | 1183 struct brw_vs_prog_data *vs_prog_data = in crocus_compile_vs() local 1185 struct brw_vue_prog_data *vue_prog_data = &vs_prog_data->base; in crocus_compile_vs() 1238 .prog_data = vs_prog_data, in crocus_compile_vs() 1264 prog_data, sizeof(*vs_prog_data), so_decls, in crocus_compile_vs() 1315 const struct brw_vs_prog_data *vs_prog_data = in crocus_update_compiled_vs() local 1317 const bool uses_draw_params = vs_prog_data->uses_firstvertex || in crocus_update_compiled_vs() 1318 vs_prog_data->uses_baseinstance; in crocus_update_compiled_vs() 1319 const bool uses_derived_draw_params = vs_prog_data->uses_drawid || in crocus_update_compiled_vs() 1320 vs_prog_data->uses_is_indexed_draw; in crocus_update_compiled_vs() 1322 vs_prog_data->uses_instanceid || in crocus_update_compiled_vs() [all …]
|
D | crocus_state.c | 7731 const struct brw_vs_prog_data *vs_prog_data = (void *) local 7736 if (vs_prog_data->uses_vertexid) { 7743 if (vs_prog_data->uses_instanceid) {
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 1310 struct brw_vs_prog_data *vs_prog_data = in iris_compile_vs() local 1312 struct brw_vue_prog_data *vue_prog_data = &vs_prog_data->base; in iris_compile_vs() 1351 .prog_data = vs_prog_data, in iris_compile_vs()
|
D | iris_state.c | 6565 const struct brw_vs_prog_data *vs_prog_data = (void *) in iris_upload_dirty_render_state() local 6570 if (vs_prog_data->uses_vertexid) { in iris_upload_dirty_render_state() 6577 if (vs_prog_data->uses_instanceid) { in iris_upload_dirty_render_state()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.1.0.rst | 3038 - iris: Use shader_info rather than vs_prog_data for draw parameter checks
|