History log of /external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
858c0393b51e98025a9d0a4864985aecb4a3d5e5 09-Apr-2018 Nicolas Capens <capn@google.com> Initialize array size on error.

The array size is set using the value returned by arraySizeErrorCheck,
even when an error occurred, so don't leave it uninitialized.

Bug chromium:801648

Change-Id: If2af27c5f61dca2931796f1681dce61ab6a44341
Reviewed-on: https://swiftshader-review.googlesource.com/18368
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
4676862e987be2c05ca2825783f2f54cf2f29eb7 17-Jan-2018 Alexis Hetu <sugoi@google.com> Texture Rectangle implementation

This adds support for GL_ARB_texture_rectangle, as it is used in Chromium.
This is required in order to use EGL/GLES on MacOS using IOSurface,
in order to be able to run Chromium on top of SwiftShader on MacOS.

Change-Id: I3c0b6a137892583bbfbc68149874d5bec3026b4a
Reviewed-on: https://swiftshader-review.googlesource.com/16368
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
3bb01956196ed0e7c8fce2e8fe45afb25e455fd9 26-Jan-2018 Alexis Hetu <sugoi@google.com> Flex update

Updated Flex version from 2.6.0 to 2.6.4 and regenerated files.

Change-Id: I7bae30e1f0e1dc16de2bc27f908a1114449d756c
Reviewed-on: https://swiftshader-review.googlesource.com/16768
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
7cbb1de26de993b59381f9752c04cd55951fc645 22-Dec-2017 Nicolas Capens <capn@google.com> Implement support for arrays of constants.

Arrays of constants can be dynamically indexed, so they can't be
propagated by value and handled as literals like other constants.
Instead we store them in the constant register file.

Change-Id: Idcee033d694b20d047c70e2d13974e5a6dce127b
Reviewed-on: https://swiftshader-review.googlesource.com/15488
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
e97a31e2ecef119a235e3ef474cc8d9e1395a532 14-Nov-2016 Alexis Hetu <sugoi@google.com> Fixed clang warnings and unmuted these warnings

A few warnings were fixed:
- 2 sets of virtual flip/blit functions were colliding, so
I added pure virtual function overrides so that both
definitions appear within FrameBufferWin
- Moved a few variables within ASSERT inside the ASSERT
statement in order to remove unused variable warnings
- Removed stack option from glslang.l and removed comments
handling code, which is actually already done by the
preprocessor (tested in dEQP)
- Removed unused yyscanner variable from glslang.l
- Ifdefed debug only code in main.cpp

Removed all related muted warnings from BUILD.gn files.

Change-Id: Idf9e7eed00431cc747b689b5d1931fd0c1e8d506
Reviewed-on: https://swiftshader-review.googlesource.com/8010
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nico Weber <thakis@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
0bac285a78df6a6d7a6b68784748b92805420ffb 07-May-2016 Nicolas Capens <capn@google.com> Apply the Apache 2.0 license.

Change-Id: I4a7aeefedcd2d891093520d5a10ebefadcddb5be
Reviewed-on: https://swiftshader-review.googlesource.com/5320
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
f91d9c1c98c30b887cfa1a4d39ddf64d6459e621 26-Apr-2016 Nicolas Capens <capn@google.com> Fix scoping of function parameters for GLSL ES 1.0

This reverts commit 0637eac3b8fd276596b303aaa7e5d59a3accccf8.
It's considered a spec bug:
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=8656

Change-Id: Id49121d5adf91ecab3d261c3c12e2f879f47e856
Reviewed-on: https://swiftshader-review.googlesource.com/5192
Reviewed-by: Shannon Woods <shannonwoods@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
0637eac3b8fd276596b303aaa7e5d59a3accccf8 07-Apr-2016 Nicolas Capens <capn@google.com> Fix local variable hides function parameter for GLSL ES 1.0

GLSL ES 1.0 specifies that "a function body has a scope nested inside
the function’s definition". For GLSL ES 3.0, they form a single scope.
Both specs use the compound_statement_no_new_scope rule. This change
respects that while supporting both behaviors. It does not impact legacy
content since it makes things more permissive.

