- 09 Jun, 2016 1 commit
-
-
Nicolas Capens authored
The spec states that GL_INVALID_OPERATION is generated when a shader or program function is called on the wrong object type. GL_INVALID_VALUE is generated when there's no shader nor program object by that name. Change-Id: Ia819857b533f226a90d9a9805b254b127da8c667 Reviewed-on: https://swiftshader-review.googlesource.com/5540Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 08 Jun, 2016 7 commits
-
-
Alexis Hetu authored
Removed mConfig from Context and related functions. Change-Id: I91eba6a4dbbd8ff48f212a246b1894009d513436 Reviewed-on: https://swiftshader-review.googlesource.com/5531Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I4587cb845bf61c390942071546f2439ada618b9b Reviewed-on: https://swiftshader-review.googlesource.com/5530Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Some variables were either unused or only used in certain contexts, like debug or tracing, so these were either removed (when unused) or moved to the right scope (when used conditionally). Also fixed a string format warning and a missing case warning. Change-Id: I2d130faa992b5dc06fb332d7404a8aebc7c121ef Reviewed-on: https://swiftshader-review.googlesource.com/5462Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
This allows validating the EGL image handles. It also ensures that on 64-bit platforms the handles fit in 32-bit so they can be exchanged through 32-bit applications (e.g. on a 32-bit virtual machine). Change-Id: Ie02b00edd2cf7fa02b38316ee7d21c22eae720b5 Reviewed-on: https://swiftshader-review.googlesource.com/5500Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
This prevents having to access the current display though TLS. Change-Id: Ic93d0f88096a7e7e50318dbafb9b32da5fbc50a2 Reviewed-on: https://swiftshader-review.googlesource.com/5511Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
A few minor things fell through the cracks of previously landed cls: - Added missing ops from TOutputTraverser::visitAggregate - Made sure some members were initialized in TIntermAggregate - Removed UNIMPLEMENTED() for implemented feature Change-Id: Iec139533714ad6288f2f3962873616b5578a0ceb Reviewed-on: https://swiftshader-review.googlesource.com/5480Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Plumbing to send Min LOD and Max LOD from the Sampler object in the Context to the Renderer's texture's state. Change-Id: I6831a8e17d67e745d12a78176d566750d971ec76 Reviewed-on: https://swiftshader-review.googlesource.com/5510Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 06 Jun, 2016 3 commits
-
-
Alexis Hetu authored
Plumbing to send the LOD base level and max level from the Sampler object in the Context to the Renderer's texture's state. Change-Id: I5a9571f58a0cbaea8cedfb98da159672673eed94 Reviewed-on: https://swiftshader-review.googlesource.com/5501Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
I looked into the texture size issue and I removed the " + Int(1)" used on the LOD and replaced it with "baseLevel", which I think makes more sense. Without the "+1", some tests using baseLevel==1 fail, but all tests pass when I use "+baseLevel". I'm not 100% sure why the "+1" wasn't making tests that were using baseLevel==0 fail. Note that, for now, the new Sampler::State "baseLevel" member will always be 0, as the code to set it hasn't landed yet and will be in another cl. Change-Id: I8532bb7009abcc15e03416489f1d25027e336457 Reviewed-on: https://swiftshader-review.googlesource.com/5471Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Change-Id: Ic170d391c2fb487af8c405df15b3bab585f64273 Reviewed-on: https://swiftshader-review.googlesource.com/5470Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 03 Jun, 2016 2 commits
-
-
Nicolas Capens authored
The 1.1.12 spec states that the string must have the format "OpenGL ES-XX N.M" where XX is a two-character profile identifier, either CM for the Common profile or CL for the Common-List profile, and N.M are the major and minor version numbers of the OpenGL ES implementation, separated by a period (currently 1.1). Bug 29072494 Change-Id: Ia7e55266c1cb1d24279f2e93f31d269f948dc647 Reviewed-on: https://swiftshader-review.googlesource.com/5490Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Meng-Lin Wu authored
Related deqp tests: textureoffset textureprojoffset texturelodoffset textureprojlodoffset texturegradoffset textureprojgradoffset Change-Id: Id83abe3f24ec789345a9ce7dcf6e146e2410da3b Reviewed-on: https://swiftshader-review.googlesource.com/5451Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 02 Jun, 2016 3 commits
-
-
Alexis Hetu authored
The use of std::numeric_limits requires "#include <limits>" on Linux Change-Id: I56b09e0e551a4f898406073d2d0f11b4dcc1fed5 Reviewed-on: https://swiftshader-review.googlesource.com/5464Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
This code requires flat interpolation to work properly, but otherwise R16I and R16U types should work properly with this code. Other enums added here (remaining combinations of R/GR/ABGR, 8/16, I/U) aren't implemented yet. Change-Id: Ica4e29d0421611e3178a20aadc01f3645dc793bf Reviewed-on: https://swiftshader-review.googlesource.com/5460Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
By default vertex shader outputs/fragment shader inputs are smoothly interpolated. The 'flat' keyword can be used to change the interpolation to "flat", which basically means that no interpolation is performed. "flat" is the only interpolation qualifier accepted for integer types. This change fixes all shaders/precision dEQP tests as well as a few fragment output integer format types related tests. Change-Id: Ic64b0ec40c705d885c255b3b671cf7460965dfee Reviewed-on: https://swiftshader-review.googlesource.com/5390Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 31 May, 2016 3 commits
-
-
Nicolas Capens authored
Change-Id: Iccb3fcb70c99513ce7ffc75b14ec1887e5c21d40 Reviewed-on: https://swiftshader-review.googlesource.com/5441Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Iae8548c3aa7379f043be3318e59ed39b531e2f07 Reviewed-on: https://swiftshader-review.googlesource.com/5440Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I22abf525f9389cf942c0b66b8c34c5446dd8d306 Reviewed-on: https://swiftshader-review.googlesource.com/5431Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 30 May, 2016 1 commit
-
-
Nicolas Capens authored
Change-Id: Ie28d3e61fda6fa01f5dc669a4ef3f4c0b09743d0 Reviewed-on: https://swiftshader-review.googlesource.com/5430Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 28 May, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: Id1e3a50d56475c495a3cfb82553c5bd4c48a0fc3 Reviewed-on: https://swiftshader-review.googlesource.com/5425Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 20724899 Change-Id: I35f63709b5773c2cefe8bf2376e6d9236dfd81f9 Reviewed-on: https://swiftshader-review.googlesource.com/5090Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 27 May, 2016 4 commits
-
-
Nicolas Capens authored
Change-Id: Iad768d095695dd8b6130a745e6741b7029fa9649 Reviewed-on: https://swiftshader-review.googlesource.com/5424Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
This allows performing the depth range adjustment only once as part of the viewport transform and not have it be affected by transform feedback. Change-Id: I89fba3b131c234bea064b1b65f50b62261f4c307 Reviewed-on: https://swiftshader-review.googlesource.com/5421Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Move clip flag calculation for the new polygon vertices of points and lines from the renderer to the clipper. Change-Id: I41ac3647d8e9376586a1011d1cf28d83e9c963a2 Reviewed-on: https://swiftshader-review.googlesource.com/5423Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Use a pointer to member function to not explicitly pass the renderer pointer. Change-Id: Iaccc1d7a1833fbdb433c56063c89b6178e9e2333 Reviewed-on: https://swiftshader-review.googlesource.com/5422Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 26 May, 2016 1 commit
-
-
Meng-Lin Wu authored
Related deqp tests: texturegrad, textureprojgrad Change-Id: I17529ed426c29bc1dec48fb7ac939c29caeeaf07 Reviewed-on: https://swiftshader-review.googlesource.com/5420Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 24 May, 2016 1 commit
-
-
Nicolas Capens authored
Bug 28929520 Change-Id: I94fcac3149fafd422e1879360109b668a2ca6029 Reviewed-on: https://swiftshader-review.googlesource.com/5410Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 20 May, 2016 9 commits
-
-
Alexis Hetu authored
This cl enables transform feedback in Context by calling Program::applyTransformFeedback(). It also adds the code required to compute vertex offsets between different draw calls, when multiple successive draw calls write into the same transform feedback buffer(s). Change-Id: Ib3bc4bdd1308486642f233f425d0088a55cb1333 Reviewed-on: https://swiftshader-review.googlesource.com/5301Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
This cl adds the code that actually performs the copy of the vertex shader outputs into transform feedback buffers. It also contains a fix for symmetricNormalizedDepth, which must be computed after the information was copied into the transform feedback buffers, when transform feedback is active. Change-Id: I418f94a15b9425bba0905c840f8cf4828233d0fb Reviewed-on: https://swiftshader-review.googlesource.com/5172Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The loopCount function was expecting the left side of a binary op to always be a symbol, which isn't necessarily the case, so a null pointer check was added to prevent the crash. Change-Id: I1fe6626bf52ecbb05664d1d2fa18f7ed830a7ee6 Reviewed-on: https://swiftshader-review.googlesource.com/5344Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ic078acae24dd2b2361a32498b49238b98e0ac0d1 Reviewed-on: https://swiftshader-review.googlesource.com/5386Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I2c618c03d00718951907e81fcd600155751aac89 Reviewed-on: https://swiftshader-review.googlesource.com/5385Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I17ae53e5274232e9e3b482daac56d507788e822c Reviewed-on: https://swiftshader-review.googlesource.com/5383Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Previously the 12'th generic varying's w component would overwrite the clipFlags member field. Change-Id: I499979a2bbc653c0d95b35512a7a9e36667c2e4d Reviewed-on: https://swiftshader-review.googlesource.com/5382Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Iaa6cf9367f291a4bc3bde899484ca323ff54a0d4 Reviewed-on: https://swiftshader-review.googlesource.com/5381Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Implemented EGL_KHR_create_context as described here: www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context.txt A small part of it was already implemented, which was to add support for the EGL_OPENGL_ES3_BIT bit in the EGL_RENDERABLE_TYPE bitfield. Note that the EGL_OPENGL_ES3_BIT is explicitly disabled on Android right now. Change-Id: I10e6222511b29f2d91bd55bfeb0f39bc5b884f89 Reviewed-on: https://swiftshader-review.googlesource.com/5380Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 17 May, 2016 1 commit
-
-
Nicolas Capens authored
Bug 27225594 Change-Id: Ice38ce8ca8ef157e24d309fe6ac9ce2f69e9e816 Reviewed-on: https://swiftshader-review.googlesource.com/5363Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 16 May, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: I47447de635055f9fadf43a71f5423e8fcba884aa Reviewed-on: https://swiftshader-review.googlesource.com/5358Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: If473b7d83e54ccdca710dffe353b539213ae2046 Reviewed-on: https://swiftshader-review.googlesource.com/5357Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-