mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 13:44:06 +08:00
gallium/radeon: fix r600g build if LLVM is disabled
MESA_LLVM_VERSION_PATCH is undefined. Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com> Tested-by: Benjamin Bellec <b.bellec@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
5054588211
commit
b88f14702d
@ -882,10 +882,11 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
|
||||
|
||||
ws->query_info(ws, &rscreen->info);
|
||||
|
||||
if (HAVE_LLVM)
|
||||
snprintf(llvm_string, sizeof(llvm_string),
|
||||
", LLVM %i.%i.%i", (HAVE_LLVM >> 8) & 0xff,
|
||||
HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH);
|
||||
#if HAVE_LLVM
|
||||
snprintf(llvm_string, sizeof(llvm_string),
|
||||
", LLVM %i.%i.%i", (HAVE_LLVM >> 8) & 0xff,
|
||||
HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH);
|
||||
#endif
|
||||
|
||||
snprintf(rscreen->renderer_string, sizeof(rscreen->renderer_string),
|
||||
"%s (DRM %i.%i.%i%s)",
|
||||
|
Loading…
Reference in New Issue
Block a user