OSDN Git Service

Restrict GLSL globals to be initialized with constant expressions.
authorNicolas Capens <capn@google.com>
Thu, 7 Apr 2016 05:03:14 +0000 (01:03 -0400)
committerNicolas Capens <nicolascapens@google.com>
Thu, 10 Aug 2017 15:38:04 +0000 (15:38 +0000)
commitbf1307b32373ed7a005d307f51b94f87be9b9755
treeb1dff991ab4cc6a2094aad07696a8c85aab1aaf3
parent7d9bdcb9e149c6b23c19db549904f0f67874378c
Restrict GLSL globals to be initialized with constant expressions.

This follows the GLSL ES 1.0 and 3.0 specs more strictly.

Change-Id: I323e90ef0a1588109e2cb7988136a9520e501a6d
Reviewed-on: https://swiftshader-review.googlesource.com/5065
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/OpenGL/compiler/Android.mk
src/OpenGL/compiler/BUILD.gn
src/OpenGL/compiler/Compiler.vcxproj
src/OpenGL/compiler/Compiler.vcxproj.filters
src/OpenGL/compiler/ParseHelper.cpp
src/OpenGL/compiler/ValidateGlobalInitializer.cpp [deleted file]
src/OpenGL/compiler/ValidateGlobalInitializer.h [deleted file]