mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
draw: remove unused draw_has_llvm()
Signed-off-by: Brian Paul <brianp@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19024>
This commit is contained in:
parent
7178d30a52
commit
67ee7ddfb7
2 changed files with 6 additions and 17 deletions
|
|
@ -49,30 +49,20 @@
|
|||
#include "gallivm/lp_bld_init.h"
|
||||
#include "gallivm/lp_bld_limits.h"
|
||||
#include "draw_llvm.h"
|
||||
|
||||
boolean
|
||||
draw_get_option_use_llvm(void)
|
||||
{
|
||||
return debug_get_bool_option("DRAW_USE_LLVM", TRUE);
|
||||
}
|
||||
#else
|
||||
boolean
|
||||
draw_get_option_use_llvm(void)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool
|
||||
draw_has_llvm(void)
|
||||
|
||||
boolean
|
||||
draw_get_option_use_llvm(void)
|
||||
{
|
||||
#ifdef DRAW_LLVM_AVAILABLE
|
||||
return draw_get_option_use_llvm();
|
||||
return debug_get_bool_option("DRAW_USE_LLVM", TRUE);
|
||||
#else
|
||||
return false;
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create new draw module context with gallivm state for LLVM JIT.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ struct draw_so_target {
|
|||
int internal_offset;
|
||||
};
|
||||
|
||||
bool draw_has_llvm(void);
|
||||
|
||||
struct draw_context *draw_create(struct pipe_context *pipe);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue