summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Chantry <[email protected]>2010-11-24 21:50:35 +0100
committerFrancisco Jerez <[email protected]>2010-11-25 17:04:02 +0100
commit049065cdfaf3f890381133c4a98743b22907797d (patch)
tree5ef84c8c375e4392153a559b95cbb4fd081f21a6
parent1eb7a81f2e43842acd59929ce65db2142b69134d (diff)
nvfx: fb->nr_cbufs <= 1 on nv30
7e1bf946316ff99feaa3f2e85f70b45bd9a77ade changed PIPE_CAP_MAX_RENDER_TARGETS to 1 on nv30. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
-rw-r--r--src/gallium/drivers/nvfx/nvfx_state_fb.c2
1 files changed, 1 insertions, 1 deletions
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);