mesa: allow out-of-order drawing to optimize immediate mode if it's safe
This increases performance by 11-13% in Viewperf11/Catia - first scene. Set allow_draw_out_of_order=true to enable this. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4152>
This commit is contained in:
@@ -1718,4 +1718,6 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
consts->SpirVExtensions = CALLOC_STRUCT(spirv_supported_extensions);
|
||||
_mesa_fill_supported_spirv_extensions(consts->SpirVExtensions, spirv_caps);
|
||||
}
|
||||
|
||||
consts->AllowDrawOutOfOrder = options->allow_draw_out_of_order;
|
||||
}
|
||||
|
Reference in New Issue
Block a user