Mesa (12.0): radeonsi: silence runtime warnings with LLVM 3.9
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Dec 5 15:33:49 UTC 2016
Module: Mesa
Branch: 12.0
Commit: 4a5cce8bd5b1dcf6b95b64c26ea361148964a152
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a5cce8bd5b1dcf6b95b64c26ea361148964a152
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Dec 2 22:19:06 2016 +0100
radeonsi: silence runtime warnings with LLVM 3.9
Such as:
Warning: LLVM emitted unknown config register: 0x4
This is a non-intrusive back port of commit 0f7a6ea5e7b.
---
src/gallium/drivers/radeonsi/si_shader.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 091f7e3..95cf1a1 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -5865,6 +5865,9 @@ void si_shader_binary_read_config(struct radeon_shader_binary *binary,
conf->scratch_bytes_per_wave =
G_00B860_WAVESIZE(value) * 256 * 4 * 1;
break;
+ case 0x4:
+ case 0x8:
+ break; /* just spilling stats, not important */
default:
{
static bool printed;
More information about the mesa-commit
mailing list