diff options
author | Alex Smith <[email protected]> | 2018-10-15 15:50:20 +0100 |
---|---|---|
committer | Alex Smith <[email protected]> | 2018-10-16 08:18:24 +0100 |
commit | ca83d51cfb154af12ee6e17a533df6cbbc890e22 (patch) | |
tree | ca654c9637c125952b88727958dcb63afb5bf53f /src/amd/vulkan/radv_private.h | |
parent | ad558408ff1ea5ad0743e68b9487472d7b020034 (diff) |
ac/nir: Use context-specific LLVM types
LLVMInt*Type() return types from the global context and therefore are
not safe for use in other contexts. Use types from our own context
instead.
Fixes frequent crashes seen when doing multithreaded pipeline creation.
Fixes: 4d0b02bb5a "ac: add support for 16bit load_push_constant"
Fixes: 7e7ee82698 "ac: add support for 16bit buffer loads"
Cc: "18.2" <[email protected]>
Signed-off-by: Alex Smith <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
0 files changed, 0 insertions, 0 deletions