diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-12 22:33:56 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-06-22 09:45:23 +0200 |
commit | da2e52b382351fea6f0321ad9a24c099b360e685 (patch) | |
tree | d280eb37c207f20452ba29b951ed748b1c7aade5 /src/compiler/nir/nir.c | |
parent | 79bd1d4f8b9f176b099854c6954960dc7fc53b02 (diff) |
radeonsi: use the correct LLVMTargetMachineRef in si_build_shader_variant
si_build_shader_variant can actually be called directly from one of
normal-priority compiler threads. In that case, the thread_index is
only valid for the normal tm array.
v2:
- use the correct sel/shader->compiler_ctx_state
Fixes: 86cc8097266c ("radeonsi: use a compiler queue with a low priority for optimized shaders")
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.c')
0 files changed, 0 insertions, 0 deletions