- 06 Apr, 2016 6 commits
-
-
Alexis Hetu authored
libGL was broken (probably by the recent namespace change, not sure) Change-Id: I27e461f82a652cb8f9a646ab1d4091195efc454b Reviewed-on: https://swiftshader-review.googlesource.com/5054Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
UniformBufferBinding was used for both uniform buffers and transform feedback buffers, so the uniform buffer specific name no longer made sense. Change-Id: I36a5b774e780460fa090c6c611cb8cb475ef2ced Reviewed-on: https://swiftshader-review.googlesource.com/5042Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 25351344 Change-Id: Iaf0ce657a3a98c9b70902240340ed5f3f8076281 Reviewed-on: https://swiftshader-review.googlesource.com/4769Tested-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: I9b3977959aea8bd2711ebd94e06c0e09376d4d6e Reviewed-on: https://swiftshader-review.googlesource.com/4768Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Implementation for packSnorm2x16, unpackSnorm2x16, packUnorm2x16 and unpackUnorm2x16 intrinsic functions. Change-Id: I6b9e2584c1aaad8011f026c217d8ad3f72e9ba45 Reviewed-on: https://swiftshader-review.googlesource.com/5053Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Similarly to what had been done for uniform buffers, transform feedback buffers require locking/unlocking functions so that the Renderer can access these resources. Change-Id: I909ccda4f30534290ebd4a575c082b5475786080 Reviewed-on: https://swiftshader-review.googlesource.com/5041Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 05 Apr, 2016 4 commits
-
-
Nicolas Capens authored
The scaling factors ensure that the components are rounded correctly even after alpha blending, which may multiply colors by colors. Bug 24332884 Change-Id: Ib75602e89996b2fd1a319a132a681295fb2a18a6 Reviewed-on: https://swiftshader-review.googlesource.com/5048Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ia94eb950d8d3ec4562f9f2e57d8d7ba27a41d16c Reviewed-on: https://swiftshader-review.googlesource.com/5044Tested-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: I0beed96cd68608ce07aec0b11f14d6f61e67e53d Reviewed-on: https://swiftshader-review.googlesource.com/5034Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Older branches of Android don't support std::unordered_map. Bug 28006371 Change-Id: I162249db3b7ee9537c7143768c6c1ec216392cba Reviewed-on: https://swiftshader-review.googlesource.com/5045Reviewed-by:
Bo Hu <bohu@google.com> Tested-by:
Nicolas Capens <capn@google.com> (cherry picked from commit db4fee2752c3b440933fd89078e35b3781c211ce) Reviewed-on: https://swiftshader-review.googlesource.com/5047Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 04 Apr, 2016 2 commits
-
-
Alexis Hetu authored
This cl adds 2 new utility function and adds one use of these in the argument() function. - getBlockId() finds a block by name and returns its ID - getTypedMemberInfo() finds which block member matches a certain register index and returns the block member's packing information and type. If the register falls within a block member (as a sub-register of a matrix or an array), the base offset of the block member is returned, along with the register index, which will then be used within the argument() function to compute the final parameter index. Change-Id: Ic0edcb3e6772cdb854301e3d0b400775e7ee72c0 Reviewed-on: https://swiftshader-review.googlesource.com/4682Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ia204b708239ae51022f163053e4d054e617695b9 Reviewed-on: https://swiftshader-review.googlesource.com/5031Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 01 Apr, 2016 3 commits
-
-
Nicolas Capens authored
Change-Id: I9b46031f57b0cf49428e295b06702099ffef7f01 Reviewed-on: https://swiftshader-review.googlesource.com/5030Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
The 2nd operand in a logical and ('&&') operation is evaluated if and only if the 1st operand evaluates to non-zero. The 2nd operand in a logical or ('||') operation is evaluated if and only if the 1st operand evaluates to zero. If an operand is not evaluated, the presence of undefined identifiers in the operand will not cause an error. Integer overflow in short-circuited expressions are still and error because it is part of lexical analysis. Change-Id: I6ff5e0e9874551d2e40ab4e4ad34dc36cfa703e5 Reviewed-on: https://swiftshader-review.googlesource.com/5020Tested-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: Ifa9db4ab541d9421dddfe6b09571d8b5d38a479d Reviewed-on: https://swiftshader-review.googlesource.com/5011Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 29 Mar, 2016 3 commits
-
-
Nicolas Capens authored
Bug 19219444 Change-Id: I9606dfb30693a15a06896d83888022ccbaa8db2e Reviewed-on: https://swiftshader-review.googlesource.com/5010Tested-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 19219444 Change-Id: I5eb797eed31ab233866e5c23d83298d3c57091a9 Reviewed-on: https://swiftshader-review.googlesource.com/4989Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 19219444 Change-Id: I277d80be47d2057f31559c5058e2f6ea422dacfd Reviewed-on: https://swiftshader-review.googlesource.com/4987Reviewed-by:
Alexis Hétu <sugoi@google.com> Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 24 Mar, 2016 10 commits
-
-
Nicolas Capens authored
Bug 19219444 Change-Id: Ic0e3c5a37174917a541452bab9f92738bc766044 Reviewed-on: https://swiftshader-review.googlesource.com/4986Tested-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 19219444 Change-Id: Ic100f0bfe64b1f92f13c4f6a413e30095b7b5a6c Reviewed-on: https://swiftshader-review.googlesource.com/4985Tested-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 19219444 Change-Id: Id4b209f491b3a3dde716118309cbc8122feb25d0 Reviewed-on: https://swiftshader-review.googlesource.com/4984Tested-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 was causing crashes in Direct3D 9 applications using the "NULL" FOURCC used as a render target format for rendering to depth only. Bug 25351344 Change-Id: I69c2e0869f859489321c26dba56b7a80a2ed2f28 Reviewed-on: https://swiftshader-review.googlesource.com/5000Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The semantic was of size 11, but the 11th member, meant for fog, was never used, so the array was resized to size 10. Change-Id: I2afbc2bc52981eb1002252cc3fb89c6954314c23 Reviewed-on: https://swiftshader-review.googlesource.com/4988Tested-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 27460431 Change-Id: Ic030624cc34b31519882e54497457a1b92eaac45 Reviewed-on: https://swiftshader-review.googlesource.com/4981Tested-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 27460431 Change-Id: I90de3285c86c0d3187969270dcbd78a8b02feee9 Reviewed-on: https://swiftshader-review.googlesource.com/4978Tested-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: If0fe05eff397c8d88753fb2b1a1852722c73602e Reviewed-on: https://swiftshader-review.googlesource.com/4979Tested-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 27460431 Change-Id: Ice854b6faec09dc5f2cbdc2a5c3ffba9a73bfb70 Reviewed-on: https://swiftshader-review.googlesource.com/4977Tested-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 27460431 Change-Id: If11e16597b3fdfbfa6f1f2282e287b302b541f63 Reviewed-on: https://swiftshader-review.googlesource.com/4976Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 21 Mar, 2016 1 commit
-
-
Alexis Hetu authored
Added format arguments to DepthBuffer/DepthStencilBuffer constructors and added existing types to type conversion functions so that more than one depth/stencil format may be supported. Change-Id: Ifd60b896e93a1ba4d05a30f123a1322cdd5254a5 Reviewed-on: https://swiftshader-review.googlesource.com/4766Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 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>
-