From: Xavier Chantry Date: Wed, 24 Nov 2010 20:50:35 +0000 (+0100) Subject: nvfx: fb->nr_cbufs <= 1 on nv30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049065cdfaf3f890381133c4a98743b22907797d;p=mesa.git nvfx: fb->nr_cbufs <= 1 on nv30 7e1bf946316ff99feaa3f2e85f70b45bd9a77ade changed PIPE_CAP_MAX_RENDER_TARGETS to 1 on nv30. Signed-off-by: Xavier Chantry Signed-off-by: Francisco Jerez --- diff --git a/src/gallium/drivers/nvfx/nvfx_state_fb.c b/src/gallium/drivers/nvfx/nvfx_state_fb.c index 30e48c80735..73885de4514 100644 --- a/src/gallium/drivers/nvfx/nvfx_state_fb.c +++ b/src/gallium/drivers/nvfx/nvfx_state_fb.c @@ -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);