Pass varyings to the GLES API from the translator using a direct pointer.

Instead of parsing them indirectly from HLSL, the pointer will allow us to more flexibly
support new types, especially compound types such as structures.

TRAC #23754

Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods

diff --git a/src/compiler/ShaderLang.cpp b/src/compiler/ShaderLang.cpp
index edfb3f8..77cb644 100644
--- a/src/compiler/ShaderLang.cpp
+++ b/src/compiler/ShaderLang.cpp
@@ -386,6 +386,9 @@
     case SH_ACTIVE_ATTRIBUTES_ARRAY:
         *params = (void*)&translator->getAttributes();
         break;
+    case SH_ACTIVE_VARYINGS_ARRAY:
+        *params = (void*)&translator->getVaryings();
+        break;
     default: UNREACHABLE();
     }
 }