Change-Id: Ica40fbf4d24d441ca2288fe5d43c288161e16b89
Reviewed-on: https://swiftshader-review.googlesource.com/5055
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
0863f0df08c859d5966e809073046e9dab1cde6e 10-Apr-2016 Nicolas Capens <capn@google.com> Handle constant expressions that have not been constant folded.

Change-Id: I7dd1e6db9a4cee64cb10fb27373d77038b2af63e
Reviewed-on: https://swiftshader-review.googlesource.com/5078
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
407813b4c558c92a42831104f32cce0d113db8ca 24-Feb-2016 Alexis Hetu <sugoi@google.com> Parser cleanup

Ported some changes from Angle. Added 4 new functions to
ParserHelper to remove some code from glslang.y. Added
some extra checks regarding qualifiers and precision.

Change-Id: I2856a764749bef0df500891eb4c003211e634673
Reviewed-on: https://swiftshader-review.googlesource.com/4900
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
1aa4b61c904cdab3530991f35f7979f14723821c 28-Oct-2015 Veranika Liaukevich <veranika@google.com> Local variables hide function arguments

Definitions of variables inside functions should be located in a scope
different from function's arguments scope.

Change-Id: I89fe1f527681c68963f4a69c71b78975787a410c
Reviewed-on: https://swiftshader-review.googlesource.com/4180
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Veranika Liaukevich <veranika@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
eced26a12537825c00dcdd8e74e110b3e838a08f 22-Oct-2015 Veranika Liaukevich <veranika@google.com> Modify glslang.y to support Bison 3.0.2.

For this patch lexer and parser files were regenerated with newer versions
of Flex(2.5.39) and Bison(3.0.2). Because YYLEX_PARAM was deprecated and removed
from Bison, it was replaced with %param. The change was inspired by Angle source
code.

Change-Id: I7ac60041aabb78567860653a0663ec9adb205e8a
Reviewed-on: https://swiftshader-review.googlesource.com/4115
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Veranika Liaukevich <veranika@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
7df892dfa595dddaf841fbbc8ec320fa5dcb0932 07-Jul-2015 Alexis Hetu <sugoi@google.com> Minor unary math cleanup

The unary math related functions were already
added to TParseContext, but a few sections in
the parser hadn't been converted yet.

Change-Id: Idbc96e6e91acce28310f391a50d219e39dfc185b
Reviewed-on: https://swiftshader-review.googlesource.com/3668
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
950cb449744bc5d4e3d8ad8432e4549f5e29863c 06-Jul-2015 Alexis Hetu <sugoi@google.com> Completing the "length()" intrinsic function implementation

The implementation of the length() function was already added
to TParseContext::addFunctionCallOrMethod() in a previous cl,
but it was still unused because addFunctionCallOrMethod() was
always called with the 3rd argument as nullptr. This cl adds
the missing code required to get the length function working.

Change-Id: I3339ae8b60f5f577caa0a39f88c6ed0c626879b2
Reviewed-on: https://swiftshader-review.googlesource.com/3641
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
ad52775476d367199a4cd3b3b47ff8959e63bd59 07-Jul-2015 Alexis Hetu <sugoi@google.com> Invariant keyword support

Added support for the invariant keyword in the parser.
Also made sure all in/out types were handled properly
in OutputASM.cpp.

Change-Id: I40f0bc9caf5bccc691aa60dfaa90bed5d1d7d238
Reviewed-on: https://swiftshader-review.googlesource.com/3663
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
253fdd10c2c3b428302755db0df4ca6fbb60024f 07-Jul-2015 Alexis Hetu <sugoi@google.com> Completed conversion of TSourceLoc into a struct

TSourceLoc was defined as an int, but is meant to be
used as a struct to carry all the information provided
by the parser, so the conversion was made in this cl.

