diff options
author | Rob Clark <robclark@freedesktop.org> | 2015-08-25 08:13:04 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-08-25 08:13:04 -0400 |
commit | 8b2d0bb844e4c9b6141f68431b6e6dc135eb3503 (patch) | |
tree | 0cadcd8a79a489f70e5bc9766b07bc6f6c42b797 | |
parent | 529acab22a3e21e0ed0c5243675aec6c0ee27e8f (diff) |
freedreno/ir3: fix compile break after fxn->start_block removal
The commit:
commit 8e0d4ef3410ea07d9621df3e083bc3e7c1ad2ab0
Author: Kenneth Graunke <kenneth@whitecape.org>
AuthorDate: Thu Aug 6 18:18:40 2015 -0700
nir: Delete the nir_function_impl::start_block field.
removed the start_block field without fixing up drivers..
Signed-off-by: Rob Clark <robclark@freedesktop.org>
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 13c395f3c74..071901a3cc7 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -2312,7 +2312,7 @@ emit_instructions(struct ir3_compile *ctx) ctx->ir = ir3_create(ctx->compiler, ninputs, noutputs); /* Create inputs in first block: */ - ctx->block = get_block(ctx, fxn->start_block); + ctx->block = get_block(ctx, nir_start_block(fxn)); ctx->in_block = ctx->block; list_addtail(&ctx->block->node, &ctx->ir->block_list); |