- 14 Jun, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: Ib1b73a21dc2c3a23071e4817f24d32ad3a80c9ad Reviewed-on: https://swiftshader-review.googlesource.com/5610Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
non-const lvalue reference cannot bind to a temporary. Change-Id: I561cc8cfcedace6aab949e6e496203f39af77e2e Reviewed-on: https://swiftshader-review.googlesource.com/5594Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 13 Jun, 2016 5 commits
-
-
Alexis Hetu authored
In order to make the code a bit more readable and a little less error prone, constants that are the bitwise inverted version of other constants are computed from those constants rather than being recomputed from scratch. Change-Id: I27759d23e9c72b683eeafe4583b76a62e8132f19 Reviewed-on: https://swiftshader-review.googlesource.com/5590Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Related tests pass, modulo the current masking issue. Change-Id: Iac1103e74a9cf18c480289210dd2bd957cc41069 Reviewed-on: https://swiftshader-review.googlesource.com/5300Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Meng-Lin Wu authored
Passes all texelFetch and texelFetchOffset tests in dEQP. Change-Id: Ic212d326d1c062f1947696e6963fef300b7737f1 Reviewed-on: https://swiftshader-review.googlesource.com/5512Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 29279831 Change-Id: If5dbcb3e32e88d1e574d45d3368ed114fd4f85b7 Reviewed-on: https://swiftshader-review.googlesource.com/5581Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
These functions looked too much like EGL entry functions. Change-Id: I29dda78a34d3eb53aad002bec83ea7a77cfac1c8 Reviewed-on: https://swiftshader-review.googlesource.com/5580Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 12 Jun, 2016 1 commit
-
-
Nicolas Capens authored
Output parameters can be any kind of lvalue, such as struct members or array elements. Change-Id: I4dce9dddfa95f58275fe3f6a4acf55532330a8f7 Reviewed-on: https://swiftshader-review.googlesource.com/5570Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 09 Jun, 2016 4 commits
-
-
Alexis Hetu authored
Change-Id: I4be5d80931689d1ac66b58b316c24b16ab6fd761 Reviewed-on: https://swiftshader-review.googlesource.com/5550Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
Alexis Hetu authored
First version of Chromium build files for SwiftShader. Works for Linux only at this point. Other platforms are there, but untested at the moment. Change-Id: I8f389db9937feda74c7009cf7a22938dab9e69d5 Reviewed-on: https://swiftshader-review.googlesource.com/5520Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Some virtual functions with common names had different signature, which generates warnings. These functions didn't need to be virtual, so they are no longer virtual in order to fix the warnings. Change-Id: I4d8f5a9fdb3f4f520efe1aea0ce5d179b519bf8b Reviewed-on: https://swiftshader-review.googlesource.com/5461Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
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 1 commit
-
-
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>
-