diff options
author | Nicolai Hähnle <[email protected]> | 2017-05-20 17:19:50 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-07-31 14:55:36 +0200 |
commit | d007919d999c812bbef481f0605c64f7e0f225b7 (patch) | |
tree | 710af1d089144ca32bf05feb43b164c1201cf11d /src/amd/common/ac_shader_abi.h | |
parent | 220ed150bcaa7b2ecfc169a0016b68933d3be8d4 (diff) |
ac/nir,radeonsi: add ac_shader_abi::load_ubo
Reviewed-by: Marek Olšák <[email protected]>
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 81fbc22bb4d..b0161d9f220 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -46,6 +46,8 @@ struct ac_shader_abi { void (*emit_outputs)(struct ac_shader_abi *abi, unsigned max_outputs, LLVMValueRef *addrs); + + LLVMValueRef (*load_ubo)(struct ac_shader_abi *abi, LLVMValueRef index); }; #endif /* AC_SHADER_ABI_H */ |