- 21 Sep, 2016 1 commit
-
-
Alexis Hetu authored
Since the swiftshader libraries are loaded at runtime by chromium, the correct way to add swiftshader as a dependency is to use 'loadable_module' for mac and 'data_deps' for other platforms. BUG=31645700 Change-Id: Ic393a4132fbfc44e71247fc0294cca2cb57d35c8 Reviewed-on: https://swiftshader-review.googlesource.com/7217Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 16 Sep, 2016 3 commits
-
-
Alexis Hetu authored
Tying up loose ends from the new output formats project. One of the missing outputs was the RG8 format, which I added here. Change-Id: I865ad4c462e892dbc3a7820003b2390b54453ee9 Reviewed-on: https://swiftshader-review.googlesource.com/7171Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
There was a silly mistake in the code that I just found. Instead of being ordered (1,2,3,4), the 4 pixels being outputted were ordered (3,4,1,2), which was within the tolerance threshold for most of the image, but exhibited weird sparse diagonal lines of errors (values outside of threshold). Reordered the pixels properly to fix the issue. Change-Id: I082463d22e585e5ee98836a87ef60efca05e58f0 Reviewed-on: https://swiftshader-review.googlesource.com/7192Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug swiftshader:5 Change-Id: I6aec7237f2db6222702e828a2b9dae1a1a6ac9af Reviewed-on: https://swiftshader-review.googlesource.com/7191Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 15 Sep, 2016 3 commits
-
-
Alexis Hetu authored
The default alpha value for integer types is 1 and not the largest representable value for that type, as it was previously implemented. A value of 1 still means that the texture is opaque. This fixes ~60 fragment output tests. Change-Id: I96650fc8ba4812dcb8a2787979c6829f14f0960e Reviewed-on: https://swiftshader-review.googlesource.com/7190Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Change-Id: I5e8424e7150d1aaede8f5a23c34c7fb023959f0c Reviewed-on: https://swiftshader-review.googlesource.com/5790Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
For transform feedback, any vertex shader output can be read from and which outputs will be read by transform feedback buffers is not known at compile time. For that reason, any output being written to in the vertex shader code shouldn't be optimized out. Change-Id: Ia4322c43b7e3308ec5d930650e70aacf032dc6ec Reviewed-on: https://swiftshader-review.googlesource.com/5051Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 13 Sep, 2016 1 commit
-
-
Alexis Hetu authored
Fixed a few things in the BUILD.gn files: 1) Style guide mentions single entries should be on single lines 2) Changed "host_os == ..." for the is_... equivalent values 3) Added missing Mac libs and include dirs Change-Id: I28d35fd86a8cf9c9157a397370a385fe3e5e958b Reviewed-on: https://swiftshader-review.googlesource.com/7152Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 09 Sep, 2016 5 commits
-
-
Alexis Hetu authored
I've found no occurrence of warning 4530 being triggered and only 3 conversion warning 4244, so I fixed them and re-enabled them. Change-Id: I06647466a12faf57c866f88f9124041324fc2490
-
Nicolas Capens authored
BUG=swiftshader:3 Change-Id: I070059f3b4e9e431c7667b98017912b72d9d66a4 Reviewed-on: https://swiftshader-review.googlesource.com/6952Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
BUG=swiftshader:3 Change-Id: I114384fc0e25ee1f7874f726b85ef5bcaf01ed36 Reviewed-on: https://swiftshader-review.googlesource.com/6951Tested-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 alignment warnings were popping up on some windows bots. Rather than silencing them, I just fixed them. Change-Id: I21bc558e04498357c5d76a9caf9bd86f0a5cb540 Reviewed-on: https://swiftshader-review.googlesource.com/7131Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
There were only a handful of integer conversion warnings in libGLESv2, so I fixed them rather than silencing them. Change-Id: I94a7f2d4e4c34a48a8f128e6303778ef23ac45c9 Reviewed-on: https://swiftshader-review.googlesource.com/7132Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 08 Sep, 2016 1 commit
-
-
Nicolas Capens authored
Change-Id: I3e3207280ae4b7c66811c9ec11140ece2335112a Reviewed-on: https://swiftshader-review.googlesource.com/7092Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 07 Sep, 2016 1 commit
-
-
Nicolas Capens authored
Older Chrome branches still need the Register() function. Bug chromium:644329 Change-Id: I6b07aea6e069604f3e5d9e08c97c287df31c0dd6 Reviewed-on: https://swiftshader-review.googlesource.com/7090Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> (cherry picked from commit 95db80e4269db8ee31432590defa699d6dd36f6b) Reviewed-on: https://swiftshader-review.googlesource.com/7091Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 01 Sep, 2016 2 commits
-
-
Alexis Hetu authored
Windows clang requires that intrinsics be properly declared through intrin.h, otherwise, intrinsics were getting manually declared through a pragma instruction from winnt.h and clang returned an error. Change-Id: Iddfa4e3d6c76388e986dc445e40fd05359c2763c Reviewed-on: https://swiftshader-review.googlesource.com/7050Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Windows clang has no option to do anything similar to "-fno-operator-names", so it generates errors without any way to silence them. Renaming these functions is easy enough, so it was done here. Also removed the now useless flag from the code blocks project files. Change-Id: I9e25e25a72bf24567e3be928e07b187df87398bc Reviewed-on: https://swiftshader-review.googlesource.com/7051Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 31 Aug, 2016 1 commit
-
-
Alexis Hetu authored
Made Windows files work for Windows clang. Verified on Linux and Windows Visual Studio compiler to make sure nothing was broken. Change-Id: I82815491579cdfca602660279f6831c8820249f6 Reviewed-on: https://swiftshader-review.googlesource.com/7052Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Corentin Wallez <cwallez@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 22 Aug, 2016 2 commits
-
-
Nicolas Capens authored
Bug swiftshader:2 Change-Id: I43c55f948a0816cf062b9b2e9d158c9a52fafdbc Reviewed-on: https://swiftshader-review.googlesource.com/6930Reviewed-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 b/30838145 Change-Id: I06aeafa6e7a8aefbc1d4447a9d2607895d07a096 Reviewed-on: https://swiftshader-review.googlesource.com/6950Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 12 Aug, 2016 1 commit
-
-
Anthony Vallee-Dubois authored
This change also fixes a missing include for memcmp(). Bug 14642677 Change-Id: I4207d259b9d7b20e0cb35ded65bacd5c2d882087 Reviewed-on: https://swiftshader-review.googlesource.com/3884Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 11 Aug, 2016 2 commits
-
-
Chinmay Garde authored
Change-Id: I6b63d75ee2b18be92544227ff0162936f5a2328f Reviewed-on: https://swiftshader-review.googlesource.com/6910Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Chinmay Garde <chinmaygarde@google.com>
-
Nicolas Capens authored
Change-Id: I8b07e0a649abe5bc0580d8f2c8f43b0a398c5369 Reviewed-on: https://swiftshader-review.googlesource.com/6911Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 10 Aug, 2016 1 commit
-
-
Nicolas Capens authored
Bug 29540271 Change-Id: I0a5a63ad74339aec31e73b4a95c8978696e95782 Reviewed-on: https://swiftshader-review.googlesource.com/5670Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 04 Aug, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: I6efbb5b138d7fe1611c235c5062823a6386f9180 Reviewed-on: https://swiftshader-review.googlesource.com/5880Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
A couple of class members from PixelShader and VertexShader were still public. Fixed that in this cleanup. Change-Id: I2dfaac7fd4cecdc791f1ef7236148e74c4b5b486 Reviewed-on: https://swiftshader-review.googlesource.com/5850Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 02 Aug, 2016 1 commit
-
-
Alexis Hetu authored
GLES/egl.h was unused. EGL/egl.h is already used everywhere EGL is needed. Change-Id: I1b8a6fc72a8eb9b63edfad73f29be6f8b1d210c1 Reviewed-on: https://swiftshader-review.googlesource.com/5851Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 01 Aug, 2016 1 commit
-
-
Nicolas Capens authored
Change-Id: I7b97d153187a108ef2953c39db77af8a4de962e6 Reviewed-on: https://swiftshader-review.googlesource.com/5840Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 20 Jul, 2016 1 commit
-
-
Alexis Hetu authored
To avoid having a library name mismatch between the LIBRARY lines of the .def files and the output from the GN files, the output names were restored to libEGL and libGLESv2, but the output directories were changed to avoid clashing with the ANGLE libraries. Also removed the warning silencing that's no longer required. Change-Id: Ifa13d302ffa19acc04e46e4c772fa407a1c818bc Reviewed-on: https://swiftshader-review.googlesource.com/5810Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Corentin Wallez <cwallez@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 15 Jul, 2016 1 commit
-
-
Alexis Hetu authored
With this fix, SwiftShader libraries can successfully be built on Windows using Chromium's build system and produce fully functional libraries. Main issue was: the .rc files had not been included in the 'sources' section. Change-Id: Iec77f09c10af19828c52f10d01b405a7e352afab Reviewed-on: https://swiftshader-review.googlesource.com/5800Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Corentin Wallez <cwallez@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 07 Jul, 2016 1 commit
-
-
Alexis Hetu authored
- Now compiles for all combinations of "component"/"not component", debug/release on Linux/Windows - Cleaned up dependencies - Added some Windows specific flags Change-Id: I09c2eaec096ac7f73fdd5b9ab0d407fa29369b4c Reviewed-on: https://swiftshader-review.googlesource.com/5785Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
-
- 03 Jul, 2016 3 commits
-
-
Nicolas Capens authored
Change-Id: Iab20bde3fdf1fee5c6b47c748baae0266769e333 Reviewed-on: https://swiftshader-review.googlesource.com/5782Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I678f4c94d140bb5cd66569336b2813b8c7c0e075 Reviewed-on: https://swiftshader-review.googlesource.com/5781Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I1ec7075cbc53318a0e788672501519f302278298 Reviewed-on: https://swiftshader-review.googlesource.com/5780Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 01 Jul, 2016 1 commit
-
-
Michele Bissacco authored
Change-Id: Ic1748fefb6778a4eeab8a41f81803586025a60ee Signed-off-by:
Michele Bissacco <mirh@protonmail.ch> Reviewed-on: https://swiftshader-review.googlesource.com/5740Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 30 Jun, 2016 5 commits
-
-
Nicolas Capens authored
Change-Id: I09efd94974a520b790ab1d3fe9e8dc91295948f9 Reviewed-on: https://swiftshader-review.googlesource.com/5762Tested-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: Ifcfb673ed5f4c0eec0c24c829002aaf1b9870ad5 Reviewed-on: https://swiftshader-review.googlesource.com/5751Reviewed-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Bo Hu <bohu@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Meng-Lin Wu authored
Relevant dEQP tests: dEQP-GLES3.functional.fragment_out.basic.int.rg16i* dEQP-GLES3.functional.fragment_out.basic.uint.rg16ui* dEQP-GLES3.functional.fragment_out.basic.int.rgba16i* dEQP-GLES3.functional.fragment_out.basic.uint.rgba16ui* Change-Id: If57f6edb895c576f78cb4cdf6048c2063d884a6f Reviewed-on: https://swiftshader-review.googlesource.com/5651Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Meng-Lin Wu authored
Relevant dEQP tests: dEQP-GLES3.functional.fragment_out.basic.int.r8i* dEQP-GLES3.functional.fragment_out.basic.uint.r8ui* dEQP-GLES3.functional.fragment_out.basic.int.rg8i* dEQP-GLES3.functional.fragment_out.basic.uint.rg8ui* dEQP-GLES3.functional.fragment_out.basic.int.rgba8i* dEQP-GLES3.functional.fragment_out.basic.uint.rgba8ui* Change-Id: I2cfb79339830e2ae22ac902ce97b6c81559e0f53 Reviewed-on: https://swiftshader-review.googlesource.com/5630Tested-by:
Meng-Lin Wu <marleymoo@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Only casting from an integer (any size) to a pointer using reinterpret_cast<> is well-defined. Casting a pointer to an integer needs a large enough integer. Bug 29894961 Change-Id: I51cf6923f4feeaf1860ca0565aa7d40b61918e67 Reviewed-on: https://swiftshader-review.googlesource.com/5750Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-