nvfx: fb->nr_cbufs <= 1 on nv30
authorXavier Chantry <chantry.xavier@gmail.com>
Wed, 24 Nov 2010 20:50:35 +0000 (21:50 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 25 Nov 2010 16:04:02 +0000 (17:04 +0100)
7e1bf946316ff99feaa3f2e85f70b45bd9a77ade changed
PIPE_CAP_MAX_RENDER_TARGETS to 1 on nv30.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/drivers/nvfx/nvfx_state_fb.c

index 30e48c807354c59d560d37561453802849d928e1..73885de4514acdd021a2e289a4e0f7286b1fd722 100644 (file)
@@ -54,7 +54,7 @@ nvfx_framebuffer_prepare(struct nvfx_context *nvfx)
        int all_swizzled = 1;
 
        if(!nvfx->is_nv4x)
-               assert(fb->nr_cbufs <= 2);
+               assert(fb->nr_cbufs <= 1);
        else
                assert(fb->nr_cbufs <= 4);