- 08 Jun, 2016 1 commit
-
-
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 4 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>
-
Alexis Hetu authored
Implemented switch/case for glsl in OpenGL ES 3.0. For simplicity, it is implemented as a loop without a condition, so break statements work properly like so: begin switch if(...) // 1st case ... else if(...) // other cases ... else // default case ... end switch // Anchor point for break statements All related dEQP tests pass, except 7 tests where vertex shaders contain a switch or a loop within another switch. These 7 failures have only about 5% of bad pixel and seem to be related to an issue with int(floor(...)), since the equivalent tests inside the fragment shader pass. KNOWN ISSUE: If a switch is within a loop and one of the cases contains a "continue" statement, this will not be handled correctly at the moment. There are no dEQP tests for this at the moment, AFAIK. Change-Id: I3ba34ab06a759d07e8520f6a87d75036a5cdaef5 Reviewed-on: https://swiftshader-review.googlesource.com/5272Tested-by:Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Added a few types: - Half float - 2_10_10_10_INT - 2_10_10_10_UINT Related dEQP tests pass. Change-Id: I2fb04fee89c3d69367dc2e401ac53d9758add9bf Reviewed-on: https://swiftshader-review.googlesource.com/5356Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 13 May, 2016 5 commits
-
-
Nicolas Capens authored
Change-Id: I093be383c0c5b111592acad4cc9301711c75ab88 Reviewed-on: https://swiftshader-review.googlesource.com/5362Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I3aaf4819fa629282ebeb9f7e70fbae53c261c25d Reviewed-on: https://swiftshader-review.googlesource.com/5355Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I1444a3d15977c2617866f293e0ac0ccbd253d878 Reviewed-on: https://swiftshader-review.googlesource.com/5353Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ifb474e6ab12b254599b6d1713f9f2a01b869e09d Reviewed-on: https://swiftshader-review.googlesource.com/5361Reviewed-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: I7c854c0c357f480b0686b0ed12e371adca8a738f Reviewed-on: https://swiftshader-review.googlesource.com/5354Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-