diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2010-02-10 03:00:12 +0200 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2010-02-10 03:20:11 +0200 |
commit | 42026a8ccf4f02d4648d65763e18d8bf98eb9bfd (patch) | |
tree | 773cb17ddb974982a29e97557d7630a148babe55 /src/mesa/drivers/dri/r600/r600_context.c | |
parent | 4bce2fb30e9cfb58831016e0bdda73abedd0a078 (diff) |
radeon: Define EXT_framebuffer_object constants to match hw.
This hides the assertion failure in glean/fbo test. Underlying
problem when same texture is set twice to different attachments
will cause assertion.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index 5b7d7c28ec..f575e74c3e 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -270,6 +270,8 @@ static void r600InitConstValues(GLcontext *ctx, radeonScreenPtr screen) ctx->Const.MaxLineWidthAA = 0xffff / 8.0; ctx->Const.MaxDrawBuffers = 1; /* hw supports 8 */ + ctx->Const.MaxColorAttachments = 1; + ctx->Const.MaxRenderbufferSize = 4096; /* 256 for reg-based consts, inline consts also supported */ ctx->Const.VertexProgram.MaxInstructions = 8192; /* in theory no limit */ |