[Mesa-dev] [PATCH 5/8] softpipe: hook up is_fb_format_supported

Ilia Mirkin imirkin at alum.mit.edu
Fri Oct 4 01:34:16 PDT 2013


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 src/gallium/drivers/softpipe/sp_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 47ef20e..5dca415 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -407,6 +407,7 @@ softpipe_create_screen(struct sw_winsys *winsys)
    screen->base.get_video_param = softpipe_get_video_param;
    screen->base.get_timestamp = softpipe_get_timestamp;
    screen->base.is_format_supported = softpipe_is_format_supported;
+   screen->base.is_fb_format_supported = util_format_same_cbuf_formats;
    screen->base.is_video_format_supported = vl_video_buffer_is_format_supported;
    screen->base.context_create = softpipe_create_context;
    screen->base.flush_frontbuffer = softpipe_flush_frontbuffer;
-- 
1.8.1.5



More information about the mesa-dev mailing list