diff options
author | Samuel Pitoiset <[email protected]> | 2018-02-12 12:31:59 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-14 11:53:14 +0100 |
commit | 141db615093c495e2c0357d4941d515c4f5a337b (patch) | |
tree | 15378c0937419a8aec21da7fca9c002af5837a84 /src/gallium | |
parent | a541117ff4185b4c742e2d401bb4edd2c0c8031f (diff) |
ac: remove nir_to_llvm_context from ac_nir_translate()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index f46e5c6aac4..ba4a66fabbc 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -861,7 +861,7 @@ bool si_nir_build_llvm(struct si_shader_context *ctx, struct nir_shader *nir) assert(nir->info.stage == MESA_SHADER_COMPUTE); si_declare_compute_memory(ctx); } - ac_nir_translate(&ctx->ac, &ctx->abi, nir, NULL); + ac_nir_translate(&ctx->ac, &ctx->abi, nir); return true; } |