mesa/src/intel/compiler/brw_asm.h
2024-08-14 03:03:46 +00:00

28 lines
529 B
C

/*
* Copyright © 2018 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#ifndef BRW_ASM_H
#define BRW_ASM_H
#include <stdio.h>
#include <stdbool.h>
struct intel_device_info;
typedef struct {
void *bin;
int bin_size;
int inst_count;
} brw_assemble_result;
typedef enum {
BRW_ASSEMBLE_COMPACT = 1 << 0,
} brw_assemble_flags;
brw_assemble_result brw_assemble(
void *mem_ctx, const struct intel_device_info *devinfo,
FILE *f, const char *filename, brw_assemble_flags flags);
#endif /* BRW_ASM_H */