projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vc4: Don't abort when a shader compile fails.
[mesa.git]
/
src
/
gallium
/
drivers
/
vc4
/
vc4_draw.c
diff --git
a/src/gallium/drivers/vc4/vc4_draw.c
b/src/gallium/drivers/vc4/vc4_draw.c
index 61c58424cdf2a90f3415b1080133810533ac64d9..c5afc0cdae118eb57bfa71aa841c9a676b624cbb 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_draw.c
+++ b/
src/gallium/drivers/vc4/vc4_draw.c
@@
-307,7
+307,10
@@
vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
}
vc4_start_draw(vc4);
- vc4_update_compiled_shaders(vc4, info->mode);
+ if (!vc4_update_compiled_shaders(vc4, info->mode)) {
+ debug_warn_once("shader compile failed, skipping draw call.\n");
+ return;
+ }
vc4_emit_state(pctx);