diff options
Diffstat (limited to 'src/panfrost/bifrost/bifrost_compile.c')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index f126123cfd8..754876f89ee 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -33,12 +33,14 @@ #include "disassemble.h" #include "bifrost_compile.h" #include "compiler.h" +#include "bi_quirks.h" void -bifrost_compile_shader_nir(nir_shader *nir, bifrost_program *program) +bifrost_compile_shader_nir(nir_shader *nir, bifrost_program *program, unsigned product_id) { bi_context *ctx = rzalloc(NULL, bi_context); ctx->nir = nir; + ctx->quirks = bifrost_get_quirks(product_id); nir_print_shader(nir, stdout); |