diff options
author | Timothy Arceri <[email protected]> | 2018-03-08 09:46:42 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-03-08 11:28:37 +1100 |
commit | 0c90264da4139805d34f530485a678c53809932e (patch) | |
tree | c0e71e42ae1f83b5373f99493040f4f7f938a179 /src/gallium/drivers/radeonsi | |
parent | 50cc97d98a5365b65988b2e6a827d744404f93ab (diff) |
ac/radeonsi: add emit_kill to the abi
This should fix a regression with Rocket League grass rendering
on the NIR backend.
Reviewed-by: Marek Olšák <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104717
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 343a5d57bf3..fa7a19cb3ac 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6062,6 +6062,7 @@ static bool si_compile_tgsi_main(struct si_shader_context *ctx, ctx->abi.lookup_interp_param = si_nir_lookup_interp_param; ctx->abi.load_sample_position = load_sample_position; ctx->abi.load_sample_mask_in = load_sample_mask_in; + ctx->abi.emit_kill = si_llvm_emit_kill; break; case PIPE_SHADER_COMPUTE: ctx->abi.load_local_group_size = get_block_size; |