projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f707c
)
anv/blorp: return early if we failed to create the shader binary
author
Iago Toral Quiroga
<itoral@igalia.com>
Fri, 3 Mar 2017 09:58:23 +0000
(10:58 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000
(11:40 +0100)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/anv_blorp.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_blorp.c
b/src/intel/vulkan/anv_blorp.c
index 26a9396b142a5420d20cdfff3b0b3276bdbde327..4342a0b51d8f5e14caeb082365ef30a6d1e45e96 100644
(file)
--- a/
src/intel/vulkan/anv_blorp.c
+++ b/
src/intel/vulkan/anv_blorp.c
@@
-72,6
+72,9
@@
upload_blorp_shader(struct blorp_context *blorp,
key, key_size, kernel, kernel_size,
prog_data, prog_data_size, &bind_map);
+ if (!bin)
+ return false;
+
/* The cache already has a reference and it's not going anywhere so there
* is no need to hold a second reference.
*/