40f48ab810ae76184e41bfaf447ee139c0760c75 |
|
24-Jan-2018 |
Alexis Hetu <sugoi@google.com> |
Unsigned int GLSL parsing fixed Unsigned integers in GLSL were being parsed using the regular integer parser, so it was limited to INT_MAX. All values from INT_MAX + 1 to UINT_MAX could not be parsed properly. Also, added constant folding for the 4 bit conversion glsl functions. Fixes shader compilation issue in the Epic Zen Garden example: https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.html (unfortunately, the screen is still black, so there are other issues left) Fixes WebGL 2 test: conformance2/glsl3/float-parsing.html Change-Id: Iae52b2c8e083f0e1a22599e5a583297b9850444d Reviewed-on: https://swiftshader-review.googlesource.com/16648 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang.l
|
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.l
|
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.l
|
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.l
|
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.l
|
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.l
|
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.l
|
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.l
|
3ef0c0a8f762f1d131d9c248d5a501dbaae7ba2e |
|
09-Jun-2015 |
Alexis Hetu <sugoi@google.com> |
Added proper number suffixes in GLSL parser Numbers like "1.0f" or "10u" are now allowed in GLSL, so I added code to do proper parsing of these numbers. Change-Id: Ia4635ab2b449399bd4adea2c5c94567b5b8a5f8e Reviewed-on: https://swiftshader-review.googlesource.com/3434 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang.l
|
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.l
|
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.l
|
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.l
|
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.l
|
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.l
|
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.l
|
309a1d98079dbbfaf9713f805901d3022ab398ef |
|
17-Feb-2015 |
Nicolas Capens <capn@google.com> |
Add helper functions to the lexer to tokenize strings that have different classifications in ES2 and ES3. Bug 19331817 Change-Id: I4e1c190e23aa63b03ef8f57930102d01e496f107 Reviewed-on: https://swiftshader-review.googlesource.com/2311 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.l
|
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.l
|
1b5b53b88d42c3de6bc395c937d1a7e52baa5812 |
|
10-Feb-2015 |
Nicolas Capens <capn@google.com> |
Predefine GL_FRAGMENT_PRECISION_HIGH. Bug 19331817 Change-Id: Ic0182a2413b6eee5343cde63f4655327bdc1d479 Reviewed-on: https://swiftshader-review.googlesource.com/2092 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/glslang.l
|
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.l
|
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.l
|
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.l
|