projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aco: validate that SMEM operands can use fixed registers
[mesa.git]
/
src
/
amd
/
common
/
gfx10_format_table.py
diff --git
a/src/amd/common/gfx10_format_table.py
b/src/amd/common/gfx10_format_table.py
index 43a878bd85640174ee5d04d9f250656f571e876c..a81e9600141e01718e7ab4379012b7b255edfd1a 100644
(file)
--- a/
src/amd/common/gfx10_format_table.py
+++ b/
src/amd/common/gfx10_format_table.py
@@
-105,11
+105,14
@@
HARDCODED = {
header_template = mako.template.Template("""\
// DO NOT EDIT -- AUTOMATICALLY GENERATED
header_template = mako.template.Template("""\
// DO NOT EDIT -- AUTOMATICALLY GENERATED
+#include "gfx10_format_table.h"
+#include "amdgfxregs.h"
+
#define FMT(_img_format, ...) \
{ .img_format = V_008F0C_IMG_FORMAT_##_img_format, \
##__VA_ARGS__ }
#define FMT(_img_format, ...) \
{ .img_format = V_008F0C_IMG_FORMAT_##_img_format, \
##__VA_ARGS__ }
-
static
const struct gfx10_format gfx10_format_table[PIPE_FORMAT_COUNT] = {
+const struct gfx10_format gfx10_format_table[PIPE_FORMAT_COUNT] = {
% for pipe_format, args in formats:
% if args is not None:
[${pipe_format}] = FMT(${args}),
% for pipe_format, args in formats:
% if args is not None:
[${pipe_format}] = FMT(${args}),