Change-Id: I6015d11aafda96914ec7b2c37883ffbc963a08fe
Reviewed-on: https://swiftshader-review.googlesource.com/3664
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
76079bcfda618b49f17453bbf1a8d7c287b73760 08-Jul-2015 Alexis Hetu <sugoi@google.com> Small named variable cleanup

- Replaced a few lines of codes in the parser by getNamedVariable
- Deleted unused commented out code in the parser

Change-Id: I34db0c971140a39cd91a32c05ebf866d5fca795b
Reviewed-on: https://swiftshader-review.googlesource.com/3670
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
eee212e77d07ef0ad4dd9396c62dc318435ae3d3 07-Jul-2015 Alexis Hetu <sugoi@google.com> Ternary selection cleanup

Moved the ternary selection code to TParseContext
where checks were added to make sure arrays and
structs can't use it.

Change-Id: If3c007820870276cdf540005e095d89d54949bc4
Reviewed-on: https://swiftshader-review.googlesource.com/3669
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
3e9e208b8f2cedb9e45a369d3e8c97456336f70c 03-Jul-2015 Alexis Hetu <sugoi@google.com> Added more info to ES3 only errors in parser

Added the same info as Angle's for ES3 only errors.

Change-Id: I2f11b34b06f8e1cc1b0a200d568c709ca35469ab
Reviewed-on: https://swiftshader-review.googlesource.com/3639
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b3ff42cdf382b15fd1776881c525815f7d25a1f3 04-Jul-2015 Alexis Hetu <sugoi@google.com> Moved function creation code from glslang.y to TParseContext.

Added TParseContext::addFunctionCallOrMethod() to move function
creation functionality out of glslang.y.

Change-Id: Ia23e8c2490ba9d2bb1fcd00a1ef06eab5cf60b80
Reviewed-on: https://swiftshader-review.googlesource.com/3640
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
0a65584a1529450c476c026f3254d78efc200645 22-Jun-2015 Alexis Hetu <sugoi@google.com> Better encapsulation for TParseContext

Changed 15 public members of TParseContext
so that they are now private and added the
appropriate setters/getters, along with the
required code changes in the parser.

Change-Id: I0a3ea67540d165e9837a3fe8e64fda4843a3cf96
Reviewed-on: https://swiftshader-review.googlesource.com/3543
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
e524669863d3a7ce8bf2e77fe05b24da555a6de9 18-Jun-2015 Alexis Hetu <sugoi@google.com> Adding unsized arrays to the glsl parser

Unsized arrays declare with an empty [] without
a specified size are now supported properly in
the glsl parser.

Also moved the construction code from the parser
into TParseContext.

Change-Id: Ic7b3efeee51da1a264e26af4d7908e7d2fccebd9
Reviewed-on: https://swiftshader-review.googlesource.com/3520
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b4769581b65063fe83d673677dfd2109619ed8b5 16-Jun-2015 Alexis Hetu <sugoi@google.com> Binary math cleanup

Moved functionality related to binary math
into TParseContext.

No WebGL tests were hurt in the making of this CL.

Change-Id: I51b9aa8f98ceedc4e4a93b4b907d264086157c18
Reviewed-on: https://swiftshader-review.googlesource.com/3512
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
15ae36c448eaebaec09c2e25ac6b5095c0d03606 19-Jun-2015 Alexis Hetu <sugoi@google.com> Support for @ in the parser

Added support for @ in the parser and
replaced all instances of $N.line by
@N.

Change-Id: I7a18278ee0cd5deb90609508abbda2af656daaa4
Reviewed-on: https://swiftshader-review.googlesource.com/3526
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
76a343af4ea1f781a56fec006b5fe67a5615d5f8 04-Jun-2015 Alexis Hetu <sugoi@google.com> Adding switch case default keywords

This adds switch/case keywords to glsl.
This makes the shaders that include these
keywords compile, but they don't run
properly yet, partly because the "break"
statement only handles loops currently.

