- 13 Oct, 2016 1 commit
-
-
Nicolas Capens authored
It caused building Subzero individually to fail. Instead I've added a header which will get included when the submodule is not present and generates an error. The LLVM dependencies were split off into a separate project to make this work. This reverts commit d5d886eb. Change-Id: Ie80a02e20ac67d6a4e0984e1fbab84b880a03469 Reviewed-on: https://swiftshader-review.googlesource.com/7611Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 06 Oct, 2016 2 commits
-
-
Alexis Hetu authored
Removed Visual Studio compilation of Subzero and related tests from the SwiftShader solution so that building the Solution no longer attempts to build Subzero, which currently doesn't build in Visual Studio. Change-Id: Icde9f9ceb90b46681ce8d6019c8151317f84ad17 Reviewed-on: https://swiftshader-review.googlesource.com/7491Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
Alexis Hetu authored
Two minor features are required for the blitFramebuffer implementation in OpenGL ES 3: - lockStencil with x,y coordinates - getting the stencil format (new getStencilFormat function) Change-Id: I83ccccefe70dbbedd05b5d82bc75d30f689c4abe Reviewed-on: https://swiftshader-review.googlesource.com/7490Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 05 Oct, 2016 7 commits
-
-
Nicolas Capens authored
Bug swiftshader:15 Change-Id: I6cfb3218a9962ca9fe271e9595ecf56aaca6375d Reviewed-on: https://swiftshader-review.googlesource.com/7398Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:15 Change-Id: Iaa626705220e4bd9b3c744c7623f8b204022b716 Reviewed-on: https://swiftshader-review.googlesource.com/7397Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:15 Change-Id: I81f88999e183ce3617d923249335ff02d6a9f1b1 Reviewed-on: https://swiftshader-review.googlesource.com/7396Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Subzero does not know the element types of vectors, so pass it as an argument. Also deprecate createSwizzle() and createMask() from Nucleus since we only need Float4 Swizzle(). Bug swiftshader:15 Change-Id: I38b630f48f8f43e1248338d564a7406d7c8cd5ef Reviewed-on: https://swiftshader-review.googlesource.com/7395Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:11 Change-Id: I50bb9c6bf7bbe21630bd5f1eb5e0aa0aeb06fdb3 Reviewed-on: https://swiftshader-review.googlesource.com/7393Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:6 Change-Id: I12e1c109c5954ef65ea00750c2d5b027c0c7765a Reviewed-on: https://swiftshader-review.googlesource.com/7394Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Unlike LLVM, Subzero does not store the type of value a pointer references as part of the pointer's type information. So add a type argument to createGEP(). Also add the type to createStore(), to enable smaller types to be emulated by larger ones. Bug swiftshader:11 Change-Id: I08173dd0ba07362d2b27baff4a8fba0ecce093d2 Reviewed-on: https://swiftshader-review.googlesource.com/7392Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 30 Sep, 2016 1 commit
-
-
Nicolas Capens authored
Change-Id: I43c782a244996aac7bbafd9cb857a3063a68b5a1 Reviewed-on: https://swiftshader-review.googlesource.com/7391Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 29 Sep, 2016 12 commits
-
-
Nicolas Capens authored
Bug swiftshader:6 Change-Id: Ib60cdecf28027687271d2456c6aae79065fb9804 Reviewed-on: https://swiftshader-review.googlesource.com/7364Reviewed-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 swiftshader:13 Change-Id: I054d0521ecbb1959c5c19b6fa54f76707f4e49c9 Reviewed-on: https://swiftshader-review.googlesource.com/7358Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Subzero has unrelated types for constants and variables. Both are operands to instructions, but we can't express this relationship at the Nucleus level. We'd require a large number of Value to Operand conversions. Instead, an Assign instruction is provided to convert a Constant into a Value. Bug swiftshader:12 Change-Id: Ie35a2cea3e485c4012ed949f92825a41caca3367 Reviewed-on: https://swiftshader-review.googlesource.com/7370Tested-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 avoids having to store the type as a member field. Bug swiftshader:12 Change-Id: I53ea4869a5b590027217d1e9cc015c0502ab530f Reviewed-on: https://swiftshader-review.googlesource.com/7361Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
This refactoring paves the way for the next patch to support constructing RValues from Constant pointers as well. Bug swiftshader:12 Change-Id: I26df3da13314de556dc1af40388278d144560b97 Reviewed-on: https://swiftshader-review.googlesource.com/7371Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
"filter" option was ignored. Simply added the argument to the context function to fix the issue. Change-Id: I108c4128bbc4f319091f082df96e056057f926fe Reviewed-on: https://swiftshader-review.googlesource.com/7363Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
When x was flipped, the entire row would be copied in the reverse byte order, which was wrong for any type with pixels larger than 1 byte. Now the full pixels are copied in the reverse order instead of the bytes, so pixels are no longer byte flipped. Change-Id: Ie0e0516546a49d0f890a4abe24d44ccb3ffb2350 Reviewed-on: https://swiftshader-review.googlesource.com/7362Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The code was not allowing to unset a sampler object from a texture, so the faulty condition was removed to fix the issue. Fixes 30 tests in: dEQP.functional.samplers.* Change-Id: Ibbc3389d3d6135db7bc5a2f87f0df5527b78c7fd Reviewed-on: https://swiftshader-review.googlesource.com/7360Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:11 Change-Id: I794ef54a7c2ecde71ee6344c63955d2f838ff189 Reviewed-on: https://swiftshader-review.googlesource.com/7331Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:6 Change-Id: I1de2fe8983c7b8d29e0295e5b4705697e5dd6df1 Reviewed-on: https://swiftshader-review.googlesource.com/7292Tested-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: I5ab054a5622c9f9dee099f5a3a30c3bb4079ffeb Reviewed-on: https://swiftshader-review.googlesource.com/7291Tested-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: I7eb124ce596d2c7e2419a01a995ea6fa871c8a88 Reviewed-on: https://swiftshader-review.googlesource.com/7290Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 28 Sep, 2016 17 commits
-
-
Nicolas Capens authored
All LLVM instructions are LLVM values, but in the case of terminator instructions their value is meaningless, and we don't use them. Bug swiftshader:10 Change-Id: I9eb71e1dcea2614cb810021dfbf3c8908a7e2510 Reviewed-on: https://swiftshader-review.googlesource.com/7355Tested-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 removes all Common headers from Reactor headers, making it easier to use Reactor outside of SwiftShader. Bug swiftshader:10 Change-Id: I35c5d138e781d4e911d206954d38e392714d4659 Reviewed-on: https://swiftshader-review.googlesource.com/7330Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: I258fc7d66988c5bb9a20f98ac33e87ae26379855 Reviewed-on: https://swiftshader-review.googlesource.com/7280Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Just a refactoring, to make it clearer that Reactor types are the higher level abstraction, with Nucleus the intermediate interface. Bug swiftshader:10 Change-Id: I87d8a03cd05d7847511692c5ac9862e77d670801 Reviewed-on: https://swiftshader-review.googlesource.com/7279Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: I29b1de8c1adb67449a380c307d12e2aea21f32cc Reviewed-on: https://swiftshader-review.googlesource.com/7251Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
It has bitrotted and should be reimplemented with support from the Reactor back-end if needed again. Bug swiftshader:10 Change-Id: Ie926903ccd8117e91b9d13bf031a7b88287e7276 Reviewed-on: https://swiftshader-review.googlesource.com/7250Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
It's only used for creating intrinsics calls, which is an implementation detail. Bug swiftshader:10 Change-Id: Ieac1303e08571e265e239e74c6ea84ece99b53e1 Reviewed-on: https://swiftshader-review.googlesource.com/7278Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: Ide80a6d97f67ae04d9118307984235f8f4c2e3ad Reviewed-on: https://swiftshader-review.googlesource.com/7277Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: Iaed1c9a078b82516db67fe0de287e7ea0362dc03 Reviewed-on: https://swiftshader-review.googlesource.com/7276Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: Ib45d459aa4f68e572b1deaa03e0aaf83002b7881 Reviewed-on: https://swiftshader-review.googlesource.com/7275Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: I86b80cb03ff48ff7273aaf23a8e4995b3436f825 Reviewed-on: https://swiftshader-review.googlesource.com/7274Tested-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 only llvm::Constant in the interface instead. Bug swiftshader:10 Change-Id: Ideb2ed1ee083e4e6896c4bc8e8830ea02972b487 Reviewed-on: https://swiftshader-review.googlesource.com/7273Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: I69105d8287e52f0f0573c45c59958994a56fc0af Reviewed-on: https://swiftshader-review.googlesource.com/7214Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:10 Change-Id: I24fc66248bd2f66d2e8bc2b2a15e6c8fadc47efb Reviewed-on: https://swiftshader-review.googlesource.com/7213Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
"false" could not be converted to a pointer type. Changed it to nullptr. Also changed a few other "return 0" to "return nullptr". Change-Id: Idd4573d4627bb89f1b79e3b21de5af5bd6063916 Reviewed-on: https://swiftshader-review.googlesource.com/7357Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
Alexis Hetu authored
Fixed first class array constructors by allowing basic type arrays and structure arrays to be handled properly for the EOpConstruct* operations. This fixes all dEQP.functional.shaders.arrays.* tests. Change-Id: I4fe99ec5256abf6483d3595890ba9c426abc97f8 Reviewed-on: https://swiftshader-review.googlesource.com/7351Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
There was an ambiguous type warning between Float4 and RValue<Float4>. Change-Id: I526fc2430a66b8545e81fe5ae97fb423e7f01aec Reviewed-on: https://swiftshader-review.googlesource.com/7356Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-