From: Matt Turner Date: Tue, 25 Feb 2020 21:15:29 +0000 (-0800) Subject: intel/tools: Do not print type/qualifiers/name for c_literal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb166aea24aff734f520f78c896255ec432f7f4e;p=mesa.git 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 Part-of: --- 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);