projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658f1f6
)
freedreno/a5xx: don't crash if compute shader compile fails
author
Rob Clark
<robdclark@gmail.com>
Wed, 13 Jun 2018 16:46:17 +0000
(12:46 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Tue, 19 Jun 2018 17:02:28 +0000
(13:02 -0400)
It is impolite, and a bit annoying with dEQP (all tests running in
single process).
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_compute.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a5xx/fd5_compute.c
b/src/gallium/drivers/freedreno/a5xx/fd5_compute.c
index 8f3847ea8432fa5579e5a8fe5325d979684bd4c7..c98442efba6e78392f30f4360d24b141cc8c1b5e 100644
(file)
--- a/
src/gallium/drivers/freedreno/a5xx/fd5_compute.c
+++ b/
src/gallium/drivers/freedreno/a5xx/fd5_compute.c
@@
-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);