Home
last modified time | relevance | path

Searched refs:descriptor_set (Results 1 – 25 of 113) sorted by relevance

12345

/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc200 FileDescriptorSet* descriptor_set);
203 const FileDescriptorSet* descriptor_set);
487 const std::string& filename, FileDescriptorSet* descriptor_set) { in ReadDescriptorSet() argument
492 if (!descriptor_set->ParseFromString(file_contents)) { in ReadDescriptorSet()
498 const std::string& filename, const FileDescriptorSet* descriptor_set) { in WriteDescriptorSet() argument
500 GOOGLE_CHECK(descriptor_set->SerializeToString(&binary_proto)); in WriteDescriptorSet()
1526 FileDescriptorSet descriptor_set; in TEST_F() local
1527 ReadDescriptorSet("descriptor_set", &descriptor_set); in TEST_F()
1529 EXPECT_EQ(1, descriptor_set.file_size()); in TEST_F()
1530 EXPECT_EQ("bar.proto", descriptor_set.file(0).name()); in TEST_F()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline.cc290 return Result("buffer (" + std::to_string(buf.descriptor_set) + ":" + in Validate()
516 Buffer* Pipeline::GetBufferForBinding(uint32_t descriptor_set, in GetBufferForBinding() argument
519 if (info.descriptor_set == descriptor_set && info.binding == binding) in GetBufferForBinding()
527 uint32_t descriptor_set, in AddBuffer() argument
536 info.descriptor_set = descriptor_set; in AddBuffer()
562 info.descriptor_set = std::numeric_limits<uint32_t>::max(); in AddBuffer()
583 info.descriptor_set = std::numeric_limits<uint32_t>::max(); in AddBuffer()
589 void Pipeline::ClearBuffers(uint32_t descriptor_set, uint32_t binding) { in ClearBuffers() argument
592 [descriptor_set, binding](BufferInfo& info) -> bool { in ClearBuffers()
593 return (info.descriptor_set == descriptor_set && in ClearBuffers()
[all …]
Dpipeline_test.cc400 EXPECT_EQ(1U, bufs[0].descriptor_set); in TEST_F()
407 EXPECT_EQ(1U, bufs[1].descriptor_set); in TEST_F()
425 entry1.descriptor_set = 4; in TEST_F()
433 entry2.descriptor_set = 3; in TEST_F()
452 EXPECT_EQ(4U, bufs[0].descriptor_set); in TEST_F()
455 EXPECT_EQ(3U, bufs[1].descriptor_set); in TEST_F()
470 entry1.descriptor_set = 4; in TEST_F()
478 entry2.descriptor_set = 3; in TEST_F()
509 entry1.descriptor_set = 4; in TEST_F()
517 entry2.descriptor_set = 3; in TEST_F()
[all …]
Dpipeline.h128 uint32_t descriptor_set = 0; member
189 uint32_t descriptor_set = 0; member
212 uint32_t descriptor_set = 0; member
348 uint32_t descriptor_set,
361 void ClearBuffers(uint32_t descriptor_set, uint32_t binding);
365 void AddSampler(Sampler* sampler, uint32_t descriptor_set, uint32_t binding);
372 uint32_t descriptor_set,
375 void ClearSamplers(uint32_t descriptor_set, uint32_t binding);
386 Buffer* GetBufferForBinding(uint32_t descriptor_set, uint32_t binding) const;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Duniform_buffer_element_descriptor.cpp23 uint32_t descriptor_set, uint32_t binding, in MakeUniformBufferElementDescriptor() argument
26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor()
37 return first->descriptor_set() == second->descriptor_set() && in operator ()()
69 uniform_buffer_element_descriptor.descriptor_set()) { in FindUniformVariable()
Duniform_buffer_element_descriptor.h30 uint32_t descriptor_set, uint32_t binding, std::vector<uint32_t>&& indices);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Duniform_buffer_element_descriptor.cpp23 uint32_t descriptor_set, uint32_t binding, in MakeUniformBufferElementDescriptor() argument
26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor()
37 return first->descriptor_set() == second->descriptor_set() && in operator ()()
69 uniform_buffer_element_descriptor.descriptor_set()) { in FindUniformVariable()
Duniform_buffer_element_descriptor.h30 uint32_t descriptor_set, uint32_t binding, std::vector<uint32_t>&& indices);
/third_party/spirv-tools/source/fuzz/
Duniform_buffer_element_descriptor.cpp23 uint32_t descriptor_set, uint32_t binding, in MakeUniformBufferElementDescriptor() argument
26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor()
37 return first->descriptor_set() == second->descriptor_set() && in operator ()()
69 uniform_buffer_element_descriptor.descriptor_set()) { in FindUniformVariable()
Duniform_buffer_element_descriptor.h30 uint32_t descriptor_set, uint32_t binding, std::vector<uint32_t>&& indices);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconvert_to_sampled_image_pass.h30 uint32_t descriptor_set; member
34 return descriptor_set_binding.descriptor_set == descriptor_set &&
46 return std::hash<uint32_t>()(descriptor_set_binding.descriptor_set) ^ in operator()
Dconvert_to_sampled_image_pass.cpp96 descriptor_set_binding->descriptor_set = in GetDescriptorSetBinding()
411 uint32_t descriptor_set = 0; in ParseDescriptorSetBindingPairsString() local
412 str = ParseNumberUntilSeparator(str, &descriptor_set); in ParseDescriptorSetBindingPairsString()
427 descriptor_set_binding_pairs->push_back({descriptor_set, binding}); in ParseDescriptorSetBindingPairsString()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconvert_to_sampled_image_pass.h30 uint32_t descriptor_set; member
34 return descriptor_set_binding.descriptor_set == descriptor_set &&
46 return std::hash<uint32_t>()(descriptor_set_binding.descriptor_set) ^ in operator()
Dconvert_to_sampled_image_pass.cpp96 descriptor_set_binding->descriptor_set = in GetDescriptorSetBinding()
411 uint32_t descriptor_set = 0; in ParseDescriptorSetBindingPairsString() local
412 str = ParseNumberUntilSeparator(str, &descriptor_set); in ParseDescriptorSetBindingPairsString()
427 descriptor_set_binding_pairs->push_back({descriptor_set, binding}); in ParseDescriptorSetBindingPairsString()
/third_party/spirv-tools/source/opt/
Dconvert_to_sampled_image_pass.h30 uint32_t descriptor_set; member
34 return descriptor_set_binding.descriptor_set == descriptor_set &&
46 return std::hash<uint32_t>()(descriptor_set_binding.descriptor_set) ^ in operator()
Dconvert_to_sampled_image_pass.cpp96 descriptor_set_binding->descriptor_set = in GetDescriptorSetBinding()
411 uint32_t descriptor_set = 0; in ParseDescriptorSetBindingPairsString() local
412 str = ParseNumberUntilSeparator(str, &descriptor_set); in ParseDescriptorSetBindingPairsString()
427 descriptor_set_binding_pairs->push_back({descriptor_set, binding}); in ParseDescriptorSetBindingPairsString()
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc1468 const auto descriptor_set = command->GetDescriptorSet(); in DoBuffer() local
1473 auto where = render_pipeline->buffer_map.find({descriptor_set, binding}); in DoBuffer()
1482 auto where = compute_pipeline->buffer_map.find({descriptor_set, binding}); in DoBuffer()
1495 std::to_string(descriptor_set) + " and binding " + in DoBuffer()
1615 while (layouts_info[buf_info.descriptor_set].size() <= buf_info.binding) in AttachBuffersAndTextures()
1616 layouts_info[buf_info.descriptor_set].push_back(empty_layout_info); in AttachBuffersAndTextures()
1641 if (buf_info.descriptor_set > kMaxDawnBindGroup - 1) { in AttachBuffersAndTextures()
1652 render_pipeline->buffer_map[{buf_info.descriptor_set, buf_info.binding}] = in AttachBuffersAndTextures()
1655 render_pipeline->used_descriptor_set.insert(buf_info.descriptor_set); in AttachBuffersAndTextures()
1656 max_descriptor_set = std::max(max_descriptor_set, buf_info.descriptor_set); in AttachBuffersAndTextures()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dsampler_descriptor.cc47 VkDescriptorSet descriptor_set) { in UpdateDescriptorSetIfNeeded() argument
58 write.dstSet = descriptor_set; in UpdateDescriptorSetIfNeeded()
Dimage_descriptor.cc111 VkDescriptorSet descriptor_set) { in UpdateDescriptorSetIfNeeded() argument
132 write.dstSet = descriptor_set; in UpdateDescriptorSetIfNeeded()
Dbuffer_descriptor.cc92 VkDescriptorSet descriptor_set) { in UpdateDescriptorSetIfNeeded() argument
136 write.dstSet = descriptor_set; in UpdateDescriptorSetIfNeeded()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c190 unsigned desc_set_idx = var->data.descriptor_set; in lower_vri_instr_tex_deref()
265 unsigned desc_set_idx = var->data.descriptor_set; in lower_vri_intrin_image()
359 unsigned desc_set_idx = var->data.descriptor_set; in lvp_lower_pipeline_layout()
364 var->data.descriptor_set = 0; in lvp_lower_pipeline_layout()
384 var->data.descriptor_set = 0; in lvp_lower_pipeline_layout()
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_xgl_pds.c1551 struct pvr_pds_descriptor_set *descriptor_set = in pvr_pds_generate_descriptor_upload_program() local
1562 descriptor_set_entry->descriptor_set = descriptor_set->descriptor_set; in pvr_pds_generate_descriptor_upload_program()
1563 descriptor_set_entry->primary = descriptor_set->primary; in pvr_pds_generate_descriptor_upload_program()
1564 descriptor_set_entry->offset_in_dwords = descriptor_set->offset_in_dwords; in pvr_pds_generate_descriptor_upload_program()
1573 descriptor_set->size_in_dwords, in pvr_pds_generate_descriptor_upload_program()
1574 descriptor_set->destination)); in pvr_pds_generate_descriptor_upload_program()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cpp.cpp37 uint32_t descriptor_set = ir.meta[var.self].decoration.set; in emit_buffer_block() local
46 join("s.register_resource(", instance_name, "__", ", ", descriptor_set, ", ", binding, ");")); in emit_buffer_block()
93 uint32_t descriptor_set = ir.meta[var.self].decoration.set; in emit_uniform() local
106 join("s.register_resource(", instance_name, "__", ", ", descriptor_set, ", ", binding, ");")); in emit_uniform()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c43 input_img->data.descriptor_set = 0; in build_nir_itob_compute_shader()
47 output_img->data.descriptor_set = 0; in build_nir_itob_compute_shader()
219 input_img->data.descriptor_set = 0; in build_nir_btoi_compute_shader()
223 output_img->data.descriptor_set = 0; in build_nir_btoi_compute_shader()
394 input_img->data.descriptor_set = 0; in build_nir_btoi_r32g32b32_compute_shader()
398 output_img->data.descriptor_set = 0; in build_nir_btoi_r32g32b32_compute_shader()
546 input_img->data.descriptor_set = 0; in build_nir_itoi_compute_shader()
550 output_img->data.descriptor_set = 0; in build_nir_itoi_compute_shader()
741 input_img->data.descriptor_set = 0; in build_nir_itoi_r32g32b32_compute_shader()
746 output_img->data.descriptor_set = 0; in build_nir_itoi_r32g32b32_compute_shader()
[all …]
/third_party/spirv-tools/test/fuzz/
Dfuzzer_replayer_test.cpp1617 uint32_t descriptor_set, uint32_t binding, in AddConstantUniformFact() argument
1621 MakeUniformBufferElementDescriptor(descriptor_set, binding, in AddConstantUniformFact()

12345