You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue where identifiers in interface blocks receive different names across multiple files. This trips up my video driver's GLSL compiler, which apparently expects interface blocks to be identical across all stages of a shader program.
The simplest way I've found to reproduce the bug is by creating a file with a single block in it:
echo"uniform U { vec4 v; };"> bug.glsl
and then passing it multiple times to shader_minifier:
The expected behavior is that U, K, and J would receive the same name everywhere. (Please ignore the fact that the output contains the identifier bug_glsl three times, which obviously wouldn't compile.)
The text was updated successfully, but these errors were encountered:
I'm having an issue where identifiers in interface blocks receive different names across multiple files. This trips up my video driver's GLSL compiler, which apparently expects interface blocks to be identical across all stages of a shader program.
The simplest way I've found to reproduce the bug is by creating a file with a single block in it:
and then passing it multiple times to
shader_minifier
:The output on my machine is
The expected behavior is that U, K, and J would receive the same name everywhere. (Please ignore the fact that the output contains the identifier
bug_glsl
three times, which obviously wouldn't compile.)The text was updated successfully, but these errors were encountered: