mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
gallium: Drop Asahi-as-a-swrast hack
Now that we've dropped macOS support, these paths are deadcode. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23138>
This commit is contained in:
parent
a0b1aa6f00
commit
c284a200b9
2 changed files with 0 additions and 24 deletions
|
|
@ -29,10 +29,6 @@
|
|||
#include "d3d12/d3d12_public.h"
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
#include "asahi/agx_public.h"
|
||||
#endif
|
||||
|
||||
static inline struct pipe_screen *
|
||||
sw_screen_create_named(struct sw_winsys *winsys, const char *driver)
|
||||
{
|
||||
|
|
@ -66,11 +62,6 @@ sw_screen_create_named(struct sw_winsys *winsys, const char *driver)
|
|||
screen = d3d12_create_dxcore_screen(winsys, NULL);
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
if (screen == NULL && strcmp(driver, "asahi") == 0)
|
||||
screen = agx_screen_create(0, NULL, winsys);
|
||||
#endif
|
||||
|
||||
return screen ? debug_screen_wrap(screen) : NULL;
|
||||
}
|
||||
|
||||
|
|
@ -84,9 +75,6 @@ sw_screen_create_vk(struct sw_winsys *winsys, bool sw_vk)
|
|||
#if defined(GALLIUM_D3D12)
|
||||
(sw_vk || only_sw) ? "" : "d3d12",
|
||||
#endif
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
(sw_vk || only_sw) ? "" : "asahi",
|
||||
#endif
|
||||
#if defined(GALLIUM_LLVMPIPE)
|
||||
"llvmpipe",
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -20,10 +20,6 @@
|
|||
#include "d3d12/d3d12_public.h"
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
#include "asahi/agx_public.h"
|
||||
#endif
|
||||
|
||||
#ifdef GALLIUM_SOFTPIPE
|
||||
#include "softpipe/sp_public.h"
|
||||
#endif
|
||||
|
|
@ -70,11 +66,6 @@ sw_screen_create_named(struct sw_winsys *winsys, const struct pipe_screen_config
|
|||
screen = d3d12_create_dxcore_screen(winsys, NULL);
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
if (screen == NULL && strcmp(driver, "asahi") == 0)
|
||||
screen = agx_screen_create(0, NULL, winsys);
|
||||
#endif
|
||||
|
||||
return screen;
|
||||
}
|
||||
|
||||
|
|
@ -87,9 +78,6 @@ sw_screen_create_vk(struct sw_winsys *winsys, const struct pipe_screen_config *c
|
|||
#if defined(GALLIUM_D3D12)
|
||||
(sw_vk || only_sw) ? "" : "d3d12",
|
||||
#endif
|
||||
#if defined(GALLIUM_ASAHI) && __APPLE__
|
||||
(sw_vk || only_sw) ? "" : "asahi",
|
||||
#endif
|
||||
#if defined(GALLIUM_LLVMPIPE)
|
||||
"llvmpipe",
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue