projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d74fbf
)
spirv: Improve the "Entry point not found" error message
author
Jason Ekstrand
<jason@jlekstrand.net>
Fri, 4 Sep 2020 21:50:09 +0000
(16:50 -0500)
committer
Vivek Pandya
<vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:17 +0000
(21:25 +0530)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6607>
src/compiler/spirv/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv_to_nir.c
b/src/compiler/spirv/spirv_to_nir.c
index 8a072edb5ea023a2c578f2f9b7c5ba4a2cffeee0..27ca4fb5d11031b77f8b29b2bd832dce8666d67e 100644
(file)
--- a/
src/compiler/spirv/spirv_to_nir.c
+++ b/
src/compiler/spirv/spirv_to_nir.c
@@
-5646,7
+5646,8
@@
spirv_to_nir(const uint32_t *words, size_t word_count,
vtn_handle_preamble_instruction);
if (b->entry_point == NULL) {
- vtn_fail("Entry point not found");
+ vtn_fail("Entry point not found for %s shader \"%s\"",
+ _mesa_shader_stage_to_string(stage), entry_point_name);
ralloc_free(b);
return NULL;
}