projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f1298
)
glspirv: no need to force entrypoint name to "main"
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Wed, 31 Oct 2018 10:55:44 +0000
(11:55 +0100)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Wed, 31 Oct 2018 14:57:23 +0000
(15:57 +0100)
Since commit "intel/compiler: Stop assuming the entrypoint is called
"main"" there is no need to force the entrypoint name to be "main".
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/main/glspirv.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/glspirv.c
b/src/mesa/main/glspirv.c
index 98b7ea773482b2cd72e01741765f7daca9b575dc..04e46ba571e237698995250ceb3d78a4949a5889 100644
(file)
--- a/
src/mesa/main/glspirv.c
+++ b/
src/mesa/main/glspirv.c
@@
-253,7
+253,6
@@
_mesa_spirv_to_nir(struct gl_context *ctx,
exec_node_remove(&func->node);
}
assert(exec_list_length(&nir->functions) == 1);
- entry_point->name = ralloc_strdup(entry_point, "main");
/* Split member structs. We do this before lower_io_to_temporaries so that
* it doesn't lower system values to temporaries by accident.