FMAs need to fuse for Bifrost.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
#include "pan_context.h"
#include "midgard/midgard_compile.h"
+#include "bifrost/bifrost_compile.h"
#include "panfrost-quirks.h"
static const struct debug_named_value debug_options[] = {
enum pipe_shader_ir ir,
enum pipe_shader_type shader)
{
- return &midgard_nir_options;
+ if (pan_device(pscreen)->quirks & IS_BIFROST)
+ return &bifrost_nir_options;
+ else
+ return &midgard_nir_options;
}
struct pipe_screen *