Home
last modified time | relevance | path

Searched refs:bind_map (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c76 const struct anv_pipeline_bind_map *bind_map) in anv_shader_bin_create() argument
92 bind_map->surface_count); in anv_shader_bin_create()
94 bind_map->sampler_count); in anv_shader_bin_create()
172 shader->bind_map = *bind_map; in anv_shader_bin_create()
173 typed_memcpy(surface_to_descriptor, bind_map->surface_to_descriptor, in anv_shader_bin_create()
174 bind_map->surface_count); in anv_shader_bin_create()
175 shader->bind_map.surface_to_descriptor = surface_to_descriptor; in anv_shader_bin_create()
176 typed_memcpy(sampler_to_descriptor, bind_map->sampler_to_descriptor, in anv_shader_bin_create()
177 bind_map->sampler_count); in anv_shader_bin_create()
178 shader->bind_map.sampler_to_descriptor = sampler_to_descriptor; in anv_shader_bin_create()
[all …]
Danv_pipeline.c532 struct anv_pipeline_bind_map bind_map; member
732 layout, &stage->bind_map); in anv_pipeline_lower_nir()
762 prog_data, &stage->bind_map, mem_ctx); in anv_pipeline_lower_nir()
1117 assert(stage->bind_map.surface_count == 0); in anv_pipeline_link_fs()
1118 typed_memcpy(stage->bind_map.surface_to_descriptor, in anv_pipeline_link_fs()
1120 stage->bind_map.surface_count += num_rt_bindings; in anv_pipeline_link_fs()
1183 push_size += stage->bind_map.push_ranges[i].length; in anv_pipeline_add_executable()
1187 if (stage->bind_map.push_ranges[i].length == 0) in anv_pipeline_add_executable()
1191 stage->bind_map.push_ranges[i].length * 32); in anv_pipeline_add_executable()
1193 switch (stage->bind_map.push_ranges[i].set) { in anv_pipeline_add_executable()
[all …]
DgenX_cmd_buffer.c2572 struct anv_pipeline_bind_map *map = &shader->bind_map; in emit_binding_table()
2860 struct anv_pipeline_bind_map *map = &shader->bind_map; in emit_samplers()
3201 const struct anv_pipeline_bind_map *bind_map = in cmd_buffer_emit_push_constant() local
3202 &pipeline->shaders[stage]->bind_map; in cmd_buffer_emit_push_constant()
3219 const struct anv_push_range *range = &bind_map->push_ranges[i]; in cmd_buffer_emit_push_constant()
3237 if (bind_map->push_ranges[0].length > 0) { in cmd_buffer_emit_push_constant()
3239 assert(bind_map->push_ranges[0].set == in cmd_buffer_emit_push_constant()
3243 c.ConstantBody.ReadLength[0] = bind_map->push_ranges[0].length; in cmd_buffer_emit_push_constant()
3247 assert(bind_map->push_ranges[1].length == 0); in cmd_buffer_emit_push_constant()
3248 assert(bind_map->push_ranges[2].length == 0); in cmd_buffer_emit_push_constant()
[all …]
DgenX_pipeline.c1017 map = &pipeline->shaders[MESA_SHADER_FRAGMENT]->bind_map; in emit_cb_state()
1467 uint32_t count_by_4 = DIV_ROUND_UP(bin->bind_map.sampler_count, 4); in get_sampler_count()
1544 vs.BindingTableEntryCount = vs_bin->bind_map.surface_count; in emit_3dstate_vs()
1621 hs.BindingTableEntryCount = tcs_bin->bind_map.surface_count; in emit_3dstate_hs_te_ds()
1706 ds.BindingTableEntryCount = tes_bin->bind_map.surface_count; in emit_3dstate_hs_te_ds()
1772 gs.BindingTableEntryCount = gs_bin->bind_map.surface_count; in emit_3dstate_gs()
1990 ps.BindingTableEntryCount = fs_bin->bind_map.surface_count; in emit_3dstate_ps()
2474 .BindingTableEntryCount = 1 + MIN2(cs_bin->bind_map.surface_count, 30), in genX()
Danv_cmd_buffer.c393 &compute_pipeline->cs->bind_map); in anv_CmdBindPipeline()
412 &gfx_pipeline->shaders[stage]->bind_map); in anv_CmdBindPipeline()
744 const struct anv_push_range *range = &pipeline->cs->bind_map.push_ranges[0]; in anv_cmd_buffer_cs_push_constants()
Danv_private.h1146 const struct anv_pipeline_bind_map *bind_map);
3036 struct anv_pipeline_bind_map bind_map; member
3048 const struct anv_pipeline_bind_map *bind_map);
Danv_blorp.c62 struct anv_pipeline_bind_map bind_map = { in upload_blorp_shader() local
71 NULL, 0, NULL, &bind_map); in upload_blorp_shader()
/third_party/benchmark/bindings/python/google_benchmark/
Dbenchmark.cc151 py::bind_map<benchmark::UserCounters>(m, "UserCounters"); in PYBIND11_MODULE()