diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-09-12 00:56:16 +0200 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-09-12 00:59:49 +0200 |
commit | fc31a25afa2d28dea9bbda08ce8deab5aa96b684 (patch) | |
tree | bd84522c05abdc54f295e8a479caa002809d913e /src/gallium/drivers/nv50/nv50_shader_state.c | |
parent | 7a4a537be1460b09b192fdf4d92680aad6c9e951 (diff) |
nv50: minor compiler fixes and cleanups
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_shader_state.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_shader_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_shader_state.c b/src/gallium/drivers/nv50/nv50_shader_state.c index f187a074e6..564f7e5324 100644 --- a/src/gallium/drivers/nv50/nv50_shader_state.c +++ b/src/gallium/drivers/nv50/nv50_shader_state.c @@ -44,7 +44,7 @@ nv50_transfer_constbuf(struct nv50_context *nv50, if (!map) return; - count = buf->width0; /* MIN2(buf->width0, size); */ + count = (buf->width0 + 3) / 4; start = 0; while (count) { |