glsl: rework misleading block layout code
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 21 Jul 2017 01:42:33 +0000 (11:42 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 23 Jul 2017 00:06:01 +0000 (10:06 +1000)
commitd91108b1f4265d69961df01cc0e02c1f64bccc01
tree7cda1a6c9be762f898adcb86249911d0e862c65f
parent316b4c9ada2fd0df262d02c993a3884b368864e8
glsl: rework misleading block layout code

From the ARB_uniform_buffer_object spec:

   ""shared" uniform blocks, the default layout, ..."

This doesn't fix anything as the default layout is already applied
at this point but fixes the misleading code/comment.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/glsl/ast_to_hir.cpp