diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-09-11 20:18:25 +0200 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-09-12 00:59:50 +0200 |
commit | 9b39fb1b6127fecf2fbb41926caca2bbb559a1d0 (patch) | |
tree | 0446f5321f10d3d4c5b1b8c512ab0ee5ede9936f | |
parent | fc31a25afa2d28dea9bbda08ce8deab5aa96b684 (diff) |
nv50: fix size of outputs_written array
-rw-r--r-- | src/gallium/drivers/nv50/nv50_tgsi_to_nc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c index 5994d1c27e..978bba4d57 100644 --- a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c +++ b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c @@ -125,7 +125,7 @@ struct bld_context { struct bld_value_stack pvs[BLD_MAX_PREDS][4]; /* TGSI_FILE_PREDICATE */ struct bld_value_stack ovs[PIPE_MAX_SHADER_OUTPUTS][4]; - uint32_t outputs_written[(PIPE_MAX_SHADER_OUTPUTS + 31) / 32]; + uint32_t outputs_written[(PIPE_MAX_SHADER_OUTPUTS + 7) / 8]; struct nv_value *frgcrd[4]; struct nv_value *sysval[4]; |