• Home
  • Raw
  • Download

Lines Matching refs:dslb

600     VkDescriptorSetLayoutBinding dslb = {};  in TEST_F()  local
615 dslb.binding = 0; in TEST_F()
616 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
617 dslb.descriptorCount = max_samplers; in TEST_F()
618 dslb.stageFlags = VK_SHADER_STAGE_ALL_GRAPHICS; in TEST_F()
619 dslb.pImmutableSamplers = NULL; in TEST_F()
620 dslb_vec.push_back(dslb); in TEST_F()
621 dslb.binding = 1; in TEST_F()
622 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
623 dslb.descriptorCount = max_combined; in TEST_F()
624 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
625 dslb_vec.push_back(dslb); in TEST_F()
649 dslb.binding = 0; in TEST_F()
650 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
651 dslb.descriptorCount = max_uniform_buffers + 1; in TEST_F()
652 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
653 dslb_vec.push_back(dslb); in TEST_F()
654 dslb.binding = 1; in TEST_F()
655 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; in TEST_F()
656 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
657 dslb_vec.push_back(dslb); in TEST_F()
665 if (dslb.descriptorCount > sum_uniform_buffers) { in TEST_F()
669 if (dslb.descriptorCount > sum_dyn_uniform_buffers) { in TEST_F()
681 dslb.binding = 0; in TEST_F()
682 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
683 dslb.descriptorCount = max_storage_buffers + 1; in TEST_F()
684 dslb.stageFlags = VK_SHADER_STAGE_ALL; in TEST_F()
685 dslb_vec.push_back(dslb); in TEST_F()
686 dslb.binding = 1; in TEST_F()
687 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; in TEST_F()
688 dslb_vec.push_back(dslb); in TEST_F()
689 dslb.binding = 2; in TEST_F()
690 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
691 dslb.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT; in TEST_F()
692 dslb_vec.push_back(dslb); in TEST_F()
700 if (dslb.descriptorCount > sum_dyn_storage_buffers) { in TEST_F()
716 dslb.binding = 0; in TEST_F()
717 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in TEST_F()
718 dslb.descriptorCount = max_sampled_images; in TEST_F()
719 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
720 dslb_vec.push_back(dslb); in TEST_F()
721 dslb.binding = 1; in TEST_F()
722 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in TEST_F()
723 dslb.stageFlags = VK_SHADER_STAGE_ALL_GRAPHICS; in TEST_F()
724 dslb_vec.push_back(dslb); in TEST_F()
725 dslb.binding = 2; in TEST_F()
726 dslb.descriptorCount = max_combined; in TEST_F()
727 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
728 dslb_vec.push_back(dslb); in TEST_F()
752 dslb.binding = 0; in TEST_F()
753 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in TEST_F()
754 dslb.descriptorCount = 1 + (max_storage_images / 2); in TEST_F()
755 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
756 dslb_vec.push_back(dslb); in TEST_F()
757 dslb.binding = 1; in TEST_F()
758 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; in TEST_F()
759dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMP… in TEST_F()
760 dslb_vec.push_back(dslb); in TEST_F()
768 if (2 * dslb.descriptorCount > sum_storage_images) { in TEST_F()
780 dslb.binding = 0; in TEST_F()
781 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in TEST_F()
782 dslb.descriptorCount = 1 + max_input_attachments; in TEST_F()
783 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
784 dslb_vec.push_back(dslb); in TEST_F()
792 if (dslb.descriptorCount > sum_input_attachments) { in TEST_F()
831 VkDescriptorSetLayoutBinding dslb = {}; in TEST_F() local
846 dslb.binding = 0; in TEST_F()
847 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in TEST_F()
848 dslb.descriptorCount = sum_samplers / 2; in TEST_F()
849 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
850 dslb.pImmutableSamplers = NULL; in TEST_F()
851 dslb_vec.push_back(dslb); in TEST_F()
852 dslb.binding = 1; in TEST_F()
853 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
854 dslb.descriptorCount = sum_samplers - dslb.descriptorCount + 1; in TEST_F()
855 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
856 dslb_vec.push_back(dslb); in TEST_F()
864 if (dslb.descriptorCount > max_samplers) { in TEST_F()
869 if (dslb.descriptorCount > sum_sampled_images) { in TEST_F()
874 if (dslb.descriptorCount > max_sampled_images) { in TEST_F()
887 dslb.binding = 0; in TEST_F()
888 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in TEST_F()
889 dslb.descriptorCount = sum_uniform_buffers + 1; in TEST_F()
890 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
891 dslb.pImmutableSamplers = NULL; in TEST_F()
892 dslb_vec.push_back(dslb); in TEST_F()
900 if (dslb.descriptorCount > max_uniform_buffers) { in TEST_F()
912 dslb.binding = 0; in TEST_F()
913 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; in TEST_F()
914 dslb.descriptorCount = sum_dyn_uniform_buffers + 1; in TEST_F()
915 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
916 dslb.pImmutableSamplers = NULL; in TEST_F()
917 dslb_vec.push_back(dslb); in TEST_F()
925 if (dslb.descriptorCount > max_uniform_buffers) { in TEST_F()
937 dslb.binding = 0; in TEST_F()
938 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in TEST_F()
939 dslb.descriptorCount = sum_storage_buffers + 1; in TEST_F()
940 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
941 dslb.pImmutableSamplers = NULL; in TEST_F()
942 dslb_vec.push_back(dslb); in TEST_F()
950 if (dslb.descriptorCount > max_storage_buffers) { in TEST_F()
962 dslb.binding = 0; in TEST_F()
963 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; in TEST_F()
964 dslb.descriptorCount = sum_dyn_storage_buffers + 1; in TEST_F()
965 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
966 dslb.pImmutableSamplers = NULL; in TEST_F()
967 dslb_vec.push_back(dslb); in TEST_F()
975 if (dslb.descriptorCount > max_storage_buffers) { in TEST_F()
987 dslb.binding = 0; in TEST_F()
988 dslb.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in TEST_F()
989 dslb.descriptorCount = max_samplers; in TEST_F()
990 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
991 dslb.pImmutableSamplers = NULL; in TEST_F()
992 dslb_vec.push_back(dslb); in TEST_F()
993 dslb.binding = 1; in TEST_F()
994 dslb.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in TEST_F()
997 dslb.descriptorCount = 1 + remaining; in TEST_F()
998 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
999 dslb_vec.push_back(dslb); in TEST_F()
1000 dslb.binding = 2; in TEST_F()
1001 dslb.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in TEST_F()
1002 dslb.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT; in TEST_F()
1003 dslb_vec.push_back(dslb); in TEST_F()
1024 dslb.binding = 0; in TEST_F()
1025 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in TEST_F()
1026 dslb.descriptorCount = sum_storage_images / 2; in TEST_F()
1027 dslb.stageFlags = VK_SHADER_STAGE_VERTEX_BIT; in TEST_F()
1028 dslb.pImmutableSamplers = NULL; in TEST_F()
1029 dslb_vec.push_back(dslb); in TEST_F()
1030 dslb.binding = 1; in TEST_F()
1031 dslb.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER; in TEST_F()
1032 dslb.descriptorCount = sum_storage_images - dslb.descriptorCount + 1; in TEST_F()
1033 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
1034 dslb_vec.push_back(dslb); in TEST_F()
1042 if (dslb.descriptorCount > max_storage_images) { in TEST_F()
1054 dslb.binding = 0; in TEST_F()
1055 dslb.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in TEST_F()
1056 dslb.descriptorCount = sum_input_attachments + 1; in TEST_F()
1057 dslb.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in TEST_F()
1058 dslb.pImmutableSamplers = NULL; in TEST_F()
1059 dslb_vec.push_back(dslb); in TEST_F()
1067 if (dslb.descriptorCount > max_input_attachments) { in TEST_F()
4352 …VkDescriptorSetLayoutBinding dslb = {0, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, 1, VK_SHADER_STAGE_FR… in TEST_F() local
4353 const VkDescriptorSetLayoutObj dsl(m_device, {dslb}); in TEST_F()