Use shader variable types for variable collection.
Retire the old TVariableInfoList structure, and use the new
objects which we will expose more directly through the API.
BUG=angle:466
Change-Id: I999a97369bfb67cf73cd659c4fe885b41429d304
Reviewed-on: https://chromium-review.googlesource.com/205839
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Nicolas Capens <capn@chromium.org>
diff --git a/src/compiler/translator/util.cpp b/src/compiler/translator/util.cpp
index fabf22a..2b6e0ee 100644
--- a/src/compiler/translator/util.cpp
+++ b/src/compiler/translator/util.cpp
@@ -170,15 +170,15 @@
{
switch (type.getPrecision())
{
- case EbpHigh:
+ case EbpHigh:
return GL_HIGH_FLOAT;
- case EbpMedium:
+ case EbpMedium:
return GL_MEDIUM_FLOAT;
- case EbpLow:
+ case EbpLow:
return GL_LOW_FLOAT;
- case EbpUndefined:
- // Should be defined as the default precision by the parser
- default:
+ case EbpUndefined:
+ // Should be defined as the default precision by the parser
+ default:
UNREACHABLE();
}
}