Skip to content
Snippets Groups Projects
Commit ca83d51c authored by Alex Smith's avatar Alex Smith
Browse files

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: 4d0b02bb "ac: add support for 16bit load_push_constant"
Fixes: 7e7ee826 "ac: add support for 16bit buffer loads"
Cc: "18.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarAlex Smith <asmith@feralinteractive.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
parent ad558408
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment