mesa/src/intel/compiler/elk/elk_nir_options.h
Caio Oliveira c83f92087b intel/elk: Move nir_options to its own c/h file pair
This will allow intel-clc tool to use the ELK nir_options in its NIR
codepath without having to link with the entire ELK compiler.  That way
an Anv only build doesn't need to compile ELK.

Iris uses that codepath for Gfx8.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27563>
2024-02-24 00:24:32 +00:00

22 lines
392 B
C

/*
* Copyright 2024 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#ifndef ELK_NIR_OPTIONS_H
#define ELK_NIR_OPTIONS_H
#include "nir.h"
#ifdef __cplusplus
extern "C" {
#endif
extern const struct nir_shader_compiler_options elk_scalar_nir_options;
extern const struct nir_shader_compiler_options elk_vector_nir_options;
#ifdef __cplusplus
}
#endif
#endif /* ELK_NIR_OPTIONS_H */