Lines Matching defs:format
30 #include "util/format/u_format.h"
168 desc.Buffer.NumElements = pres->width0 / util_format_get_blocksize(tpl->format);
235 bool is_depth_or_stencil = util_format_is_depth_or_stencil(tpl->format);
238 /* Don't bother if we don't support the requested format as RT or DS */
239 if (!pctx->screen->is_format_supported(pctx->screen, tpl->format, PIPE_TEXTURE_2D,
250 surface->base.format = tpl->format;
257 DXGI_FORMAT dxgi_format = d3d12_get_resource_rt_format(tpl->format);
291 info.src.format = pre ? surface->base.texture->format : PIPE_FORMAT_R8G8B8A8_UNORM;
292 info.dst.format = pre ? PIPE_FORMAT_R8G8B8A8_UNORM : surface->base.texture->format;
308 DXGI_FORMAT format)
312 DXGI_FORMAT dxgi_format = d3d12_get_resource_rt_format(surface->base.format);
315 if (dxgi_format == format)
329 templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;