/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 43 const struct anv_pipeline_bind_map *bind_map) in anv_shader_bin_create() argument 64 bind_map->surface_count); in anv_shader_bin_create() 66 bind_map->sampler_count); in anv_shader_bin_create() 125 shader->bind_map = *bind_map; in anv_shader_bin_create() 126 typed_memcpy(surface_to_descriptor, bind_map->surface_to_descriptor, in anv_shader_bin_create() 127 bind_map->surface_count); in anv_shader_bin_create() 128 shader->bind_map.surface_to_descriptor = surface_to_descriptor; in anv_shader_bin_create() 129 typed_memcpy(sampler_to_descriptor, bind_map->sampler_to_descriptor, in anv_shader_bin_create() 130 bind_map->sampler_count); in anv_shader_bin_create() 131 shader->bind_map.sampler_to_descriptor = sampler_to_descriptor; in anv_shader_bin_create() [all …]
|
D | anv_pipeline.c | 610 struct anv_pipeline_bind_map bind_map; member 774 layout, nir, &stage->bind_map); in anv_pipeline_lower_nir() 792 nir, prog_data, &stage->bind_map, mem_ctx); in anv_pipeline_lower_nir() 1011 assert(stage->bind_map.surface_count == 0); in anv_pipeline_link_fs() 1012 typed_memcpy(stage->bind_map.surface_to_descriptor, in anv_pipeline_link_fs() 1014 stage->bind_map.surface_count += num_rt_bindings; in anv_pipeline_link_fs() 1141 push_size += stage->bind_map.push_ranges[i].length; in anv_pipeline_add_executable() 1145 if (stage->bind_map.push_ranges[i].length == 0) in anv_pipeline_add_executable() 1149 stage->bind_map.push_ranges[i].length * 32); in anv_pipeline_add_executable() 1151 switch (stage->bind_map.push_ranges[i].set) { in anv_pipeline_add_executable() [all …]
|
D | genX_cmd_buffer.c | 2547 struct anv_pipeline_bind_map *map = &shader->bind_map; in emit_binding_table() 2844 struct anv_pipeline_bind_map *map = &shader->bind_map; in emit_samplers() 3153 const struct anv_pipeline_bind_map *bind_map = in cmd_buffer_emit_push_constant() local 3154 &pipeline->shaders[stage]->bind_map; in cmd_buffer_emit_push_constant() 3189 const struct anv_push_range *range = &bind_map->push_ranges[i]; in cmd_buffer_emit_push_constant() 3207 if (bind_map->push_ranges[0].length > 0) { in cmd_buffer_emit_push_constant() 3209 assert(bind_map->push_ranges[0].set == in cmd_buffer_emit_push_constant() 3213 c.ConstantBody.ReadLength[0] = bind_map->push_ranges[0].length; in cmd_buffer_emit_push_constant() 3217 assert(bind_map->push_ranges[1].length == 0); in cmd_buffer_emit_push_constant() 3218 assert(bind_map->push_ranges[2].length == 0); in cmd_buffer_emit_push_constant() [all …]
|
D | genX_pipeline.c | 1135 map = &pipeline->shaders[MESA_SHADER_FRAGMENT]->bind_map; 1557 uint32_t count_by_4 = DIV_ROUND_UP(bin->bind_map.sampler_count, 4); 1569 return DIV_ROUND_UP(bin->bind_map.surface_count, 32); 1882 const struct anv_pipeline_bind_map *bind_map = &shader_bin->bind_map; local 1883 for (int i = 0; i < bind_map->surface_count; i++) { 1884 struct anv_pipeline_binding *binding = &bind_map->surface_to_descriptor[i]; 2432 .BindingTableEntryCount = 1 + MIN2(cs_bin->bind_map.surface_count, 30),
|
D | anv_cmd_buffer.c | 473 &compute_pipeline->cs->bind_map); in anv_CmdBindPipeline() 489 &gfx_pipeline->shaders[stage]->bind_map); in anv_CmdBindPipeline() 1041 const struct anv_push_range *range = &pipeline->cs->bind_map.push_ranges[0]; in anv_cmd_buffer_cs_push_constants()
|
D | anv_private.h | 1303 const struct anv_pipeline_bind_map *bind_map); 1322 const struct anv_pipeline_bind_map *bind_map); 3373 struct anv_pipeline_bind_map bind_map; member 3385 const struct anv_pipeline_bind_map *bind_map);
|
D | anv_blorp.c | 67 struct anv_pipeline_bind_map bind_map = { in upload_blorp_shader() local 76 NULL, 0, NULL, &bind_map); in upload_blorp_shader()
|
/external/python/pybind11/tests/ |
D | test_stl_binders.cpp | 68 py::bind_map<std::map<std::string, double>>(m, "MapStringDouble"); in TEST_SUBMODULE() 69 py::bind_map<std::unordered_map<std::string, double>>(m, "UnorderedMapStringDouble"); in TEST_SUBMODULE() 72 py::bind_map<std::map<std::string, double const>>(m, "MapStringDoubleConst"); in TEST_SUBMODULE() 73 py::bind_map<std::unordered_map<std::string, double const>>(m, "UnorderedMapStringDoubleConst"); in TEST_SUBMODULE() 84 py::bind_map<std::map<int, E_nc>>(m, "MapENC"); in TEST_SUBMODULE() 86 py::bind_map<std::unordered_map<int, E_nc>>(m, "UmapENC"); in TEST_SUBMODULE()
|
D | test_local_bindings.cpp | 54 py::bind_map<LocalMap>(m, "LocalMap"); in TEST_SUBMODULE() 57 py::bind_map<NonLocalMap>(m, "NonLocalMap"); in TEST_SUBMODULE() 63 py::bind_map<NonLocalMap2>(m, "NonLocalMap2", py::module_local(false)); in TEST_SUBMODULE()
|
D | pybind11_cross_module_tests.cpp | 53 py::bind_map<LocalMap>(m, "LocalMap"); in PYBIND11_MODULE() 62 py::bind_map<NonLocalMap>(m, "NonLocalMap"); in PYBIND11_MODULE() 70 py::bind_map<NonLocalMap2>(m, "NonLocalMap2", py::module_local(false)); in PYBIND11_MODULE()
|
/external/python/pybind11/docs/advanced/cast/ |
D | stl.rst | 208 py::bind_map<std::map<std::string, double>>(m, "MapStringDouble"); 225 ``py::bind_vector`` or ``py::bind_map`` arguments:
|
/external/python/pybind11/include/pybind11/ |
D | stl_bind.h | 576 class_<Map, holder_type> bind_map(handle scope, const std::string &name, Args&&... args) {
|
/external/python/pybind11/docs/ |
D | upgrade.rst | 182 types, ``py::bind_vector`` and ``py::bind_map`` will now bind STL containers
|
D | changelog.rst | 412 types like ``std::vector<int>``. ``py::bind_vector`` and ``py::bind_map``
|