Mesa (master): freedreno/ir3: fix compile break after fxn-> start_block removal
Rob Clark
robclark at kemper.freedesktop.org
Tue Aug 25 12:21:24 UTC 2015
Module: Mesa
Branch: master
Commit: 8b2d0bb844e4c9b6141f68431b6e6dc135eb3503
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b2d0bb844e4c9b6141f68431b6e6dc135eb3503
Author: Rob Clark <robclark at freedesktop.org>
Date: Tue Aug 25 08:13:04 2015 -0400
freedreno/ir3: fix compile break after fxn->start_block removal
The commit:
commit 8e0d4ef3410ea07d9621df3e083bc3e7c1ad2ab0
Author: Kenneth Graunke <kenneth at 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 at freedesktop.org>
---
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 13c395f..071901a 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);
More information about the mesa-commit
mailing list