Home
last modified time | relevance | path

Searched refs:fixup_formats (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_surface.c354 } fixup_formats[] = { in i915_set_color_surface_swizzle() local
371 for (int i = 0; i < ARRAY_SIZE(fixup_formats); i++) { in i915_set_color_surface_swizzle()
372 if (fixup_formats[i].format == format) { in i915_set_color_surface_swizzle()
373 memcpy(surf->color_swizzle, fixup_formats[i].color_swizzle, in i915_set_color_surface_swizzle()
375 surf->oc_swizzle = fixup_formats[i].oc_swizzle; in i915_set_color_surface_swizzle()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c886 fixup_formats(union virgl_caps *caps, struct virgl_supported_format_mask *mask) in fixup_formats() function
1082 fixup_formats(&screen->caps.caps, in virgl_create_screen()
1084 fixup_formats(&screen->caps.caps, &screen->caps.caps.v2.scanout); in virgl_create_screen()