diff options
author | Christoph Bumiller <[email protected]> | 2009-09-15 11:56:58 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2009-09-15 12:13:23 +0200 |
commit | 750c6cae3d6f5b24c0c51537a5717894675645c6 (patch) | |
tree | ae26e625d987ed07c8f1da7e86c5617dae26b818 /src/gallium/drivers/nv50/nv50_program.h | |
parent | 01670ca8073b57029625873b5c8374fb8716e1eb (diff) |
nv50: let programs use the whole param buffer
Allocation is unnecessary since all uniforms are
uploaded on every constant buffer change anyway.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h index 7400ce08fcc..d78dee083f1 100644 --- a/src/gallium/drivers/nv50/nv50_program.h +++ b/src/gallium/drivers/nv50/nv50_program.h @@ -33,8 +33,8 @@ struct nv50_program { struct nv50_program_exec *exec_head; struct nv50_program_exec *exec_tail; unsigned exec_size; - struct nouveau_resource *data[2]; - unsigned data_start[2]; + struct nouveau_resource *data[1]; + unsigned data_start[1]; struct nouveau_bo *bo; |