Change-Id: I1f52b445e1124ed3931843c46e27ecc1d9ce3d11
Reviewed-on: https://swiftshader-review.googlesource.com/3400
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
a35d8232a5276bef4eae7230d0ed71ce89aa23e8 11-Jun-2015 Alexis Hetu <sugoi@google.com> Adding Interface Blocks to glsl parser

Added code to parse interface blocks and the
corresponding layout qualifiers to the glsl parser.

Change-Id: Idfcbf08f3f877ea9641ae611e6bddd2be1ffb952
Reviewed-on: https://swiftshader-review.googlesource.com/3480
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
dd7ff7a5695e28d5e1fe156349786639ee0783d7 11-Jun-2015 Alexis Hetu <sugoi@google.com> Initializer cleanup

Cleaned up the initialer methods in the parser
and added first-class array initializers.

Passes all WebGL tests.

Change-Id: Ia73db8bfd461f36b717444a8ba4c9ec77d1cee36
Reviewed-on: https://swiftshader-review.googlesource.com/3473
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
ad6b87569fb1d2e1705e6e4b090d209be3f68e68 09-Jun-2015 Alexis Hetu <sugoi@google.com> More ground work for Uniform blocks

Moved some of the struct / indexing code
from glslang.y to the ParserHelper class
and prepared it for uniform blocks.

Change-Id: I2d5d380f662f36f04d74783fd542c4b258d3f3a5
Reviewed-on: https://swiftshader-review.googlesource.com/3441
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
a8b364b735624da31500d0fe93ae75f8b36a59d1 10-Jun-2015 Alexis Hetu <sugoi@google.com> Adding Struct related types

Added TField, TFieldListCollection, TStructure
and TInterfaceBlock for structures and uniform
blocks.

In the TType class, changed structure's type
from TTypeList to TStructure and made related
changes in other files to reflect this change.

Change-Id: Ided4c535651a566952c3314c8c4f31c2d0ccdcca
Reviewed-on: https://swiftshader-review.googlesource.com/3451
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
42ff6b15714827bb44869e5f1c41918b461bf4c8 03-Jun-2015 Alexis Hetu <sugoi@google.com> Add proper in/out shader types

Fragment and Vertex inputs and outputs were treated as OpenGL ES2.0
attributes and varyings, but OpenGL ES3.0 inputs and outputs have
different limitations and must be treated differently. This cl simply
introduces the new types, without modifying the ES2.0 behavior and
only modifying ES3.0 to allow integer varyings when they are flat.

Change-Id: I965cb576bab3f505602af9e055438bcc7c18cdfd
Reviewed-on: https://swiftshader-review.googlesource.com/3371
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
00106d497d1ae19de9d2a4dba7f58bca322cdcb9 23-Apr-2015 Alexis Hetu <sugoi@google.com> Fixed NxM matrix construction and minor issues

Fixed NxM matrix construction by
properly checking for these types in
TIntermOperator::isConstructor. Also
fixed a few areas of the code where
the secondary size wasn't properly
taken into account.

Change-Id: I646a41e37460255316f5712f1d744c3a06d8a64d
Reviewed-on: https://swiftshader-review.googlesource.com/3195
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
d061e42bd0a98720d06d4141a9cd992ec237a612 13-May-2015 Alexis Hetu <sugoi@google.com> Added type checking for Mod and bitwise ops

Added type checking and bitwise logic in a
few cases for Mod and bitwise operators for
TIntermediate, TIntermBinary and
TIntermConstantUnion.

Change-Id: Ic6ac624fd8d6d9f407f1b8fac40ae31f54a6c7da
Reviewed-on: https://swiftshader-review.googlesource.com/3113
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
1780905ed341f3b5df8fd87774ed53d3aaaa280f 13-May-2015 Alexis Hetu <sugoi@google.com> Adding bitwise operators to parser

Added ~, %, &, |, ^, <<, >>,
%=, &=, |=, ^=, <<=, >>=
to the parser and related enums.

