Lines Matching defs:props

115    snprintf(buf, sizeof(buf), "Unknown (vendor-id: 0x%04x)", screen->info.props.vendorID);
124 snprintf(buf, sizeof(buf), "zink (%s)", screen->info.props.deviceName);
189 snprintf(buf, sizeof(buf), "zink_%x04x", screen->info.props.vendorID);
191 screen->disk_cache = disk_cache_create(buf, screen->info.props.deviceName, 0);
309 RET(((uint64_t []) { screen->info.props.limits.maxComputeWorkGroupCount[0],
310 screen->info.props.limits.maxComputeWorkGroupCount[1],
311 screen->info.props.limits.maxComputeWorkGroupCount[2] }));
315 RET(((uint64_t []) {screen->info.props.limits.maxComputeWorkGroupSize[0],
316 screen->info.props.limits.maxComputeWorkGroupSize[1],
317 screen->info.props.limits.maxComputeWorkGroupSize[2]}));
321 RET((uint64_t []) { screen->info.props.limits.maxComputeWorkGroupInvocations });
324 RET((uint64_t []) { screen->info.props.limits.maxComputeSharedMemorySize });
502 return screen->info.props.limits.maxFragmentDualSrcAttachments;
505 return screen->info.props.limits.maxColorAttachments;
563 return screen->info.props.limits.maxImageDimension2D;
565 return 1 + util_logbase2(screen->info.props.limits.maxImageDimension3D);
567 return 1 + util_logbase2(screen->info.props.limits.maxImageDimensionCube);
588 return screen->info.props.limits.maxImageArrayLayers;
602 return screen->info.props.limits.minTexelOffset;
604 return screen->info.props.limits.maxTexelOffset;
620 return screen->info.props.limits.minUniformBufferOffsetAlignment;
639 return screen->info.props.limits.minTexelBufferOffsetAlignment;
655 screen->info.props.limits.maxTexelBufferElements);
661 return MIN2(screen->info.props.limits.maxViewports, PIPE_MAX_VIEWPORTS);
673 return screen->info.props.limits.maxGeometryOutputVertices;
675 return screen->info.props.limits.maxGeometryTotalOutputComponents;
681 return screen->info.props.limits.minTexelGatherOffset;
683 return screen->info.props.limits.maxTexelGatherOffset;
692 return screen->info.props.vendorID;
694 return screen->info.props.deviceID;
701 return screen->info.props.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU;
704 return screen->info.props.limits.maxVertexInputBindingStride;
721 return screen->info.props.limits.minStorageBufferOffsetAlignment;
752 return screen->info.props.limits.viewportSubPixelBits;
755 return screen->info.props.limits.maxGeometryShaderInvocations;
763 assert(screen->info.props.limits.maxStorageBufferRange >= 1 << 27);
765 return MIN2(get_smallest_buffer_heap(screen), screen->info.props.limits.maxStorageBufferRange);
792 return screen->info.props.limits.maxTessellationControlPerVertexOutputComponents / 4;
795 return MIN2(screen->info.props.limits.maxVertexOutputComponents / 4 / 2, 16);
826 return MAX2(screen->info.props.limits.lineWidthRange[0], 0.01);
832 return MAX2(screen->info.props.limits.pointSizeRange[0], 0.01);
838 return screen->info.props.limits.lineWidthGranularity;
843 return screen->info.props.limits.pointSizeGranularity;
850 return screen->info.props.limits.lineWidthRange[1];
856 return screen->info.props.limits.pointSizeRange[1];
861 return screen->info.props.limits.maxSamplerAnisotropy;
864 return screen->info.props.limits.maxSamplerLodBias;
917 max = MIN2(screen->info.props.limits.maxVertexInputAttributes, PIPE_MAX_ATTRIBS);
920 max = screen->info.props.limits.maxTessellationControlPerVertexInputComponents / 4;
923 max = screen->info.props.limits.maxTessellationEvaluationInputComponents / 4;
926 max = screen->info.props.limits.maxGeometryInputComponents / 4;
935 max = screen->info.props.limits.maxFragmentInputComponents / 4;
955 max = screen->info.props.limits.maxVertexOutputComponents / 4;
958 max = screen->info.props.limits.maxTessellationControlPerVertexOutputComponents / 4;
961 max = screen->info.props.limits.maxTessellationEvaluationOutputComponents / 4;
964 max = screen->info.props.limits.maxGeometryOutputComponents / 4;
967 max = screen->info.props.limits.maxColorAttachments;
977 assert(screen->info.props.limits.maxUniformBufferRange >= 16384);
980 screen->info.props.limits.maxUniformBufferRange, BITFIELD_BIT(31));
983 return MIN2(screen->info.props.limits.maxPerStageDescriptorUniformBuffers,
1026 return MIN2(MIN2(screen->info.props.limits.maxPerStageDescriptorSamplers,
1027 screen->info.props.limits.maxPerStageDescriptorSampledImages),
1057 return MIN2(screen->info.props.limits.maxPerStageDescriptorStorageBuffers, PIPE_MAX_SHADER_BUFFERS);
1065 return MIN2(screen->info.props.limits.maxPerStageDescriptorStorageImages,
1128 return screen->info.props.limits.framebufferNoAttachmentsSampleCounts &
1153 (screen->info.props.limits.framebufferDepthSampleCounts & sample_mask) != sample_mask)
1156 (screen->info.props.limits.sampledImageDepthSampleCounts & sample_mask) != sample_mask)
1161 (screen->info.props.limits.framebufferStencilSampleCounts & sample_mask) != sample_mask)
1164 (screen->info.props.limits.sampledImageStencilSampleCounts & sample_mask) != sample_mask)
1169 !(screen->info.props.limits.framebufferColorSampleCounts & sample_mask))
1172 !(screen->info.props.limits.sampledImageIntegerSampleCounts & sample_mask))
1176 !(screen->info.props.limits.framebufferColorSampleCounts & sample_mask))
1179 !(screen->info.props.limits.sampledImageColorSampleCounts & sample_mask))
1183 if (!(screen->info.props.limits.storageImageSampleCounts & sample_mask))
1188 VkFormatProperties props = screen->format_props[format];
1192 if (!(props.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT)) {
1202 !(props.bufferFeatures & VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT))
1206 !(props.bufferFeatures & VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT))
1211 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT))
1215 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT))
1219 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT))
1223 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT))
1235 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT))
1239 !(props.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT))
1327 VkPhysicalDeviceProperties props;
1349 VKSCR(GetPhysicalDeviceProperties)(pdevs[i], &props);
1353 if (props.deviceType == VK_PHYSICAL_DEVICE_TYPE_CPU) {
1355 cur_prio = prio_map[props.deviceType];
1359 assert(props.deviceType <= VK_PHYSICAL_DEVICE_TYPE_CPU);
1360 if (prio_map[props.deviceType] > cur_prio) {
1362 cur_prio = prio_map[props.deviceType];
1371 VKSCR(GetPhysicalDeviceProperties)(screen->pdev, &screen->info.props);
1372 screen->info.device_version = screen->info.props.apiVersion;
1396 VkQueueFamilyProperties *props = malloc(sizeof(*props) * num_queues);
1397 VKSCR(GetPhysicalDeviceQueueFamilyProperties)(screen->pdev, &num_queues, props);
1403 if (!found_gfx && (props[i].queueFlags & VK_QUEUE_GRAPHICS_BIT)) {
1405 screen->max_queues = props[i].queueCount;
1406 screen->timestamp_valid_bits = props[i].timestampValidBits;
1408 if (props[i].queueFlags & VK_QUEUE_SPARSE_BINDING_BIT)
1410 } else if (props[i].queueFlags & VK_QUEUE_SPARSE_BINDING_BIT)
1415 free(props);
1472 VkFormatProperties props;
1473 VKSCR(GetPhysicalDeviceFormatProperties)(screen->pdev, format, &props);
1474 return (props.linearTilingFeatures | props.optimalTilingFeatures) &
1725 VkFormatProperties2 props = {0};
1726 props.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2;
1735 props.pNext = &mod_props;
1739 props3.pNext = props.pNext;
1740 props.pNext = &props3;
1741 VKSCR(GetPhysicalDeviceFormatProperties2)(screen->pdev, format, &props);
1742 screen->format_props[i] = props.formatProperties;
1962 VkSparseImageFormatProperties props[4]; //planar?
1963 unsigned prop_count = ARRAY_SIZE(props);
1968 &prop_count, props);
1979 *x = props[0].imageGranularity.width;
1981 *y = props[0].imageGranularity.height;
1983 *z = props[0].imageGranularity.depth;
2059 "base Zink requirements: ", screen->info.props.deviceName);
2238 screen->info.props.limits.maxBoundDescriptorSets < ZINK_MAX_DESCRIPTOR_SETS) {