- 18 Mar, 2016 3 commits
-
-
Nicolas Capens authored
This is not a natively supported pixel format, thus causing a performance penalty for conversion. It is not supported by Nexus 4 or 5. Android has deprecated both 4444 and 5551 as HAL formats. Also, UNSIGNED_SHORT_5_5_5_1 has the alpha component in the least significant bit, whereas A1R5G5B5 has alpha as the most significant bit. Bug 27690616 Change-Id: I350f0e780cd87b8a626e2c8914a65c61dbf63258 Reviewed-on: https://swiftshader-review.googlesource.com/4960Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Added 32-bit signed and unsigned vertex attribute Change-Id: Ibbf9c035294584db71713ae7aeca36b32a8564c0 Reviewed-on: https://swiftshader-review.googlesource.com/4974Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
There were a few issues in unary operators: - Many were not compiling because the promote function had not been adjusted to take the new builtin functions into account - abs and sign had not been implemented for int - For the integer abs version, used pabsd. Removed the extra argument, which seemed unnecessary (abs should have 1 input, 1 output, AFAIK). Change-Id: If02c5040438e8c45c99fc7b3c55107448c85cf58 Reviewed-on: https://swiftshader-review.googlesource.com/4970Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 10 Mar, 2016 3 commits
-
-
Nicolas Capens authored
Change-Id: I0c0a9bc99e8cf9ea92919c77ef6c05b1439f40da Reviewed-on: https://swiftshader-review.googlesource.com/4941Tested-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: Iec28db332fe328603a68c3073403bfbe6067bf44 Reviewed-on: https://swiftshader-review.googlesource.com/4735Reviewed-by:
Greg Hartman <ghartman@google.com> Tested-by:
Greg Hartman <ghartman@google.com> (cherry picked from commit 5d0bad6eea31ee25437877c11e91c1b39be07030) Reviewed-on: https://swiftshader-review.googlesource.com/4734Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Idcf7c19c2467edf941a8a426078b6f7d7779ab12 Reviewed-on: https://swiftshader-review.googlesource.com/4943Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 09 Mar, 2016 2 commits
-
-
Nicolas Capens authored
SIGXCPU is used by Mono, the C# framework used by the Unity game engine. LLVM does not make any setrlimit(RLIMIT_CPU) calls, so when the SIGXCPU signal is raised it is not up to LLVM to decide how to handle it. Bug 23017372 Change-Id: I292b0eac527c5efd66022e6f75bbcb68879a30a4 Reviewed-on: https://swiftshader-review.googlesource.com/4940Reviewed-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
This is a first implementation of the transform feedback primitives written query. It passes available related dEQP tests (more tests will be available when transform feedback is fully implemented). Change-Id: Iaee97e3e2e853174b7f22836f72dabede1ed04c1 Reviewed-on: https://swiftshader-review.googlesource.com/4912Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 08 Mar, 2016 1 commit
-
-
Alexis Hetu authored
Implemented rasterizer discard by not using the SetupRoutine and always returning 0 when rasterizer discard is enabled. Also guarded all clear calls with a check for rasterizer discard. Passes all rasterizer discard related dEQP tests. Change-Id: I1e5c107e3dba550f7a5b01eb302ff51bdac303dc Reviewed-on: https://swiftshader-review.googlesource.com/4876Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 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 12 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>
-