Change-Id: Ic95b2362ec3a066ea5285b195bdcda9b6853fd3f
Reviewed-on: https://swiftshader-review.googlesource.com/3120
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b7c46afa969792dd607f4d3229fc94b28c39da9e 12-May-2015 Alexis Hetu <sugoi@google.com> Adding unsigned int types to parser

Added unsigned in and unsigned vectors
to parser.

Change-Id: Ic904f723c5db33d2d2bf432344d8abc3db966c1f
Reviewed-on: https://swiftshader-review.googlesource.com/3103
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
55a2cbc6454aaccaaec43a842602e23c917d8307 16-Apr-2015 Alexis Hetu <sugoi@google.com> Adding new glsl interpolation qualifiers

This adds proper handling of the new
interpolation qualifiers "flat" and
"smooth" for glsl in OpenGL ES 3.0.
These aren't implemented yet, they are
simply parsed properly with this cl.

Change-Id: I32aa2ca0f9ddb4c2b1a1e9c5f285a41a1716f4cc
Reviewed-on: https://swiftshader-review.googlesource.com/2861
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b14178b68ccb44a1fca9ba4e7db7770c6b6b6fa9 13-Apr-2015 Alexis Hetu <sugoi@google.com> Completing GLES 3.0 language parser

Added new matrix and sampler types in
glslang parsed files, along with related
code and new types in the C++ code.

Change-Id: Id70c73fac04d000d508236bc9bf1b39a46beda6f
Reviewed-on: https://swiftshader-review.googlesource.com/2826
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b1e911adcb5cafce13997878b9c0cf7921d694c5 26-Feb-2015 Nicolas Capens <capn@google.com> Constant function parameters are not constant expressions.

Bug 19511934

Change-Id: I367a92ac0594d2bba91e26efe5c5af7dbe6f0d04
Reviewed-on: https://swiftshader-review.googlesource.com/2480
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
31ad2aa7f12e804d6628fb70d6e945c419cb2c7d 26-Feb-2015 Nicolas Capens <capn@google.com> Rename EvqConst to EvqConstExpr

In GLSL ES a variable declared const is a compile-time constant, and
thus a constant expression. Parameters declared const are read-only but
not compile-time constant.

Bug 19511934

Change-Id: I6d02062ca62c4185a3384b31a4d3ce8dfcc86b35
Reviewed-on: https://swiftshader-review.googlesource.com/2441
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
d603ecd641640031b2a22e598e2fa9114e8ac192 18-Feb-2015 Nicolas Capens <capn@google.com> Explicitly insert builtins at symbol level 0 and declare variables at the top level.

Bug 19331817

Change-Id: I157c68e00aef3f2726bd72ac7ff96bdb8f191c75
Reviewed-on: https://swiftshader-review.googlesource.com/2350
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
0a7f0c214220bfc89b5e512688124a10fbe54a40 18-Feb-2015 Nicolas Capens <capn@google.com> Pass the shader version to the symbol table.

This refactoring prepares for version-specific builtin symbol lookups.

Bug 19331817

Change-Id: I65b46a2b35872802a249a45b2f97a1d3c1e35dfe
Reviewed-on: https://swiftshader-review.googlesource.com/2330
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
7d626796531874d308706c46a32942d71c85a7f8 17-Feb-2015 Nicolas Capens <capn@google.com> Implement support for layout qualifier locations.

Bug 19331817

Change-Id: I98c650311c6226bf769bc9f3c2eed8dac788a396
Reviewed-on: https://swiftshader-review.googlesource.com/2320
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
2c1239f554f88546f0f8abf30dc829bb621dd94b 17-Feb-2015 Nicolas Capens <capn@google.com> Add support for unsigned integer literals in the shading language.

Bug 19331817

Change-Id: I5a4a3f7aba4f758a3e8b4b5ff7c09e26bc9b7430
Reviewed-on: https://swiftshader-review.googlesource.com/2314
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
e4b1b1d8063673537b113beafff48b58ced93f6f 17-Feb-2015 Nicolas Capens <capn@google.com> Implement shader compiler support for uint vectors.

Bug 19331817

