Lines Matching refs:info

50                             const struct isl_surf_init_info *info,
58 assert(info->samples >= 1);
60 if (info->samples == 1) {
65 if (!isl_format_supports_multisampling(dev->info, info->format))
77 if (info->dim != ISL_SURF_DIM_2D)
79 if (info->levels > 1)
106 if (info->samples > 1 && gen7_format_needs_valign2(dev, info->format))
110 if (isl_surf_usage_is_display(info->usage))
126 if (isl_surf_usage_is_depth_or_stencil(info->usage) ||
127 (info->usage & ISL_SURF_USAGE_HIZ_BIT))
137 if (info->samples == 8 && info->width > 8192)
148 if ((info->samples == 8 && info->height > 4194304u) ||
149 (info->samples == 4 && info->height > 8388608u))
159 if (info->format == ISL_FORMAT_I24X8_UNORM ||
160 info->format == ISL_FORMAT_L24X8_UNORM ||
161 info->format == ISL_FORMAT_A24X8_UNORM ||
162 info->format == ISL_FORMAT_R24_UNORM_X8_TYPELESS)
193 const struct isl_surf_init_info *restrict info,
211 if (isl_surf_usage_is_depth(info->usage)) {
219 if (isl_surf_usage_is_stencil(info->usage)) {
228 if (isl_format_get_layout(info->format)->txc == ISL_TXC_ASTC)
232 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS)
235 if (info->usage & (ISL_SURF_USAGE_DISPLAY_ROTATE_90_BIT |
243 if (info->usage & (ISL_SURF_USAGE_DISPLAY_FLIP_X_BIT |
250 if (info->usage & ISL_SURF_USAGE_DISPLAY_BIT) {
256 if (info->samples > 1) {
276 gen7_format_needs_valign2(dev, info->format) &&
277 (info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) &&
278 info->samples == 1) {
295 if (ISL_DEV_GEN(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128)
314 if (info->width > 16382 && info->samples == 1 &&
315 info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT &&
317 (dev->info->is_skylake && dev->info->gt != 4))) {
324 const struct isl_surf_init_info *restrict info,
333 assert(info->format != ISL_FORMAT_HIZ);
336 assert(!isl_surf_usage_is_depth_and_stencil(info->usage));
354 if (isl_surf_usage_is_depth(info->usage)) {
355 *image_align_el = info->format == ISL_FORMAT_R16_UNORM ?
358 } else if (isl_surf_usage_is_stencil(info->usage)) {
361 } else if (isl_format_is_compressed(info->format)) {
401 if (info->samples > 1)
405 (info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT))
408 assert(!(require_valign4 && gen7_format_needs_valign2(dev, info->format)));