summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2018-10-31 11:55:44 +0100
committerAlejandro Piñeiro <[email protected]>2018-10-31 15:57:23 +0100
commit95b8da22cfefc56dbb55c25a440a5df773a80871 (patch)
tree24470fd5f5eedb7d03776781c53a26658e3917e9 /src/mesa
parent27f1298b9d95899c4061294e384fadfd1c0a1b44 (diff)
glspirv: no need to force entrypoint name to "main"
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/glspirv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c
index 98b7ea77348..04e46ba571e 100644
--- 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.