-
Add a si_screen cast helper, with 2 purposes: * correctly cast from pipe_screen to si_screen using get_driver_pipe_screen * check that the result's type is correct It's only useful when intending to use pipe_resource::screen as a si_screen. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!30587>
b7b10b97