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/amd/common/ac_shader_abi.h | |
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/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 09fe32c1363..901e49b1f97 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -86,6 +86,8 @@ struct ac_shader_abi { void (*emit_primitive)(struct ac_shader_abi *abi, unsigned stream); + void (*emit_kill)(struct ac_shader_abi *abi, LLVMValueRef visible); + LLVMValueRef (*load_inputs)(struct ac_shader_abi *abi, unsigned location, unsigned driver_location, |