diff options
author | Tobias Droste <[email protected]> | 2016-12-08 03:03:38 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-18 13:23:01 +0000 |
commit | 4d0efb9683856cada2f34b124c77ef20a2fe0332 (patch) | |
tree | 0818a39a2c623d60a41dc6c93b45b61e9f51c014 /src/gallium/auxiliary/draw/draw_vs.c | |
parent | b045d23c0b804074a7fbc849d7098d51056ccb6b (diff) |
configure.ac: Set and use HAVE_GALLIUM_LLVM define
Gallium code used HAVE_LLVM to check if it needs to compile code for
LLVM in header and source files.
With the new logic HAVE_LLVM is always set. Use extra define to figure
out if LLVM is used.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99010
Signed-off-by: Tobias Droste <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.c b/src/gallium/auxiliary/draw/draw_vs.c index 415c4fa949a..e9966cf725e 100644 --- a/src/gallium/auxiliary/draw/draw_vs.c +++ b/src/gallium/auxiliary/draw/draw_vs.c @@ -59,7 +59,7 @@ draw_create_vertex_shader(struct draw_context *draw, tgsi_dump(shader->tokens, 0); } -#if HAVE_LLVM +#if HAVE_GALLIUM_LLVM if (draw->pt.middle.llvm) { vs = draw_create_vs_llvm(draw, shader); } |