- 21 Sep, 2018 5 commits
-
-
Chris Forbes authored
Bug: b/116263076 Change-Id: Id8657fdefb988827f0d78556884c4f55eb096ca3 Reviewed-on: https://swiftshader-review.googlesource.com/20808Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
Chris Forbes authored
As mentioned in the patch itself, this is fairly benign, but still junk that a later pass has to be able to eliminate. Is easier to just not produce it in the first place. Bug: b/116263076 Change-Id: I199672bb9b53eb4ee9d4a8e3a23fc2ce42f0dec6 Reviewed-on: https://swiftshader-review.googlesource.com/20770Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
Chris Forbes authored
Matrix is laid out in column-major order, so the stride between elements on the main diagonal is #rows + 1, not #columns + 1. Bug: b/116263076 Change-Id: I00994b663bc4229e24f8ae1b7fa518caa0e7ea71 Reviewed-on: https://swiftshader-review.googlesource.com/20768Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
Chris Forbes authored
Cleans up some noise that appears in dumps of pretty much every GLSL shader. Change-Id: I602a6356110803e30fcd8ba9818e56efa70bf5d6 Reviewed-on: https://swiftshader-review.googlesource.com/20769Tested-by:
Chris Forbes <chrisforbes@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
Chris Forbes authored
Khronos test CL: https://gerrit.khronos.org/#/c/2944/ Bug: b/116259485 Change-Id: Ie10b3eb16da39f332966a5b957acb0232140a942 Reviewed-on: https://swiftshader-review.googlesource.com/20748Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Chris Forbes <chrisforbes@google.com>
-
- 20 Sep, 2018 1 commit
-
-
Logan Chien authored
This commit replaces use_subzero with SWIFTSHADER_USE_SUBZERO and unsupported_build with SWIFTSHADER_UNSUPPORTED_BUILD in Android.mk so that it can be consistent with other variables. Change-Id: Ia22cc88bc5804d7d2bea942bbceb2fc30c88aa18 Reviewed-on: https://swiftshader-review.googlesource.com/20588Tested-by:
Logan Chien <loganchien@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
-
- 14 Sep, 2018 1 commit
-
-
Alexis Hetu authored
Made sure both LLVM and Subzero has the /src directory in their include directory list. Removed unused ../ in front of "Common" includes as a cleanup. Change-Id: Ib4a6fb772fa03a9a3cad82594db1b1650007e47f Reviewed-on: https://swiftshader-review.googlesource.com/20728Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
- 13 Sep, 2018 2 commits
-
-
Nicolas Capens authored
Failures in dEQP using SwiftShader with LLVM 7.0 were caused by unsafe floating point math optimizations, which are more aggressive than with LLVM 3.0. Bug b/115344057 Change-Id: Idf564d0193efba37cd1192a188b18a5f8b4ed4f7 Reviewed-on: https://swiftshader-review.googlesource.com/20708Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Shannon Woods <shannonwoods@google.com>
-
Nicolas Capens authored
LLVM fails to resolve the __chkstck function for probing the stack when it's larger than 4 kB. We don't need it for SwiftShader because newly created threads have 1 MB of committed stack memory. Bug b/115344057 Bug swiftshader:25 Change-Id: Ic6097376052b07ed6af950dfdac8499b5fc83053 Reviewed-on: https://swiftshader-review.googlesource.com/20688Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
-
- 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>
-