[Mesa-dev] [PATCH 6/8] nv30: hook up is_fb_format_supported

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


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

diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
index 807100e..c546c43 100644
--- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
@@ -378,6 +378,7 @@ nv30_screen_create(struct nouveau_device *dev)
    pscreen->get_shader_param = nv30_screen_get_shader_param;
    pscreen->context_create = nv30_context_create;
    pscreen->is_format_supported = nv30_screen_is_format_supported;
+   pscreen->is_fb_format_supported = util_format_same_cbuf_formats;
    nv30_resource_screen_init(pscreen);
    nouveau_screen_init_vdec(&screen->base);
 
-- 
1.8.1.5



More information about the mesa-dev mailing list