diff options
author | Marek Olšák <[email protected]> | 2016-11-12 22:51:41 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-15 19:17:56 +0100 |
commit | 171e349782ab6b688c397f6bb76f105ac18a752a (patch) | |
tree | 8031ffcb54e8d61ca57df6320b41bbafbb203409 /src/gallium/drivers/radeonsi/si_shader_internal.h | |
parent | e4b01c97c490bba712b05a20d088842384833275 (diff) |
radeonsi: fold some shader context initialization to si_llvm_context_init
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_internal.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h index 55b70e6bf33..8d6a40b1644 100644 --- a/src/gallium/drivers/radeonsi/si_shader_internal.h +++ b/src/gallium/drivers/radeonsi/si_shader_internal.h @@ -178,7 +178,9 @@ LLVMValueRef si_llvm_bound_index(struct si_shader_context *ctx, unsigned num); void si_llvm_context_init(struct si_shader_context *ctx, - const char *triple, + struct si_screen *sscreen, + struct si_shader *shader, + LLVMTargetMachineRef tm, const struct tgsi_shader_info *info, const struct tgsi_token *tokens); |