diff options
author | Christoph Bumiller <[email protected]> | 2010-04-30 22:57:23 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-04-30 22:57:23 +0200 |
commit | f5a4d70189bdd8e25bc1f30b9f4fe8f31999cf0e (patch) | |
tree | 1b9c51b3b4ec3fdef3b91115200166a54c5521a9 /src/gallium/drivers/nv50/nv50_program.c | |
parent | 75ee309ca9f467ba80a88b07735fb2d654a8c433 (diff) |
nv50: raise constant buffers size to maximum
Removed the param heaps, haven't been using them for a long
time now.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 98f60821fc6..0156ff95ff9 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -4163,7 +4163,7 @@ nv50_program_validate_data(struct nv50_context *nv50, struct nv50_program *p) struct pipe_transfer *transfer; if (!p->data[0] && p->immd_nr) { - struct nouveau_resource *heap = nv50->screen->immd_heap[0]; + struct nouveau_resource *heap = nv50->screen->immd_heap; if (nouveau_resource_alloc(heap, p->immd_nr, p, &p->data[0])) { while (heap->next && heap->size < p->immd_nr) { @@ -4181,7 +4181,7 @@ nv50_program_validate_data(struct nv50_context *nv50, struct nv50_program *p) p->immd_nr, NV50_CB_PMISC); } - assert(p->param_nr <= 512); + assert(p->param_nr <= 16384); if (p->param_nr) { unsigned cb; |