Lines Matching refs:dslb
8974 VkDescriptorSetLayoutBinding dslb = {}; in TEST_F() local
8989 dslb.binding = 0; in TEST_F()
8990 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
8991 dslb.descriptorCount = max_samplers; in TEST_F()
8992 dslb.stageFlags = VK_SHADER_STAGE_ALL_GRAPHICS; in TEST_F()
8993 dslb.pImmutableSamplers = NULL; in TEST_F()
8994 dslb_vec.push_back(dslb); in TEST_F()
8995 dslb.binding = 1; in TEST_F()
8996 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
8997 dslb.descriptorCount = max_combined; in TEST_F()
8998 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
8999 dslb_vec.push_back(dslb); in TEST_F()
9023 dslb.binding = 0; in TEST_F()
9024 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
9025 dslb.descriptorCount = max_uniform_buffers + 1; in TEST_F()
9026 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9027 dslb_vec.push_back(dslb); in TEST_F()
9028 dslb.binding = 1; in TEST_F()
9029 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; in TEST_F()
9030 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
9031 dslb_vec.push_back(dslb); in TEST_F()
9039 if (dslb.descriptorCount > sum_uniform_buffers) { in TEST_F()
9043 if (dslb.descriptorCount > sum_dyn_uniform_buffers) { in TEST_F()
9055 dslb.binding = 0; in TEST_F()
9056 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
9057 dslb.descriptorCount = max_storage_buffers + 1; in TEST_F()
9058 dslb.stageFlags = VK_SHADER_STAGE_ALL; in TEST_F()
9059 dslb_vec.push_back(dslb); in TEST_F()
9060 dslb.binding = 1; in TEST_F()
9061 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; in TEST_F()
9062 dslb_vec.push_back(dslb); in TEST_F()
9063 dslb.binding = 2; in TEST_F()
9064 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
9065 dslb.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT; in TEST_F()
9066 dslb_vec.push_back(dslb); in TEST_F()
9074 if (dslb.descriptorCount > sum_dyn_storage_buffers) { in TEST_F()
9090 dslb.binding = 0; in TEST_F()
9091 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in TEST_F()
9092 dslb.descriptorCount = max_sampled_images; in TEST_F()
9093 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9094 dslb_vec.push_back(dslb); in TEST_F()
9095 dslb.binding = 1; in TEST_F()
9096 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in TEST_F()
9097 dslb.stageFlags = VK_SHADER_STAGE_ALL_GRAPHICS; in TEST_F()
9098 dslb_vec.push_back(dslb); in TEST_F()
9099 dslb.binding = 2; in TEST_F()
9100 dslb.descriptorCount = max_combined; in TEST_F()
9101 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
9102 dslb_vec.push_back(dslb); in TEST_F()
9126 dslb.binding = 0; in TEST_F()
9127 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in TEST_F()
9128 dslb.descriptorCount = 1 + (max_storage_images / 2); in TEST_F()
9129 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9130 dslb_vec.push_back(dslb); in TEST_F()
9131 dslb.binding = 1; in TEST_F()
9132 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; in TEST_F()
9133 …dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMP… in TEST_F()
9134 dslb_vec.push_back(dslb); in TEST_F()
9142 if (2 * dslb.descriptorCount > sum_storage_images) { in TEST_F()
9154 dslb.binding = 0; in TEST_F()
9155 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in TEST_F()
9156 dslb.descriptorCount = 1 + max_input_attachments; in TEST_F()
9157 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9158 dslb_vec.push_back(dslb); in TEST_F()
9166 if (dslb.descriptorCount > sum_input_attachments) { in TEST_F()
9205 VkDescriptorSetLayoutBinding dslb = {}; in TEST_F() local
9220 dslb.binding = 0; in TEST_F()
9221 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
9222 dslb.descriptorCount = sum_samplers / 2; in TEST_F()
9223 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
9224 dslb.pImmutableSamplers = NULL; in TEST_F()
9225 dslb_vec.push_back(dslb); in TEST_F()
9226 dslb.binding = 1; in TEST_F()
9227 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
9228 dslb.descriptorCount = sum_samplers - dslb.descriptorCount + 1; in TEST_F()
9229 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9230 dslb_vec.push_back(dslb); in TEST_F()
9238 if (dslb.descriptorCount > max_samplers) { in TEST_F()
9243 if (dslb.descriptorCount > sum_sampled_images) { in TEST_F()
9248 if (dslb.descriptorCount > max_sampled_images) { in TEST_F()
9261 dslb.binding = 0; in TEST_F()
9262 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
9263 dslb.descriptorCount = sum_uniform_buffers + 1; in TEST_F()
9264 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9265 dslb.pImmutableSamplers = NULL; in TEST_F()
9266 dslb_vec.push_back(dslb); in TEST_F()
9274 if (dslb.descriptorCount > max_uniform_buffers) { in TEST_F()
9286 dslb.binding = 0; in TEST_F()
9287 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; in TEST_F()
9288 dslb.descriptorCount = sum_dyn_uniform_buffers + 1; in TEST_F()
9289 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9290 dslb.pImmutableSamplers = NULL; in TEST_F()
9291 dslb_vec.push_back(dslb); in TEST_F()
9299 if (dslb.descriptorCount > max_uniform_buffers) { in TEST_F()
9311 dslb.binding = 0; in TEST_F()
9312 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
9313 dslb.descriptorCount = sum_storage_buffers + 1; in TEST_F()
9314 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9315 dslb.pImmutableSamplers = NULL; in TEST_F()
9316 dslb_vec.push_back(dslb); in TEST_F()
9324 if (dslb.descriptorCount > max_storage_buffers) { in TEST_F()
9336 dslb.binding = 0; in TEST_F()
9337 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; in TEST_F()
9338 dslb.descriptorCount = sum_dyn_storage_buffers + 1; in TEST_F()
9339 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9340 dslb.pImmutableSamplers = NULL; in TEST_F()
9341 dslb_vec.push_back(dslb); in TEST_F()
9349 if (dslb.descriptorCount > max_storage_buffers) { in TEST_F()
9361 dslb.binding = 0; in TEST_F()
9362 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
9363 dslb.descriptorCount = max_samplers; in TEST_F()
9364 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
9365 dslb.pImmutableSamplers = NULL; in TEST_F()
9366 dslb_vec.push_back(dslb); in TEST_F()
9367 dslb.binding = 1; in TEST_F()
9368 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in TEST_F()
9371 dslb.descriptorCount = 1 + remaining; in TEST_F()
9372 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9373 dslb_vec.push_back(dslb); in TEST_F()
9374 dslb.binding = 2; in TEST_F()
9375 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in TEST_F()
9376 dslb.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT; in TEST_F()
9377 dslb_vec.push_back(dslb); in TEST_F()
9398 dslb.binding = 0; in TEST_F()
9399 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in TEST_F()
9400 dslb.descriptorCount = sum_storage_images / 2; in TEST_F()
9401 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
9402 dslb.pImmutableSamplers = NULL; in TEST_F()
9403 dslb_vec.push_back(dslb); in TEST_F()
9404 dslb.binding = 1; in TEST_F()
9405 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; in TEST_F()
9406 dslb.descriptorCount = sum_storage_images - dslb.descriptorCount + 1; in TEST_F()
9407 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9408 dslb_vec.push_back(dslb); in TEST_F()
9416 if (dslb.descriptorCount > max_storage_images) { in TEST_F()
9428 dslb.binding = 0; in TEST_F()
9429 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in TEST_F()
9430 dslb.descriptorCount = sum_input_attachments + 1; in TEST_F()
9431 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
9432 dslb.pImmutableSamplers = NULL; in TEST_F()
9433 dslb_vec.push_back(dslb); in TEST_F()
9441 if (dslb.descriptorCount > max_input_attachments) { in TEST_F()
20590 VkDescriptorSetLayoutBinding dslb[6] = {}; in TEST_F() local
20592 dslb[i].binding = i; in TEST_F()
20593 dslb[i].descriptorCount = 1; in TEST_F()
20594 dslb[i].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
20595 dslb[i].pImmutableSamplers = NULL; in TEST_F()
20596 dslb[i].stageFlags = VK_SHADER_STAGE_COMPUTE_BIT | VK_SHADER_STAGE_ALL; in TEST_F()
20603 ds_layout_ci.pBindings = dslb; in TEST_F()
22655 …VkDescriptorSetLayoutBinding dslb = {0, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, 1, VK_SHADER_STAGE_FR… in TEST_F() local
22656 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()
22699 …VkDescriptorSetLayoutBinding dslb = {0, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, 1, VK_SHADER_STAGE_FR… in TEST_F() local
22700 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()
22768 …VkDescriptorSetLayoutBinding dslb = {0, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, 2, VK_SHADER_STAGE_FR… in TEST_F() local
22769 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()
32495 …VkDescriptorSetLayoutBinding dslb = {0, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, 1, VK_SHADER_STAGE_FR… in TEST_F() local
32496 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()
35715 VkDescriptorSetLayoutBinding dslb = {}; in TEST_F() local
35723 dslb.binding = 0; in TEST_F()
35724 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT; in TEST_F()
35725 dslb.descriptorCount = 4; in TEST_F()
35726 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
35731 dslb.binding = i; in TEST_F()
35732 dslb_vec.push_back(dslb); in TEST_F()
35760 dslb.binding = 0; in TEST_F()
35761 dslb.descriptorCount = inline_uniform_props.maxInlineUniformBlockSize + 1; in TEST_F()
35764 ds_layout_ci.pBindings = &dslb; in TEST_F()
35801 dslb.binding = 0; in TEST_F()
35802 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT; in TEST_F()
35803 dslb.descriptorCount = 8; in TEST_F()
35804 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
35805 dslb_vec.push_back(dslb); in TEST_F()
35806 dslb.binding = 1; in TEST_F()
35807 dslb_vec.push_back(dslb); in TEST_F()