- 13 Sep, 2018 1 commit
-
-
Alexis Hetu authored
dEQP using SwiftShader with LLVM 7.0 has a number of failures. Most of them were cause either by using unsafe floating point math or by a "__chkstk not found" error. Change-Id: I16f14b3aee6f24717ec90ce2ea5bae8b4439620a
-
- 12 Sep, 2018 2 commits
-
-
Shannon Woods authored
Change-Id: Ia4b0f5b7911ddc1f425430e2f6b2e2a7c80fb684 Reviewed-on: https://swiftshader-review.googlesource.com/20668Tested-by:
Shannon Woods <shannonwoods@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
These were created by creating a Visual Studio solution for LLVM itself and building it so it generates include\llvm\Config files. Bug b/115344057 Change-Id: I22c93d63395fa27b8d8515d65c6bf4e09b3c16bb Reviewed-on: https://swiftshader-review.googlesource.com/20608Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 11 Sep, 2018 14 commits
-
-
Stephen Lanham authored
Bug: b/114402930 Change-Id: Id7eedc6b01f40d24188d514755d5c89689b24abb Reviewed-on: https://swiftshader-review.googlesource.com/20568Tested-by:
Stephen Lanham <slan@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: Ic1ae2c2872cc9f270557a6d4b701f870f82bd3cf Reviewed-on: https://swiftshader-review.googlesource.com/20479Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Logan Chien <loganchien@google.com>
-
Logan Chien authored
Change-Id: Id4209bfe44d9040e36fe4ea654197211aa1c7ead Reviewed-on: https://swiftshader-review.googlesource.com/20478Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: Id5ae40d4b072c57cac1a8e6e7767d3ca03deebe1 Reviewed-on: https://swiftshader-review.googlesource.com/20477Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
This commit fills in the unimplemented non-x86 (generic) code generator. Change-Id: I189b0ea523ecd9b18c29ad6ed6fa3f798382295b Reviewed-on: https://swiftshader-review.googlesource.com/20476Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: I89601ef9e42e56cfaeb1cd5ece4daa3f32b39950 Reviewed-on: https://swiftshader-review.googlesource.com/20475Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: Icbacb2f63402b1d1c42fc4287b50ed0a3010cd4d Reviewed-on: https://swiftshader-review.googlesource.com/20474Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: Ic67a43f5090c5004324ab300ce799c1206f3c4e3 Reviewed-on: https://swiftshader-review.googlesource.com/20473Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: I80b675f939f7eae95ad2fa637e77fc8d988bed3a Reviewed-on: https://swiftshader-review.googlesource.com/20472Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: Ie944a14c1d4ae30d7e30f84408c598c9e021ea66 Reviewed-on: https://swiftshader-review.googlesource.com/20471Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
Change-Id: I239c906851412a667d2ab241eb20d8045baffb8f Reviewed-on: https://swiftshader-review.googlesource.com/20470Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
This commit removes `sw::Value`, `sw::BasicBlock`, and `sw::SwitchCases`. In LLVM 7.0, `llvm::Value`, `llvm::BasicBlock`, and `llvm::SwitchCases` become final classes, thus we cannot derive from those classes. Fortunately, we don't have to derive from them. We can explicitly cast the pointers instead. Change-Id: I2dc74485ebf4b399f8a41bb8fa94b7d8d299009e Reviewed-on: https://swiftshader-review.googlesource.com/20469Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Logan Chien authored
This commit removes stale LLVM include path in D3D8.vcxproj and it seems that D3D8 does not rely on this include path. Change-Id: Ieea962ccede9174ef190e1023722f65382cd6ce3 Reviewed-on: https://swiftshader-review.googlesource.com/20468Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
Bug swiftshader:116 Change-Id: I34a86262817a7892c8e717d76fe30adf492d99d9 Reviewed-on: https://swiftshader-review.googlesource.com/20528Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 07 Sep, 2018 2 commits
-
-
Alexis Hetu authored
A texture's base level can be any positive integer, but SwiftShader stores texture levels in a array that has an implementation dependent size (IMPLEMENTATION_MAX_TEXTURE_LEVELS). To avoid accessing this array out of bounds, a class was added to make sure all accesses to the array are done within its bounds. Change-Id: I9b439018f209a47371bd2959ba847345326964dd Reviewed-on: https://swiftshader-review.googlesource.com/20488Tested-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
When a sampler object is bound to a texture unit, it overrides the texture's filter modes. A texture without mipmaps can thus be complete even if it has a filter mode which requires mipmaps, if there's a sampler object with a filter mode which doesn't require mipmaps. Fixes https://github.com/google/filament/pull/220 Change-Id: I200c0bba467d904ac0fd6d93b935e052c47b2030 Reviewed-on: https://swiftshader-review.googlesource.com/20529Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Chris Forbes <chrisforbes@google.com> Reviewed-by:
Jeff McGlynn <jwmcglynn@google.com> Tested-by:
Jeff McGlynn <jwmcglynn@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
- 06 Sep, 2018 3 commits
-
-
Nicolas Capens authored
On Linux this enables using named memory maps to assist profiling. Change-Id: I96c36cf7b892237f4f7ed921d01f33454a9398f0 Reviewed-on: https://swiftshader-review.googlesource.com/20508Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
Chris Forbes authored
Add resource manager lock, and ContextPtr to automatically take it Affects: Everything, dEQP-EGL.functional.sharing.gles2.multithread.* Bug: b/112184433 Change-Id: Ifdc5b18c738f92bbab08217f672a8ed6093e1672 Reviewed-on: https://swiftshader-review.googlesource.com/20388Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
Chris Forbes authored
When multiple instances of the same attribute are provided, CTS expects the last instance to win. Achieve this by: 1/ Reducing the attribute list in getConfigs() 2/ Adjusting the sort order's consideration of which color components are "required" to allow a later 0 or EGL_DONT_CARE to remove a component from consideration again. Affects: dEQP-EGL.functional.choose_config.* Bug: b/113679786 V2: Fix up the alignment I broke V4: Style fix Change-Id: If9375c9dc5aaadb0ee7b77ecf1e1098c82fa30ca Reviewed-on: https://swiftshader-review.googlesource.com/20448Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
- 05 Sep, 2018 5 commits
-
-
Nicolas Capens authored
Bug swiftshader:104 Change-Id: Ifcdffd3f960d7bb4982495381465da15ef671c3f Reviewed-on: https://swiftshader-review.googlesource.com/18429Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
We can't sample from buffers with linear layout. Bug swiftshader:104 Change-Id: I622786e9dac8faafeb7ef1745f02587bf43d67bd Reviewed-on: https://swiftshader-review.googlesource.com/18168Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
Bug swiftshader:104 Change-Id: I9fcea0c76875de735c3bad0a5c587875d0ca4e26 Reviewed-on: https://swiftshader-review.googlesource.com/18089Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Lingfeng Yang <lfy@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
Bug swiftshader:104 Change-Id: I2e5ab18f400035ec3f2125fb001643ca1125c565 Reviewed-on: https://swiftshader-review.googlesource.com/18148Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
Nicolas Capens authored
This enables binding any texture mipmap level as a framebuffer attachment. Bug swiftshader:104 Change-Id: I3d4ea637ddd38bb62ca1363fe2c69c569eea36e9 Reviewed-on: https://swiftshader-review.googlesource.com/18008Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Lingfeng Yang <lfy@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
- 31 Aug, 2018 2 commits
-
-
Nicolas Capens authored
Also automatically download git submodules with CMake. Change-Id: I3da095f49d0a9c577ea5dbb50d3db951417f4755 Reviewed-on: https://swiftshader-review.googlesource.com/20088Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Chris Forbes <chrisforbes@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
Chris Forbes authored
We were comparing a pre-promotion version with the post-promotion version stored in the share context. This doesn't work. Affects: dEQP-EGL.functional.sharing.* Change-Id: I02c14681b7743c6aaef4404291ac52a48890832c Reviewed-on: https://swiftshader-review.googlesource.com/20368Tested-by:
Chris Forbes <chrisforbes@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
- 30 Aug, 2018 3 commits
-
-
Greg Hartman authored
BUG: 113551166 Change-Id: I0646638710abfc84707ca42faea10f94c87c1f4b Test: oc and pi build and boot Reviewed-on: https://swiftshader-review.googlesource.com/20329Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Greg Hartman <ghartman@google.com>
-
Greg Hartman authored
BUG: 77218110 Change-Id: Iddaacc2d5fb826ad8b38b46cc9e7ef406b2cd01b Test: oc and pi builds with I0646638710abfc84707ca42faea10f94c87c1f4b Reviewed-on: https://swiftshader-review.googlesource.com/20328Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Greg Hartman <ghartman@google.com>
-
Alexis Hetu authored
These vulkan headers are copied directly from their repo: https://github.com/KhronosGroup/Vulkan-Headers commit db09f95ac00e44149f3894bf82c918e58277cfdb Version 1.1.83 Apache License 2.0 Change-Id: I593b6267dd35092fc9be243ac5209d47103c9a9d Reviewed-on: https://swiftshader-review.googlesource.com/20348Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
- 29 Aug, 2018 3 commits
-
-
Alistair Strachan authored
This makes it possible to build swiftshader for the host. The target build also works but it has been disabled. Change-Id: I8aecf931f4ebf72c06d4e3423e2eafea6bfa7f6c Reviewed-on: https://swiftshader-review.googlesource.com/17988Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Alistair Strachan <astrachan@google.com>
-
Alistair Strachan authored
These host versions will be used by a future change to enable the build of SwiftShader on the host, using Android extensions, without needing to pull in non-host-ported parts of the Android framework. These headers are derived from the framework versions, but modified slightly to minimize their dependency on other headers, and to reduce code size. If a feature is introduced in the platform that SwiftShader needs, it will need to be added to these headers (however, even if these headers were copies, they would still need to be updated.) Change-Id: I51bf7a01fd782f724d98ff05930117ecacdcefb4 Reviewed-on: https://swiftshader-review.googlesource.com/18030Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Alistair Strachan <astrachan@google.com>
-
Alistair Strachan authored
Avoid using the Android logger directly. Instead, use the Common/Debug and OpenGL/common/debug paths instead, which abstracts away use of the logger. Add ANDRIOD_HOST_BUILD to tell the build we are building an Android swiftshader, but minimizing the use of platform features such as the logger. Change-Id: Ic6c70843d947c568d0e29fe66c55af74b8559a59 Reviewed-on: https://swiftshader-review.googlesource.com/18028Tested-by:
Alistair Strachan <astrachan@google.com> Reviewed-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Lingfeng Yang <lfy@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
- 18 Aug, 2018 1 commit
-
-
Nicolas Capens authored
Fixes Visual Studio build issues. Bug swiftshader:115 Change-Id: Ibd09f4de84a115ed1b264b36985d2d4f31fb3a97 Reviewed-on: https://swiftshader-review.googlesource.com/20269Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 14 Aug, 2018 1 commit
-
-
Nicolas Capens authored
On some platforms, nested braces are required for nested initializers, or a warning will be produced which is treated as an error. Change-Id: I4806ee13869bfe5c5c41505552cd03ff6bdde85e Reviewed-on: https://swiftshader-review.googlesource.com/20248Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 13 Aug, 2018 1 commit
-
-
Nicolas Capens authored
When a vertex attribute has a GLSL layout location qualifier, it takes precedence over the binding location provided through the glBindAttribLocation API call. OpenGL ES 3.0.5 spec: "If an active attribute has a binding explicitly set within the shader text and a different binding assigned by BindAttribLocation, the assignment in the shader text is used." Change-Id: If0bc0dc01a8ff6189703f2be26f1938fbff5f5ae Reviewed-on: https://swiftshader-review.googlesource.com/20168Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 10 Aug, 2018 2 commits
-
-
Alexis Hetu authored
Reverted the portion of the following cl which broke the build: https://swiftshader-review.googlesource.com/c/SwiftShader/+/15909 Change-Id: I4a0e7ef5507dd5502861ccf34c400f1feb54b0cc Reviewed-on: https://swiftshader-review.googlesource.com/20228Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
Alexis Hetu authored
This cl contains the necessary config and build changes to make SwiftShader work on Fuchsia x64. Passes all tests in content_unittests. Bug: chromium:739182 Change-Id: I7df44bd6b12b2560f18e4375f16ada3850f1d8a5 Reviewed-on: https://swiftshader-review.googlesource.com/20208Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-