c0632c9470e2812d3f12e6462d07af4760f3d078 |
|
02-Mar-2018 |
Alexis Hetu <sugoi@google.com> |
Added support for sampler2DRect in ESSL3 Being able to sample from sampler2DRect using the "texture" function is required for Chromium on Mac. Change-Id: Iea8970aaec29734a251bcfc19a03223d0ebfbc7e Reviewed-on: https://swiftshader-review.googlesource.com/17572 Reviewed-by: Alexis Hétu <sugoi@google.com> Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.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/Initialize.cpp
|
c4711fa59234ca83c2c46c4c7e4467302088d395 |
|
12-Jan-2018 |
Alexis Hetu <sugoi@google.com> |
GLSL mix implementation Added mix implementation with a bvec as a 3rd argument, which is basically a select. Fixes 18 failures in dEQP-GLES3. Change-Id: Ifaf4a27e1a25fbaad979a7d26ad4a424631acd08 Reviewed-on: https://swiftshader-review.googlesource.com/16288 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
0b7471abf91c988841ef06c320f71f6195a4d508 |
|
10-Jan-2018 |
Nicolas Capens <capn@google.com> |
Detect redefinition of function name as variable. We were previously already detecting when a variable name was redefined as a function, but not the inverse. The fix involves inserting the unmangled function name into the symbol table. Change-Id: I0efd1309d45f004c8d1c5ceb864e08c2ebe22f1d Reviewed-on: https://swiftshader-review.googlesource.com/16048 Tested-by: Nicolas Capens <nicolascapens@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
665757defa34e0d67c4aeb1d87b53403a3c99237 |
|
30-Oct-2017 |
Alexis Hetu <sugoi@google.com> |
Support for gl_MaxDrawBuffers in OpenGL ES 3.0 gl_MaxDrawBuffers is still available in OpenGL ES 3.0. It was just a matter of making it part of the common builtins. Change-Id: Icd3ca9f4f50cba43c345974ef72603800155a573 Reviewed-on: https://swiftshader-review.googlesource.com/13389 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
877ddfc51400030afd2804a23b132ed87a2f8d2f |
|
25-Jul-2017 |
Alexis Hetu <sugoi@google.com> |
gl_VertexID implementation This cl implements support for gl_VertexID. Passes the functional.shaders.builtin_variable.vertex_id test. Change-Id: I5550e3ecba30e29f1e38ace608d730833a1e9598 Reviewed-on: https://swiftshader-review.googlesource.com/10958 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.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/Initialize.cpp
|
7d6b34d25534f6d65d3ae5340d8692bf10cfe767 |
|
03-May-2016 |
Alexis Hetu <sugoi@google.com> |
modf implementation Implemented modf as trunc + sub Passes all related dEQP tests Change-Id: I43656c51a670d235153e5fac390a8db311b14f8d Reviewed-on: https://swiftshader-review.googlesource.com/5280 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
c66f0e3629984a8f41f6ee4441047c9fe8584454 |
|
18-Apr-2016 |
Nicolas Capens <capn@google.com> |
Implement GL_EXT_draw_buffers. Bug 19353282 Change-Id: I4a1782c2f1e9ae52b731ef447e97c353cc41044e Reviewed-on: https://swiftshader-review.googlesource.com/5123 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/Initialize.cpp
|
fe30f67732fe460e5f579f35418b22d6b89abb03 |
|
21-Sep-2015 |
Alexis Hetu <sugoi@google.com> |
Added gl_FragDepth Change-Id: I9e70cd5e230a86ef3e4bed1884ede14a128c2d67 Reviewed-on: https://swiftshader-review.googlesource.com/3992 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.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/Initialize.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/Initialize.cpp
|
b5332c54150a1d30991390f77c8a277fd2e90c21 |
|
04-Jun-2015 |
Alexis Hetu <sugoi@google.com> |
Adding more built-in function definitions Defined more derivatives and texture functions for glsl. By itself, this enables a few hundred dEQP tests to pass for derivatives, which were already implemented properly in some cases. Change-Id: I84063205447ee4813409a3eb52aeb2ad79793a88 Reviewed-on: https://swiftshader-review.googlesource.com/3383 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
6743bbf11fe876e0ce063802174c416f5fa05ad4 |
|
21-Apr-2015 |
Alexis Hetu <sugoi@google.com> |
gl_InstanceID implementation I need some help connecting the dots here. I can see a few ways of doing it, but it isn't trivial for me to see which one would be right. Could you tell me how the value should go from the VertexProcessor to being assigned a value in the actual shader. Change-Id: Ie0bc2024f51a904ab8144c435b623cfefe8e6704 Reviewed-on: https://swiftshader-review.googlesource.com/2920 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
2205c2012c2c9546c7c0fd6b90c674c1486e30a3 |
|
16-Apr-2015 |
Alexis Hetu <sugoi@google.com> |
Adding new GLES3.0 builtin functions This cl simply adds the function signatures, without any implementation, for the new GLES 3.0 builtin functions. Change-Id: Ib67830aedd3c067ca7c16738e4a071547a893321 Reviewed-on: https://swiftshader-review.googlesource.com/2860 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Alexis Hétu <sugoi@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.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/Initialize.cpp
|
18d5ef97c6a5112b08c310606ef854cafae864bf |
|
24-Feb-2015 |
Nicolas Capens <capn@google.com> |
Set symbol extension at insertion. Bug 19331817 Change-Id: Ia501eba1b17406db4dcb464d862ce7d4ccacf236 Reviewed-on: https://swiftshader-review.googlesource.com/2392 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
33cda11b476675feccf858c5baa22cbffef51597 |
|
24-Feb-2015 |
Nicolas Capens <capn@google.com> |
Set symbol operations at insertion. Bug 19331817 Change-Id: I93eb70d05b2c389cd751519bc43eb6f256e8e4a6 Reviewed-on: https://swiftshader-review.googlesource.com/2391 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/Initialize.cpp
|
8fa9d23dda6436369ae1e16dbed3bf1425626ae0 |
|
19-Feb-2015 |
Nicolas Capens <capn@google.com> |
Use generic types to compact the symbol table initialization. Bug 19331817 Change-Id: I6ec0f8c6f2ef61f3d0d5adb627eab4a29dffc8ac Reviewed-on: https://swiftshader-review.googlesource.com/2380 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/Initialize.cpp
|
82cd6d82a079fcad71e686cc075e36186f2a8e66 |
|
18-Feb-2015 |
Nicolas Capens <capn@google.com> |
Implement basic GLSL ES 3.0 texture sampling. Bug 19331817 Change-Id: Ieb4581c62525112e0b76e94bcbbb8f9608c782ea Reviewed-on: https://swiftshader-review.googlesource.com/2371 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/Initialize.cpp
|
70da3d432409368f214058c466fe0265b6b9a070 |
|
18-Feb-2015 |
Nicolas Capens <capn@google.com> |
Simplify the creation of global types. Bug 19331817 Change-Id: I6e288f5385887afce7c7affc13431277b379fdc3 Reviewed-on: https://swiftshader-review.googlesource.com/2363 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/Initialize.cpp
|
3d7f6ed87f60694d52606d9338cf9483d62fa8bf |
|
18-Feb-2015 |
Nicolas Capens <capn@google.com> |
Move GLSL ES 1.00-specific symbols to their own symbol level. Bug 19331817 Change-Id: I00abb7635e7a232891dd158b472c375d931db584 Reviewed-on: https://swiftshader-review.googlesource.com/2362 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/Initialize.cpp
|
e2858656575d8bc1f88ad3c885ab3cedf29a482e |
|
18-Feb-2015 |
Nicolas Capens <capn@google.com> |
Split builtin symbols over multiple levels. Bug 19331817 Change-Id: Ia1ab8f4da90c62ca846961c97691aacdbdf62a6a Reviewed-on: https://swiftshader-review.googlesource.com/2361 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/Initialize.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/Initialize.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/Initialize.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/Initialize.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/Initialize.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/Initialize.cpp
|