summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-02-25 13:15:29 -0800
committerMarge Bot <eric+marge@anholt.net>2020-02-25 22:23:38 +0000
commitcb166aea24aff734f520f78c896255ec432f7f4e (patch)
treeb117260db4e0a0eeb67d6e6c2682d986b562b022
parent5feea408893d646feb0ba873b7a4155a2fb53fe7 (diff)
intel/tools: Do not print type/qualifiers/name for c_literal
External tools may wish to choose their own type, qualifiers, and name, so do not emit our own. Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3952> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3952>
-rw-r--r--src/intel/tools/i965_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/i965_asm.c b/src/intel/tools/i965_asm.c
index 9fb0cdce0cc..1e6e0904b50 100644
--- a/src/intel/tools/i965_asm.c
+++ b/src/intel/tools/i965_asm.c
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
}
if (output_type == OPT_OUTPUT_C_LITERAL)
- fprintf(output, "static const char gen_eu_bytes[] = {\n");
+ fprintf(output, "{\n");
brw_validate_instructions(p->devinfo, p->store, 0,
p->next_insn_offset, disasm_info);