Export to GitHub

glsl-unit - issue #16

Duplicate uniform and attribute names


Posted on Sep 24, 2013 by Swift Wombat

glsl-unit can currently use the same name for uniforms and attributes in the minified output. Recent changes in Chrome mean that such programs will no longer link: https://groups.google.com/d/msg/webgl-dev-list/LopzjRB7w5Y/1X2f7DdYCwwJ

What steps will reproduce the problem? 1. Compile the attached shader with glsl-unit. 2. Observe the output of glsl-unit: the name "c" is used for both an attribution and a uniform.

What is the expected output? What do you see instead? Names should not be re-used.

What version of the product are you using? On what operating system? Observed with glsl-unit at f80be0a52e07429b0a0fe8b8368895f5e0159294 (master as of May 2012, currently the latest version).

Attachments

Status: New

Labels:
Type-Defect Priority-Medium