projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spirv: Improve the "Entry point not found" error message
[mesa.git]
/
src
/
compiler
/
spirv
/
spirv_to_nir.c
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;
}