- 07 Mar, 2016 1 commit
-
-
Daniel Kenji Toyama authored
Bug 27227050 Change-Id: Id8b6357f25888801dec9bbedc5855faa58def62d Reviewed-on: https://swiftshader-review.googlesource.com/4920Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Daniel Toyama <kenjitoyama@google.com>
-
- 02 Mar, 2016 1 commit
-
-
Alexis Hetu authored
Bug 27454381 Change-Id: Ie59adfa5e5faf08a09427c993775e7d2892d311b Reviewed-on: https://swiftshader-review.googlesource.com/4913Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 01 Mar, 2016 2 commits
-
-
Nicolas Capens authored
Change-Id: I1eb8764c622ffd99a5937fe539bf78dc01d77f23 Reviewed-on: https://swiftshader-review.googlesource.com/4911Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Only the 1st sample's buffer of multisampled buffers was getting cleared instead of clearing all the samples' buffers, which led to incorrect results. Added a loop to fix the behavior. Change-Id: If22ebf2df61ae6afbc4c2975a9baee3c18a2492b Reviewed-on: https://swiftshader-review.googlesource.com/4910Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 26 Feb, 2016 2 commits
-
-
Nicolas Capens authored
Intel's reciprocal approximation instruction is not exact for power-of-two values. It provides 12 bits of mantissa precision and keeps a balance between positive and negative errors, but the reciprocal of 2^x is not 2^-x. This affects conformance tests which expect varyings not to be affected by the perspective division. Correct for this by multiplying by the inverse. Bug 27165393 Change-Id: Ie52ec511a14a4f447adc47ce9c875bbad03cd274 Reviewed-on: https://swiftshader-review.googlesource.com/4903Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Ported some changes from Angle. Added 4 new functions to ParserHelper to remove some code from glslang.y. Added some extra checks regarding qualifiers and precision. Change-Id: I2856a764749bef0df500891eb4c003211e634673 Reviewed-on: https://swiftshader-review.googlesource.com/4900Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 25 Feb, 2016 2 commits
-
-
Nicolas Capens authored
Bug 27351438 Change-Id: If15f0f91931f34af6e78ad773036b91ff5d57d01 Reviewed-on: https://swiftshader-review.googlesource.com/4902Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
FenceSync objects are ref counted objects, so the are deleted using the release() method. This means that they need to be refed at creation (since we only store the pointer inside the map), otherwise we'll hit the assert at deletion. FenceSync objects are currently only ever refed once (at creation) and unrefed once (at deletion), but are not fully implemented yet. Change-Id: Ie693ace8895b6140ae96f9325d5c48951c7e9730 Reviewed-on: https://swiftshader-review.googlesource.com/4901Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Alexis Hétu <sugoi@google.com>
-
- 24 Feb, 2016 2 commits
-
-
Greg Hartman authored
Change-Id: I827b663c9e3018162b192f267fc038ada4b5ac36 Reviewed-on: https://swiftshader-review.googlesource.com/4879Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 22373253 Change-Id: Iaa30a341e5eaa58c2ef531fce503631828c5ee9d Reviewed-on: https://swiftshader-review.googlesource.com/4757Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 23 Feb, 2016 1 commit
-
-
Alexis Hetu authored
Added missing .c_str() to convert the string object into a character string. Change-Id: I3810f67a2462f7717fdec61679e09a191b043adf Reviewed-on: https://swiftshader-review.googlesource.com/4878Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 22 Feb, 2016 1 commit
-
-
Alexis Hetu authored
Previously, it was allowed for multiple attributes to share a location or overlap, but in ES3.0, it should cause a linking error. Passes WebGL conformance tests. Change-Id: I1c65b0cb31a04680a25ac54d20f6ee0d869251b9 Reviewed-on: https://swiftshader-review.googlesource.com/4877Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 18 Feb, 2016 4 commits
-
-
Alexis Hetu authored
In OpenGL ES 3.0, the default framebuffer should use GL_FRAMEBUFFER_DEFAULT instead of GL_RENDERBUFFER for default buffer. I also added the Framebuffer::IsRenderbuffer() utility function to make the transition easier. Change-Id: I041e610738a4a656555ae7fa7ba41ba68b1fe9ea Reviewed-on: https://swiftshader-review.googlesource.com/4763Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Unified and fixed packing and unpacking computations. Change-Id: I1ea2bcf28945a9f105152a6836f11bcb2859750c Reviewed-on: https://swiftshader-review.googlesource.com/4715Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The original code allowed Renderbuffer objects to select layer and level at construction time, but after that point these parameters were not modifiable. This cl adds the code to modify layer and/or level when requested. Change-Id: Ic694904f83b794879110bd0505a36a011d79a2a5 Reviewed-on: https://swiftshader-review.googlesource.com/4765Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The 2D Array texture binding query was stll using TEXTURE_3D instead of using TEXTURE_2D_ARRAY. Change-Id: Ib55007995c336e72aaae7fd62918f232a5c1c3fc Reviewed-on: https://swiftshader-review.googlesource.com/4744Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 17 Feb, 2016 2 commits
-
-
Alexis Hetu authored
A few numbers didn't match between the default value entered in Context.cpp and the constants from Config.hpp. A few default values were also erroneously larger than required. Constants were centralized in Config.hpp to solve the issue. Change-Id: I60e5d93c43ce61e125c261bdf07ce50e7130a296 Reviewed-on: https://swiftshader-review.googlesource.com/4742Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 27166315 Change-Id: Ia9774e6560b326ca963830c53e030487c239164a Reviewed-on: https://swiftshader-review.googlesource.com/4770Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 12 Feb, 2016 1 commit
-
-
Nicolas Capens authored
Bug 27157109 Change-Id: Ie477455d0b59a8432224f3956e2ba7a1140182af Reviewed-on: https://swiftshader-review.googlesource.com/4767Reviewed-by:
Greg Hartman <ghartman@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 10 Feb, 2016 15 commits
-
-
Alexis Hetu authored
- Quite a few buffers weren't being checked properly when a buffer was getting detached from the current context. - Only current objects (TransformFeedback, VertexArray) should be affected by this. Change-Id: I621c9fa45a951db5634616884cf57d5cb21d9bda Reviewed-on: https://swiftshader-review.googlesource.com/4748Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
As long as there's no floating point arithmetic, 32 bit integer types are computationally equivalent to 32 bit floating point. Change-Id: I5ab19da440f52617a9bc64dff6fcaf8eff796aeb Reviewed-on: https://swiftshader-review.googlesource.com/4717Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Mask queries could return negative values when only positive values are accepted, so a clamp was added to prevent returning negative values. Change-Id: Ib151573fff54604567b83736163b8fe748c749f8 Reviewed-on: https://swiftshader-review.googlesource.com/4743Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Added immutable levels info to Texture and added the query. Change-Id: I900a3c433dcc63b8113b1f623da3518c00680e16 Reviewed-on: https://swiftshader-review.googlesource.com/4751Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Specifying a read buffer or draw buffers was set on the context instead of being set on the Framebuffer object, which led to multiple Framebuffer objects wrongly sharing this state. Change-Id: I9d137c52f50e58a48b95f7ed9a44b4dad275e710 Reviewed-on: https://swiftshader-review.googlesource.com/4745Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Added missing implementations for binding/start/size related queries for TransformFeedback objects. Change-Id: Iebfebdc840764755a74d4a3753f72eceb1e6c86e Reviewed-on: https://swiftshader-review.googlesource.com/4747Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Implemented version query and removed a few unnecessary UNIMPLEMENTED) calls. Change-Id: I29bb53a8f8083a1b6fb091916dd156f47aac920c Reviewed-on: https://swiftshader-review.googlesource.com/4754Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Sampler objects already exist, only the query was missing. Change-Id: Iea4a65ee4af149a33b262eba4fc0d6256775d1e1 Reviewed-on: https://swiftshader-review.googlesource.com/4746Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Removed a few unnecessary/bad instructions from PixelProgram and VertexProgram. Also added the proper implementation for printing out a shader instruction that includes indexing an array with a uniform. Change-Id: Icd37dd4f70419874bb65c54438409b8b9c3ee836 Reviewed-on: https://swiftshader-review.googlesource.com/4753Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Implemented binding/size/start related queries for uniform buffers. Change-Id: I9d36c92201a7f0df86b1d882ca6d9f04b372bad6 Reviewed-on: https://swiftshader-review.googlesource.com/4750Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
A few things were missing in internal format queries - GL_RGB and GL_RGBA are renderable formats - Integer types have no multisampling - If bufSize is 0, we should not write to the params output Change-Id: If6ba2f28b368e780eca8e89ef033deacf9cc523b Reviewed-on: https://swiftshader-review.googlesource.com/4752Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Added/fixed missing/bad storage texture types. Change-Id: I0f489fbd21569114fe30d7291fb718de09cd8974 Reviewed-on: https://swiftshader-review.googlesource.com/4749Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I95aff944b1d38c297b3ece475717db4c77b3274d Reviewed-on: https://swiftshader-review.googlesource.com/4736Tested-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 26776258 Change-Id: I326e76d2650b3992835d74baea159b13f14b2e3e Reviewed-on: https://swiftshader-review.googlesource.com/4720Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
OpenGL ES 3.0 entry functions are exported in the exports.map version script, but the source file defining them was not being compiled (ES3 support is still disabled). Change-Id: I5e42082304beb2b37de2bcc7ffcf3b2fc65ecc7d Reviewed-on: https://swiftshader-review.googlesource.com/4732Reviewed-by:
Keun Soo Yim <yim@google.com> Reviewed-by:
Greg Hartman <ghartman@google.com> Tested-by:
Keun Soo Yim <yim@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 09 Feb, 2016 1 commit
-
-
Nicolas Capens authored
Timestamp macros make the build unreproducible. This is of particular concern to Android, but since LLVM only uses them for command line operations which we don't need at all, they can be disabled on all platforms. Bug 27079084 Change-Id: I2c4c3dcd06feb3a64936e70ca1535f5a12816e95 Reviewed-on: https://swiftshader-review.googlesource.com/4730Reviewed-by:
Keun Soo Yim <yim@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 08 Feb, 2016 5 commits
-
-
Nicolas Capens authored
Unify address() and addressW() by introducing a new addressing mode. Change-Id: I09f9cbbe7800cfd5ef737322d680327aeddd27f1 Reviewed-on: https://swiftshader-review.googlesource.com/4714Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
2D array textures use 2D LOD calculations, not 3D. Change-Id: I0ce834bc4afb63dfeba3d9662105ffdaa07028da Reviewed-on: https://swiftshader-review.googlesource.com/4716Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
2D array textures aren't supposed to filter between layers and the computation used in the filtering code is meant to work with 3D textures, not 2D array textures. The 2D array textures now use the 2D texture path instead of the 3D texture path to solve this issue. Change-Id: Iea8fcfe67cce7ae70e39081af07e67fa59b268ff Reviewed-on: https://swiftshader-review.googlesource.com/4690Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
- Only unbind (orphan and release) images when the texture destructs. - Let images hold just one reference to the parent texture. - Check if textures and images only reference each other and garbage collect. Bug 26851951 Change-Id: I2b0bcc283bf545d948e91288c531eac7cc14d122 Reviewed-on: https://swiftshader-review.googlesource.com/4711Tested-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 26851951 Change-Id: I5494d61927eb4c1faff320aa7cd6cebe81800f29 Reviewed-on: https://swiftshader-review.googlesource.com/4712Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-