Home | History | Annotate | Download | only in vulkan

Lines Matching refs:props

828 VKAPI_ATTR void VKAPI_CALL getPhysicalDeviceProperties (VkPhysicalDevice, VkPhysicalDeviceProperties* props)
830 deMemset(props, 0, sizeof(VkPhysicalDeviceProperties));
832 props->apiVersion = VK_API_VERSION_1_1;
833 props->driverVersion = 1u;
834 props->deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER;
836 deMemcpy(props->deviceName, "null", 5);
839 props->limits.maxImageDimension1D = 4096;
840 props->limits.maxImageDimension2D = 4096;
841 props->limits.maxImageDimension3D = 256;
842 props->limits.maxImageDimensionCube = 4096;
843 props->limits.maxImageArrayLayers = 256;
844 props->limits.maxTexelBufferElements = 65536;
845 props->limits.maxUniformBufferRange = 16384;
846 props->limits.maxStorageBufferRange = 1u<<27;
847 props->limits.maxPushConstantsSize = 128;
848 props->limits.maxMemoryAllocationCount = 4096;
849 props->limits.maxSamplerAllocationCount = 4000;
850 props->limits.bufferImageGranularity = 131072;
851 props->limits.sparseAddressSpaceSize = 1u<<31;
852 props->limits.maxBoundDescriptorSets = 4;
853 props->limits.maxPerStageDescriptorSamplers = 16;
854 props->limits.maxPerStageDescriptorUniformBuffers = 12;
855 props->limits.maxPerStageDescriptorStorageBuffers = 4;
856 props->limits.maxPerStageDescriptorSampledImages = 16;
857 props->limits.maxPerStageDescriptorStorageImages = 4;
858 props->limits.maxPerStageDescriptorInputAttachments = 4;
859 props->limits.maxPerStageResources = 128;
860 props->limits.maxDescriptorSetSamplers = 96;
861 props->limits.maxDescriptorSetUniformBuffers = 72;
862 props->limits.maxDescriptorSetUniformBuffersDynamic = 8;
863 props->limits.maxDescriptorSetStorageBuffers = 24;
864 props->limits.maxDescriptorSetStorageBuffersDynamic = 4;
865 props->limits.maxDescriptorSetSampledImages = 96;
866 props->limits.maxDescriptorSetStorageImages = 24;
867 props->limits.maxDescriptorSetInputAttachments = 4;
868 props->limits.maxVertexInputAttributes = 16;
869 props->limits.maxVertexInputBindings = 16;
870 props->limits.maxVertexInputAttributeOffset = 2047;
871 props->limits.maxVertexInputBindingStride = 2048;
872 props->limits.maxVertexOutputComponents = 64;
873 props->limits.maxTessellationGenerationLevel = 64;
874 props->limits.maxTessellationPatchSize = 32;
875 props->limits.maxTessellationControlPerVertexInputComponents = 64;
876 props->limits.maxTessellationControlPerVertexOutputComponents = 64;
877 props->limits.maxTessellationControlPerPatchOutputComponents = 120;
878 props->limits.maxTessellationControlTotalOutputComponents = 2048;
879 props->limits.maxTessellationEvaluationInputComponents = 64;
880 props->limits.maxTessellationEvaluationOutputComponents = 64;
881 props->limits.maxGeometryShaderInvocations = 32;
882 props->limits.maxGeometryInputComponents = 64;
883 props->limits.maxGeometryOutputComponents = 64;
884 props->limits.maxGeometryOutputVertices = 256;
885 props->limits.maxGeometryTotalOutputComponents = 1024;
886 props->limits.maxFragmentInputComponents = 64;
887 props->limits.maxFragmentOutputAttachments = 4;
888 props->limits.maxFragmentDualSrcAttachments = 1;
889 props->limits.maxFragmentCombinedOutputResources = 4;
890 props->limits.maxComputeSharedMemorySize = 16384;
891 props->limits.maxComputeWorkGroupCount[0] = 65535;
892 props->limits.maxComputeWorkGroupCount[1] = 65535;
893 props->limits.maxComputeWorkGroupCount[2] = 65535;
894 props->limits.maxComputeWorkGroupInvocations = 128;
895 props->limits.maxComputeWorkGroupSize[0] = 128;
896 props->limits.maxComputeWorkGroupSize[1] = 128;
897 props->limits.maxComputeWorkGroupSize[2] = 128;
898 props->limits.subPixelPrecisionBits = 4;
899 props->limits.subTexelPrecisionBits = 4;
900 props->limits.mipmapPrecisionBits = 4;
901 props->limits.maxDrawIndexedIndexValue = 0xffffffffu;
902 props->limits.maxDrawIndirectCount = (1u<<16) - 1u;
903 props->limits.maxSamplerLodBias = 2.0f;
904 props->limits.maxSamplerAnisotropy = 16.0f;
905 props->limits.maxViewports = 16;
906 props->limits.maxViewportDimensions[0] = 4096;
907 props->limits.maxViewportDimensions[1] = 4096;
908 props->limits.viewportBoundsRange[0] = -8192.f;
909 props->limits.viewportBoundsRange[1] = 8191.f;
910 props->limits.viewportSubPixelBits = 0;
911 props->limits.minMemoryMapAlignment = 64;
912 props->limits.minTexelBufferOffsetAlignment = 256;
913 props->limits.minUniformBufferOffsetAlignment = 256;
914 props->limits.minStorageBufferOffsetAlignment = 256;
915 props->limits.minTexelOffset = -8;
916 props->limits.maxTexelOffset = 7;
917 props->limits.minTexelGatherOffset = -8;
918 props->limits.maxTexelGatherOffset = 7;
919 props->limits.minInterpolationOffset = -0.5f;
920 props->limits.maxInterpolationOffset = 0.5f; // -1ulp
921 props->limits.subPixelInterpolationOffsetBits = 4;
922 props->limits.maxFramebufferWidth = 4096;
923 props->limits.maxFramebufferHeight = 4096;
924 props->limits.maxFramebufferLayers = 256;
925 props->limits.framebufferColorSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
926 props->limits.framebufferDepthSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
927 props->limits.framebufferStencilSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
928 props->limits.framebufferNoAttachmentsSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
929 props->limits.maxColorAttachments = 4;
930 props->limits.sampledImageColorSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
931 props->limits.sampledImageIntegerSampleCounts = VK_SAMPLE_COUNT_1_BIT;
932 props->limits.sampledImageDepthSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
933 props->limits.sampledImageStencilSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
934 props->limits.storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT;
935 props->limits.maxSampleMaskWords = 1;
936 props->limits.timestampComputeAndGraphics = VK_TRUE;
937 props->limits.timestampPeriod = 1.0f;
938 props->limits.maxClipDistances = 8;
939 props->limits.maxCullDistances = 8;
940 props->limits.maxCombinedClipAndCullDistances = 8;
941 props->limits.discreteQueuePriorities = 2;
942 props->limits.pointSizeRange[0] = 1.0f;
943 props->limits.pointSizeRange[1] = 64.0f; // -1ulp
944 props->limits.lineWidthRange[0] = 1.0f;
945 props->limits.lineWidthRange[1] = 8.0f; // -1ulp
946 props->limits.pointSizeGranularity = 1.0f;
947 props->limits.lineWidthGranularity = 1.0f;
948 props->limits.strictLines = 0;
949 props->limits.standardSampleLocations = VK_TRUE;
950 props->limits.optimalBufferCopyOffsetAlignment = 256;
951 props->limits.optimalBufferCopyRowPitchAlignment = 256;
952 props->limits.nonCoherentAtomSize = 128;
955 VKAPI_ATTR void VKAPI_CALL getPhysicalDeviceQueueFamilyProperties (VkPhysicalDevice, deUint32* count, VkQueueFamilyProperties* props)
957 if (props && *count >= 1u)
959 deMemset(props, 0, sizeof(VkQueueFamilyProperties));
961 props->queueCount = 4u;
962 props->queueFlags = VK_QUEUE_GRAPHICS_BIT|VK_QUEUE_COMPUTE_BIT;
963 props->timestampValidBits = 64;
969 VKAPI_ATTR void VKAPI_CALL getPhysicalDeviceMemoryProperties (VkPhysicalDevice, VkPhysicalDeviceMemoryProperties* props)
971 deMemset(props, 0, sizeof(VkPhysicalDeviceMemoryProperties));
973 props
974 props->memoryTypes[0].heapIndex = 0u;
975 props->memoryTypes[0].propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
979 props->memoryHeapCount = 1u;
980 props->memoryHeaps[0].size = 1ull << 31;
981 props->memoryHeaps[0].flags = 0u;