mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
freedreno/a5xx: don't crash if compute shader compile fails
It is impolite, and a bit annoying with dEQP (all tests running in single process). Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
658f1f6003
commit
4a41b02d46
1 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ fd5_launch_grid(struct fd_context *ctx, const struct pipe_grid_info *info)
|
|||
emit_setup(ctx);
|
||||
|
||||
v = ir3_shader_variant(so->shader, key, &ctx->debug);
|
||||
if (!v)
|
||||
return;
|
||||
|
||||
if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG)
|
||||
cs_program_emit(ring, v, info);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue