Fixes:
a81c50a21447a95e05f73badf6e4e7bfe734f7a8 (upstream/main)
r600/sfn: implement finalize_nir
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19755>
rscreen->b.b.get_shader_param = r600_get_shader_param;
rscreen->b.b.resource_create = r600_resource_create;
- if (is_nir_enabled(&rscreen->b))
- rscreen->b.b.finalize_nir = r600_finalize_nir;
-
if (!r600_common_screen_init(&rscreen->b, ws)) {
FREE(rscreen);
return NULL;
return NULL;
}
+ if (is_nir_enabled(&rscreen->b))
+ rscreen->b.b.finalize_nir = r600_finalize_nir;
+
rscreen->b.has_streamout = true;
rscreen->has_msaa = true;