diff options
author | Francisco Jerez <[email protected]> | 2012-04-06 18:50:56 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:01 +0200 |
commit | 98116cc3dc3fc2cd84990cc2c968f05fe2978b4a (patch) | |
tree | 18d3e6131de5ee0721c1ab38ee1e350a6da775b3 /src/gallium/drivers/nvc0 | |
parent | 5e4b2a1a47ca9a173f6419ed2f12c9fba80e757c (diff) |
nv50/ir: Build a "symbol" table with the binary offsets of each function.
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.c b/src/gallium/drivers/nvc0/nvc0_program.c index e867461fb2e..50a853abed9 100644 --- a/src/gallium/drivers/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nvc0/nvc0_program.c @@ -568,6 +568,8 @@ nvc0_program_translate(struct nvc0_program *prog) NOUVEAU_ERR("shader translation failed: %i\n", ret); goto out; } + if (info->bin.syms) /* we don't need them yet */ + FREE(info->bin.syms); prog->code = info->bin.code; prog->code_size = info->bin.codeSize; |