Lines Matching refs:linear
141 VkFormatFeatureFlags2 linear = 0, optimal = 0, buffer = 0;
218 /* For the most part, we can do anything with a linear image that we could
220 * linear depth texture, because we don't know if there's a bit to control
222 * disables linear depth rendering, so there's no way to discover it. We
227 linear = optimal;
256 linear &= ~(VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT |
265 linear |= VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT;
278 /* D32_SFLOAT_S8_UINT is tiled as two images, so no linear format
279 * blob enables some linear features, but its not useful, so don't bother.
282 linear = 0;
285 out_properties->linearTilingFeatures = linear;
371 /* falling back to linear/non-UBWC isn't possible with explicit modifier */