projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484ac24
)
mesa: include util/macros.h in format_fallback.c
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Jan 2018 05:13:41 +0000
(22:13 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000
(11:17 -0700)
To get definition of unreachable() macro.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/format_fallback.py
patch
|
blob
|
history
diff --git
a/src/mesa/main/format_fallback.py
b/src/mesa/main/format_fallback.py
index 2f02d0d82bb03a705878e4874ed8cb6f288df993..4a2b85cecb3e262ae1ca4c2ea72fc50a9ed22201 100644
(file)
--- a/
src/mesa/main/format_fallback.py
+++ b/
src/mesa/main/format_fallback.py
@@
-87,6
+87,7
@@
def get_rgbx_to_rgba_map(formats):
TEMPLATE = Template(COPYRIGHT + """
#include "formats.h"
+#include "util/macros.h"
/**
* For an sRGB format, return the corresponding linear color space format.