diff options
author | Thomas Helland <[email protected]> | 2017-06-01 23:15:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-07 21:07:24 +0200 |
commit | 9cb42ae997054f52be2e99764199e00eb28056eb (patch) | |
tree | d6e697bcb45c7b266edd486794186bf4a5a56f8d /src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | |
parent | 07653f159f0c871fb301a111174f4fc7e7522661 (diff) |
util: Port nir_array functionality to u_dynarray
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c index 61a5701284d..278a8a4a430 100644 --- a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c +++ b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c @@ -1119,7 +1119,7 @@ _nvfx_fragprog_translate(uint16_t oclass, struct nv30_fragprog *fp) goto out_err; tgsi_parse_init(&parse, fp->pipe.tokens); - util_dynarray_init(&insns); + util_dynarray_init(&insns, NULL); while (!tgsi_parse_end_of_tokens(&parse)) { tgsi_parse_token(&parse); |