- 17 Jun, 2016 5 commits
-
-
Nicolas Capens authored
Change-Id: I6a55ee025662958921d51e28fdc37ececed827da Reviewed-on: https://swiftshader-review.googlesource.com/5632Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ib9165c2f5af911d78b55e68195af68059791e135 Reviewed-on: https://swiftshader-review.googlesource.com/5631Reviewed-by:
Shannon Woods <shannonwoods@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Setting pixel unpack buffers was already supported, but they were still unused. This cl enables them to be used as data when loading a texture. This fixes ~200 pbo related dEQP tests. Change-Id: Ibada594185dab4f14bebf892e4df817a7dfe8401 Reviewed-on: https://swiftshader-review.googlesource.com/5640Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
It is part of GL_EXT_color_buffer_half_float. Change-Id: Icaba1efed8b4e5ad97e583ebdad7b777cf4c7ad8 Reviewed-on: https://swiftshader-review.googlesource.com/5596Reviewed-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: Ie3caecf275ffb51fbd512560cb66fcf2a32b3bbe Reviewed-on: https://swiftshader-review.googlesource.com/5595Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 16 Jun, 2016 1 commit
-
-
Nicolas Capens authored
Change-Id: Ia907ff073bf00114b2a3e72c495bf96c5a57154e Reviewed-on: https://swiftshader-review.googlesource.com/5592Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 15 Jun, 2016 2 commits
-
-
Meng-Lin Wu authored
One less argument is emitted. Vertex/PixelProgram sampleTexture function signature simplified. Change-Id: I7aef3eb100ccb51a8bd9d5fd600c73b4843d30d9 Reviewed-on: https://swiftshader-review.googlesource.com/5600Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Change-Id: Ia704d2c15f46effc534ae0c51fc82bf78be9428b Reviewed-on: https://swiftshader-review.googlesource.com/5620Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 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 1 commit
-
-
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>
-