Home
last modified time | relevance | path

Searched refs:max_binding (Results 1 – 6 of 6) sorted by relevance

/external/deqp-deps/amber/src/
Dshader_compiler_test.cc367 uint32_t max_binding = 0; in TEST_F() local
370 max_binding = std::max(max_binding, entry.binding); in TEST_F()
374 EXPECT_EQ(3U, max_binding); in TEST_F()
386 max_binding = 0; in TEST_F()
389 max_binding = std::max(max_binding, entry.binding); in TEST_F()
393 EXPECT_EQ(2U, max_binding); in TEST_F()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c38 uint32_t max_binding = 0; in lvp_CreateDescriptorSetLayout() local
41 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in lvp_CreateDescriptorSetLayout()
47 (max_binding + 1) * sizeof(set_layout->binding[0]) + in lvp_CreateDescriptorSetLayout()
59 (struct lvp_sampler **)&set_layout->binding[max_binding + 1]; in lvp_CreateDescriptorSetLayout()
61 set_layout->binding_count = max_binding + 1; in lvp_CreateDescriptorSetLayout()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c597 int32_t max_binding = pCreateInfo->bindingCount > 0 ? 0 : -1; in v3dv_CreateDescriptorSetLayout() local
600 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in v3dv_CreateDescriptorSetLayout()
622 (max_binding + 1) * sizeof(set_layout->binding[0]); in v3dv_CreateDescriptorSetLayout()
633 struct v3dv_sampler *samplers = (void*) &set_layout->binding[max_binding + 1]; in v3dv_CreateDescriptorSetLayout()
637 assert(max_binding >= 0); in v3dv_CreateDescriptorSetLayout()
650 set_layout->binding_count = max_binding + 1; in v3dv_CreateDescriptorSetLayout()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c121 uint32_t max_binding = 0; in tu_CreateDescriptorSetLayout() local
125 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in tu_CreateDescriptorSetLayout()
143 offsetof(struct tu_descriptor_set_layout, binding[max_binding + 1]); in tu_CreateDescriptorSetLayout()
159 struct tu_sampler *samplers = (void*) &set_layout->binding[max_binding + 1]; in tu_CreateDescriptorSetLayout()
170 set_layout->binding_count = max_binding + 1; in tu_CreateDescriptorSetLayout()
194 assert(binding->binding == max_binding); in tu_CreateDescriptorSetLayout()
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c352 uint32_t max_binding = 0; in anv_CreateDescriptorSetLayout() local
355 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in anv_CreateDescriptorSetLayout()
385 anv_multialloc_add(&ma, &bindings, max_binding + 1); in anv_CreateDescriptorSetLayout()
396 set_layout->binding_count = max_binding + 1; in anv_CreateDescriptorSetLayout()
398 for (uint32_t b = 0; b <= max_binding; b++) { in anv_CreateDescriptorSetLayout()
430 for (uint32_t b = 0; b <= max_binding; b++) { in anv_CreateDescriptorSetLayout()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp352 uint32_t max_binding = 0; in ValidateDescriptorSetLayoutCreateInfo() local
356 max_binding = std::max(max_binding, binding_info.binding); in ValidateDescriptorSetLayoutCreateInfo()
499 if (binding_info.binding != max_binding) { in ValidateDescriptorSetLayoutCreateInfo()