diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r600/evergreen_fragprog.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r600/evergreen_vertprog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/evergreen_fragprog.c b/src/mesa/drivers/dri/r600/evergreen_fragprog.c index fb1f53a364..7dcca8b146 100644 --- a/src/mesa/drivers/dri/r600/evergreen_fragprog.c +++ b/src/mesa/drivers/dri/r600/evergreen_fragprog.c @@ -778,7 +778,7 @@ GLboolean evergreenSetupFPconstants(GLcontext * ctx) radeonAllocDmaRegion(&context->radeon, &context->fp_Constbo, &context->fp_bo_offset, - 256, + unNumParamData * 4 * 4, 256); r600EmitShaderConsts(ctx, context->fp_Constbo, diff --git a/src/mesa/drivers/dri/r600/evergreen_vertprog.c b/src/mesa/drivers/dri/r600/evergreen_vertprog.c index 291158009d..2bb055c5aa 100644 --- a/src/mesa/drivers/dri/r600/evergreen_vertprog.c +++ b/src/mesa/drivers/dri/r600/evergreen_vertprog.c @@ -697,7 +697,7 @@ GLboolean evergreenSetupVPconstants(GLcontext * ctx) radeonAllocDmaRegion(&context->radeon, &context->vp_Constbo, &context->vp_bo_offset, - 256, + unNumParamData * 4 * 4, 256); r600EmitShaderConsts(ctx, context->vp_Constbo, |