aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-06-30 14:54:22 +1000
committerTimothy Arceri <[email protected]>2016-06-30 16:51:25 +1000
commit378f07ccb5bff7857d87a4fe5dff0b5e83f99895 (patch)
tree8cf943552717e3c18677768e66c23c9d1a16aed3 /src/mesa/program
parente8c8aa0320a612af0e85809eceac54e5e16cc90d (diff)
mesa: don't print name in _mesa_append_uniforms_to_file()
This is only used to print linked shaders which always have a name of 0 so this was pointless. Acked-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/prog_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 8f46bc56d22..570b2f5800a 100644
--- a/src/mesa/program/prog_print.c
+++ b/src/mesa/program/prog_print.c
@@ -1017,7 +1017,7 @@ _mesa_append_uniforms_to_file(const struct gl_shader *shader)
else
type = "vert";
- _mesa_snprintf(filename, sizeof(filename), "shader_%u.%s", shader->Name, type);
+ _mesa_snprintf(filename, sizeof(filename), "shader.%s", type);
f = fopen(filename, "a"); /* append */
if (!f) {
fprintf(stderr, "Unable to open %s for appending\n", filename);