Lines Matching refs:format
31 * render-to-texture, format reinterpretation issues, and other situations.
108 crocus_resource_prepare_texture(ice, isv->res, isv->view.format,
117 (isv->base.format == PIPE_FORMAT_X24S8_UINT ||
118 isv->base.format == PIPE_FORMAT_X32_S8X24_UINT ||
119 isv->base.format == PIPE_FORMAT_S8_UINT)) {
177 info.src.format = surf->base.texture->format;
182 info.dst.format = surf->base.texture->format;
183 info.mask = util_format_is_depth_or_stencil(surf->base.texture->format) ? PIPE_MASK_ZS : PIPE_MASK_RGBA;
262 crocus_resource_prepare_texture(ice, res, surf->view.format,
283 surf->view.format,
297 crocus_cache_flush_for_render(batch, res->bo, surf->view.format,
375 crocus_render_cache_add_bo(batch, res->bo, surf->view.format,
446 format_aux_tuple(enum isl_format format, enum isl_aux_usage aux_usage)
448 return (void *)(uintptr_t)((uint32_t)format << 8 | aux_usage);
454 enum isl_format format,
461 * but with a different format or aux usage. If it has, flush the render
462 * cache so we ensure that it's only in there with one format or aux usage
477 * associated with switching the format, only the aux usage. However,
479 * isn't 100% resilient to format changes. We may as well be conservative
480 * and flush on format changes too. We can always relax this later if we
485 if (entry && entry->data != format_aux_tuple(format, aux_usage))
492 enum isl_format format,
502 assert(entry->data == format_aux_tuple(format, aux_usage));
507 format_aux_tuple(format, aux_usage));
558 isl_format_srgb_to_linear(res->surf.format),
588 isl_format_srgb_to_linear(res->surf.format),
884 if (res->base.b.format == PIPE_FORMAT_S8_UINT)
953 * between format conversion and sRGB curve application. This means that
976 if (!isl_formats_are_fast_clear_compatible(res->surf.format, view_format))
1009 assert(render_format == res->surf.format);