diff options
-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 5994d1c27e9..978bba4d571 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]; |