Change-Id: Ib85c82f7490a5e48830fb496cddbb5aa6837dfb2
Reviewed-on: https://swiftshader-review.googlesource.com/2313
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
3c20f806dd9b3492c7ab102858f84f7cfd73133e 17-Feb-2015 Nicolas Capens <capn@google.com> Implement shader compiler support for uint scalars.

Bug 19331817

Change-Id: Ie901756ef4fdbab1dfa6ae01c77104fc84de247f
Reviewed-on: https://swiftshader-review.googlesource.com/2312
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
a6a79ab0490903fa4dd0d77bc3cf041e48936eca 17-Feb-2015 Nicolas Capens <capn@google.com> Support in/out as type qualifiers.

Bug 19331817

Change-Id: Iab11050d27e02003fbfcfbe0f47052d73043cfd4
Reviewed-on: https://swiftshader-review.googlesource.com/2310
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
c6841851785cab1f3fd19b8aae8e8a8fe7dd7b99 15-Feb-2015 Nicolas Capens <capn@google.com> Add support for new ESSL 3.00 keywords.

Bug 19331817

Change-Id: I3315de44d1976219fada3013af13146433aa6eaa
Reviewed-on: https://swiftshader-review.googlesource.com/2100
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
08ca3c6e18275ed9db5515e470692e700e1a3e12 13-Feb-2015 Nicolas Capens <capn@google.com> Eliminate compiling for the WebGL spec.

Bug 19331817

Change-Id: I85cbfd61a267e39832b951121422a676f5af4a54
Reviewed-on: https://swiftshader-review.googlesource.com/2289
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
6407fe82e29ab16920742bd47b93e14bc5f0e119 10-Feb-2015 Nicolas Capens <capn@google.com> Eliminate the ShaderLang interface.

Bug 19331817

Change-Id: I6f5e0c1130974a16cec9575f0fefdd81707b648b
Reviewed-on: https://swiftshader-review.googlesource.com/2153
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
198529d7136fe8b16fe6009c5c2134b6642c588e 10-Feb-2015 Nicolas Capens <capn@google.com> Provide safer and more convenient constant union accessors.

Bug 19331817

Change-Id: Ia2dccfbc983750fc484a578013c90a1dd501eb6d
Reviewed-on: https://swiftshader-review.googlesource.com/2110
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
b027aa91f4b20c5062fbc781d0ff693bf294cbcc 19-Jan-2015 Alexis Hetu <sugoi@google.com> Adding Texture3D support.

Bug 19126833

Added Texture3D argument verifications.
Added the basic API and functions. A few are still unimplemented:
- Image::loadCompressedData() (for depth other than 1)
- Texture3D::copyImage()
- Texture3D::generateMipmaps()
Added colour grading test for 3D texture

Change-Id: I9e52afa7213999f94c5916c2f301fc6fa4b42c0d
Reviewed-on: https://swiftshader-review.googlesource.com/1730
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
cc863da574ed5079b055574127fe5788a9a0fc33 21-Jan-2015 Nicolas Capens <capn@google.com> Remove the Radiance compiler copy and use OpenGL's instead.

Bug 18591036

Change-Id: I17158acfa126490e28076052e5937d1deafd96c1
Reviewed-on: https://swiftshader-review.googlesource.com/1691
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
54b721dd6dedd902afa208533ae885033526ccdd 12-Dec-2014 Nicolas Capens <capn@google.com> Fix allowing fragment shader invariant declarations.

Bug 18732025

Change-Id: I8a3024327533c3e6db72248caafc5e618808edf5
Reviewed-on: https://swiftshader-review.googlesource.com/1630
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp
e8321394237fa04e1a3f066d5b96025f48c36dfc 03-Nov-2014 Nicolas Capens <capn@google.com> Rename the GLES2 folder to OpenGL.

BUG=18218488

Change-Id: I162a3a80a8e098a2a52b02ea56d746074dfb938d
Reviewed-on: https://swiftshader-review.googlesource.com/1320
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang_tab.cpp