Commit 1b5b53b8 by Nicolas Capens

Predefine GL_FRAGMENT_PRECISION_HIGH.

Bug 19331817 Change-Id: Ic0182a2413b6eee5343cde63f4655327bdc1d479 Reviewed-on: https://swiftshader-review.googlesource.com/2092Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent a9b4937f
......@@ -361,6 +361,9 @@ int glslang_scan(int count, const char* const string[], const int length[],
{
context->preprocessor.predefineMacro(iter->first.c_str(), 1);
}
context->preprocessor.predefineMacro("GL_FRAGMENT_PRECISION_HIGH", 1);
return 0;
}
......@@ -3051,6 +3051,9 @@ int glslang_scan(int count, const char* const string[], const int length[],
{
context->preprocessor.predefineMacro(iter->first.c_str(), 1);
}
context->preprocessor.predefineMacro("GL_FRAGMENT_PRECISION_HIGH", 1);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment