mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 07:50:37 +01:00
freedreno: Block rusticl on older gens
Currently pre-a6xx is missing ir3 support for various things that rusticl requires, leading to segfaults. For now, block compute-only contexts on older gens. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40144>
This commit is contained in:
parent
560a160f05
commit
97ae8a94d3
3 changed files with 12 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ fd3_context_create(struct pipe_screen *pscreen, void *priv,
|
|||
unsigned flags) in_dt
|
||||
{
|
||||
struct fd_screen *screen = fd_screen(pscreen);
|
||||
|
||||
if (flags & PIPE_CONTEXT_COMPUTE_ONLY)
|
||||
return NULL;
|
||||
|
||||
struct fd3_context *fd3_ctx = CALLOC_STRUCT(fd3_context);
|
||||
struct pipe_context *pctx;
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ fd4_context_create(struct pipe_screen *pscreen, void *priv,
|
|||
unsigned flags) in_dt
|
||||
{
|
||||
struct fd_screen *screen = fd_screen(pscreen);
|
||||
|
||||
if (flags & PIPE_CONTEXT_COMPUTE_ONLY)
|
||||
return NULL;
|
||||
|
||||
struct fd4_context *fd4_ctx = CALLOC_STRUCT(fd4_context);
|
||||
struct pipe_context *pctx;
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ fd5_context_create(struct pipe_screen *pscreen, void *priv,
|
|||
unsigned flags) disable_thread_safety_analysis
|
||||
{
|
||||
struct fd_screen *screen = fd_screen(pscreen);
|
||||
|
||||
if (flags & PIPE_CONTEXT_COMPUTE_ONLY)
|
||||
return NULL;
|
||||
|
||||
struct fd5_context *fd5_ctx = CALLOC_STRUCT(fd5_context);
|
||||
struct pipe_context *pctx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue