OSDN Git Service

glsl: Also update implicit sizes of varyings at link time.
authorEric Anholt <eric@anholt.net>
Tue, 28 Sep 2010 21:32:16 +0000 (14:32 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 Sep 2010 21:37:26 +0000 (14:37 -0700)
commit586b4b500fed64fb724beb3753bc190cd1c676e0
tree750ec54cf8327b6d433f47aac83d31fc3c83aeda
parentb9a59f0358f6f6afc7fafc1b417fa1b2c4cdaf37
glsl: Also update implicit sizes of varyings at link time.

Otherwise, we'll often end up with gl_TexCoord being 0 length, for
example.  With ir_to_mesa, things ended up working out anyway, as long
as multiple implicitly-sized arrays weren't involved.
src/glsl/linker.cpp