- 05 Jan, 2016 1 commit
-
-
Nicolas Capens authored
Based on http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150202/257325.html and http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20121029/154639.html Change-Id: I098654245c06a975b8b0bc66e0feb5acea0e9c89 Reviewed-on: https://swiftshader-review.googlesource.com/4510Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 04 Jan, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: I5d9d8247fc847e987cbe7d62f7e8641ac4225f50 Reviewed-on: https://swiftshader-review.googlesource.com/4448Tested-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: I4cca0f1cf0cc2cd95502769d9653939d6999b8e1 Reviewed-on: https://swiftshader-review.googlesource.com/4507Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 31 Dec, 2015 4 commits
-
-
Nicolas Capens authored
Change-Id: I3983513f09f70b36ab506b3c405aa347df2f36b9 Reviewed-on: https://swiftshader-review.googlesource.com/4490Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I6dcaac900eaae54d2ec0265d656fdc9c38371b8a Reviewed-on: https://swiftshader-review.googlesource.com/4449Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 19979104 Change-Id: If9dd668b4b6a1d82b38d1840648cb578e80495bf Reviewed-on: https://swiftshader-review.googlesource.com/4302Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 25690690 Change-Id: If25a8868effb1e55908c4041555e553b52ee789a Reviewed-on: https://swiftshader-review.googlesource.com/4292Reviewed-by:
Keun Soo Yim <yim@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 23 Dec, 2015 8 commits
-
-
Nicolas Capens authored
Change-Id: I9acb04151fa5230f59304b357438fadd914a68ce Reviewed-on: https://swiftshader-review.googlesource.com/4450Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I7013a57ab7d6bc1916d0a87b72ae826409a34ee9 Reviewed-on: https://swiftshader-review.googlesource.com/4442Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Idbde45f1817ad9c9b3a4b526de78ecdf03e64d1f Reviewed-on: https://swiftshader-review.googlesource.com/4440Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I712b089c36e9c696c44a8d99a3d21819798a6142 Reviewed-on: https://swiftshader-review.googlesource.com/4430Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Corentin Wallez authored
Change-Id: I31fdb6a1e403831feb6040ea756f2c144ac79a5b Reviewed-on: https://swiftshader-review.googlesource.com/4383Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Corentin Wallez authored
Change-Id: I2f8511486ca3b040b257c2a763abb1bd0647d0e6 Reviewed-on: https://swiftshader-review.googlesource.com/4441Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Corentin Wallez authored
Change-Id: Iaef054314fb27632513397412ca9dc22b67a70ce Reviewed-on: https://swiftshader-review.googlesource.com/4380Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Corentin Wallez authored
Change-Id: I08d5d852322a75c8b3a0d6932f229da7022a82f1 Reviewed-on: https://swiftshader-review.googlesource.com/4379Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 21 Dec, 2015 4 commits
-
-
Corentin Wallez authored
Windows support is still WIP Change-Id: I5fd5bcda4fad754c0ce73698eddbe73e538f56df Reviewed-on: https://swiftshader-review.googlesource.com/4370Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 18314459 Change-Id: I63e56d626bd1838803d1de71b417b7e40242c5e9 Reviewed-on: https://swiftshader-review.googlesource.com/4390Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I7e4ceea2a45e8767881094de8b69b4d3aadab158 Reviewed-on: https://swiftshader-review.googlesource.com/4354Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: If1a8a581a63e801ec3855c554f10dabd67e8a4fd Reviewed-on: https://swiftshader-review.googlesource.com/4400Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 18 Dec, 2015 3 commits
-
-
Alexis Hetu authored
Added RGB10_A2 implementation in the Blitter and cases in related Surface utility functions. Change-Id: I2b1a9cdc1acc605085fb0f853741cc2f75bf1c9b Reviewed-on: https://swiftshader-review.googlesource.com/4420Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Currently, the magnification filter information is ignored by SwiftShader. In order to fix it, the 1st step is simply to make the sampler aware of this information. After this, a subsequent cl using the duvdxy computed in computeLod will choose which filter to use (if they are different). Change-Id: Idc8636c3d981c944815094f23e443725bed4cf27 Reviewed-on: https://swiftshader-review.googlesource.com/4382Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Format validations were failing if the exact same format wasn't used between different texture related calls to the same texture, even when the formats were equivalent, so I added a GetSizedInternalFormat function based on a format map (courtesy of Angle). The validation checks were also unified in utilities.cpp and used wherever texture formats were used, to make sure Image objects used in Texture objects always use the sized format, so that format comparisons work properly. Change-Id: I72fc8fb1b0f135ac679c274866e5b8e223541e7f Reviewed-on: https://swiftshader-review.googlesource.com/4082Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 17 Dec, 2015 1 commit
-
-
Alexis Hetu authored
Integer to integer types copy operations were failing due to a missing assignment when calling the Insert function and bad offsets on 16 and 32 bit component types. Change-Id: I2db55e9b6a284f8349e8fef0451255ee33be5837 Reviewed-on: https://swiftshader-review.googlesource.com/4410Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 15 Dec, 2015 3 commits
-
-
Alexis Hetu authored
Fixed a few mistakes in the stencil clearing code to fix both masking and scissoring. Also added a few variable in both the depth clearing code and stencil clearing code to make them more readable. Bug 25971463 Change-Id: If33e2b0685fd35ef2edd31c56aea088cfbf2b430 Reviewed-on: https://swiftshader-review.googlesource.com/4335Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Some types without alpha were not correctly setting the alpha value, so copying to a type with alpha was causing the image to not appear (due to it being almost completely transparent). Change-Id: Ib12c291bd5c51628e0579285731033372656f6a0 Reviewed-on: https://swiftshader-review.googlesource.com/4391Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
Alexis Hetu authored
The new extensions are: - GL_OES_framebuffer_object (with extra exports) - GL_OES_depth24 - GL_OES_depth32 - GL_EXT_color_buffer_half_float These were mostly supported already with the GLES3 related changes, so only a few minor changes were required. Change-Id: Iab6e94043cfdabb8ad74e526f44f7bd9d57c267f Reviewed-on: https://swiftshader-review.googlesource.com/4342Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
- 10 Dec, 2015 1 commit
-
-
Nicolas Capens authored
We need this to define the native EGL types for Apple. Change-Id: Iba492ea863fffd3649c8f7a3b7ca7453e12c3772 Reviewed-on: https://swiftshader-review.googlesource.com/4381Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Corentin Wallez <cwallez@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 09 Dec, 2015 2 commits
-
-
Alexis Hetu authored
- Implemented mipmap generation and completeness checks for Texture2DArray. - Fixed texture parameters setters and getters along with mipmap generation functions to use the proper 2D array texture instead of the 3D texture for 2D array textures. - Enabled the same path as 3D texture for 2D array textures in the sampler. - Added an address function for the w component, which simply clamps the rounded value for 2D array textures and adapted SamplerCore::computeIndices to this new behavior. Change-Id: Ida0659afac75330bfd9af4052cfd2625c729f9ef Reviewed-on: https://swiftshader-review.googlesource.com/4310Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I83294568a5725e95fcf2d7490336bead35517bdf Reviewed-on: https://swiftshader-review.googlesource.com/4362Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 08 Dec, 2015 3 commits
-
-
Alexis Hetu authored
Framebuffer completeness, usually verified through glCheckFramebufferStatus, should return GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE when the number of samples is not the same for all attached renderbuffers. Change-Id: I8d29895c6d4ded26847ce47fbd2581bbf06ed1bf Reviewed-on: https://swiftshader-review.googlesource.com/4363Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Fixed a few things related to FramebufferTextureLayer: - Added layer validation to make sure it does not exceed the size of the 3D texture's or 2D array's depth. - Fixed frambuffer target / texture target confusion. - Removed bad validation. - Fixed last 2 arguments of set[insert type]Buffer calls (layer and level) which were inverted. Change-Id: Ie1f2cb595d8b9abfee27bcf834c535f7e023e3ee Reviewed-on: https://swiftshader-review.googlesource.com/4343Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I2bd7c62b0923c855327fdb105eb22ef4655ea8ac Reviewed-on: https://swiftshader-review.googlesource.com/4344Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 07 Dec, 2015 1 commit
-
-
Greg Hartman authored
Change-Id: Ibb2ebd66116f3dfd0008217153006bd6c7a49b9e Reviewed-on: https://swiftshader-review.googlesource.com/4322Reviewed-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 04 Dec, 2015 3 commits
-
-
Nicolas Capens authored
Change-Id: If348bb5dd92c1160e57f1db15929a2e02d1f253d Reviewed-on: https://swiftshader-review.googlesource.com/4350Reviewed-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ief54422c0c0d82c773f96f4491bfebb7ee717ba8 Reviewed-on: https://swiftshader-review.googlesource.com/4351Reviewed-by:
Greg Hartman <ghartman@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-on: https://swiftshader-review.googlesource.com/4353Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I06da8a8e48f202d6625c6d6eb8569be3867da13c Reviewed-on: https://swiftshader-review.googlesource.com/4341Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-on: https://swiftshader-review.googlesource.com/4352
-
- 03 Dec, 2015 4 commits
-
-
Alexis Hetu authored
BindRenderbuffer doesn't require anything except a non-zero renderbuffer to create a new Renderbuffer object (it is not required to use GenRenderbuffers before using BindRenderbuffer). This had been fixed for GLES 3.0, but the same also applies to GLES 2.0, which has been fixed here. Note that the Context already handles the case where renderbuffer is zero properly. Bug 25983901 Change-Id: I75f706fc56df28871bf60b5645f1c0db039fccb8 Reviewed-on: https://swiftshader-review.googlesource.com/4334Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
- Removed unused variables - Fixed member initialization order in a few classes - Fixed Surface::setSwapBehavior() - Removed unused mPixelPackingStateDirty members - Fixed initialization of "size" member in LinkedVarying class - Fixed constness of a string - Removed unused static functions - Added parenthesis to fix && / || order ambiguity Change-Id: Ia9ad8eaca335c60871fdc58037e441aa2010a641 Reviewed-on: https://swiftshader-review.googlesource.com/4301Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
A few minor fixes: - In FramebufferRenderbuffer, if renderbuffer isn't 0, it must be a valid object. - In FramebufferTexture2D, I moved the isCompressed check AFTER the textarget validation, to avoid using an invalid textarget. - In GetFramebufferAttachmentParameteriv, not using GL_BACK, GL_DEPTH or GL_STENCIL for the default framebuffer should produce GL_INVALID_ENUM instead of GL_INVALID_OPERATION. - In GetFramebufferAttachmentParameteriv, when attachmentObjectType is GL_NONE, in ES3, the query for GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME should return 0. Change-Id: I913cadd5961fa473b54ddfe174772bb7270dfdc5 Reviewed-on: https://swiftshader-review.googlesource.com/4333Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Since the new headers have been committed, a larger amount of color attachments enums can be supported. Added the new enums where appropriate. Change-Id: Idd7210fbeaeb7828ca6c094bed115addd90b497c Reviewed-on: https://swiftshader-review.googlesource.com/4332Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-