- 06 Aug, 2015 12 commits
-
-
Nicolas Capens authored
Change-Id: I731bb641e00ba9ac880fdb9f721af24906b4850f Reviewed-on: https://swiftshader-review.googlesource.com/3802Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I7a156a33a6021bc871a902a2b9d050eeaf166fe9 Reviewed-on: https://swiftshader-review.googlesource.com/3801Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I54c54838b7140023d902d5cb615eb8509eb6e23a Reviewed-on: https://swiftshader-review.googlesource.com/3800Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I4858980fc32df435ffc0fc0917905116bea54aa8 Reviewed-on: https://swiftshader-review.googlesource.com/3790Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I03fabec6a92ef058aa2968418755aca079598cfe Reviewed-on: https://swiftshader-review.googlesource.com/3781Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ib041b2c412ea9db7a951e4eea24b7f27d8621cd0 Reviewed-on: https://swiftshader-review.googlesource.com/3780Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ied1be6434a356ec7315df9d728dc424961f44fd0 Reviewed-on: https://swiftshader-review.googlesource.com/3770Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ie5552f7b743ac488a10ef86042088181aa5b797a Reviewed-on: https://swiftshader-review.googlesource.com/3763Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: I8c683a783f0a7f8a82206de77ae9d139f4b1bb10 Reviewed-on: https://swiftshader-review.googlesource.com/3762Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Change-Id: Ie3caee1128c8227397a74378fcefdf9e128fc6bf Reviewed-on: https://swiftshader-review.googlesource.com/3761Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Greg Hartman authored
Change-Id: Ifd5f0bcc466f0ca7815f92285fa8bbd2d3ae2d8d Reviewed-on: https://swiftshader-review.googlesource.com/3810Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Greg Hartman authored
This is needed because the object is included by value in STL containers. Change-Id: I4008aa3b733bdfc6c045a7622a0e40d7eb61b0bf Reviewed-on: https://swiftshader-review.googlesource.com/3811Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 23 Jul, 2015 2 commits
-
-
Alexis Hetu authored
- Added an actual offset, in registers, to the Uniform structure to take into account that types can have different register sizes. - Fixed the array check in OutputASM::declareUniform() so that it doesn't make an array of blocks when declaring a member as an array in the default uniform block. - Fixed arrayStride and matrixStride in the BlockInfo constructor. - Fixed memberUniformIndexes to use uniform index instead of register index. Change-Id: Id8ba23b5fef71c772bb45a45bb897ca5e2fae385 Reviewed-on: https://swiftshader-review.googlesource.com/3750Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
There are explicit checks for texture function names in OutputASM, which fail in ES3 because new function names are available, so some of the new function names have been added to the checks. Change-Id: I7ec8302a31c02500514ede4e36610dca1dafd235 Reviewed-on: https://swiftshader-review.googlesource.com/3752Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 21 Jul, 2015 5 commits
-
-
Nicolas Capens authored
Bug 22624951 Change-Id: Ibda5f528212c9a8d503d8d6366cd7a42cd832c89 Reviewed-on: https://swiftshader-review.googlesource.com/3742Tested-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 22624951 Change-Id: Ib8dfda6ed983f385a236b014d9b635a0c343071f Reviewed-on: https://swiftshader-review.googlesource.com/3741Tested-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 22632766 Change-Id: Ib2fccdd498a6da43af7bb945179b278026cdba18 Reviewed-on: https://swiftshader-review.googlesource.com/3744Tested-by:
Nicolas Capens <capn@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
- Added support for uniform blocks in OutputASM::declareUniform - Added basic implementation of Program::applyUniformBuffers() to be completed later on when uniform buffers are implemented Change-Id: I919b59d4557bb10bb302e6b6bd0ada79553ca8bb Reviewed-on: https://swiftshader-review.googlesource.com/3651Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
This cl splits PixelRoutine into 2 specialized classes: PixelProgram and PixelPipeline. In this cl: - Moved all specialized behavior of PixelRoutine into the PixelProgram and PixelPipeline classes. - Inverted hierarchical dependency between PixelRoutine and QuadRasterizer. QuadRasterizer is now the base class. - Added a check to PixelProcessor::routine() to either create a PixelPipeline object or a PixelProgram object. - Moved a few interpolation related utility functions from PixelRoutine down to QuadRasterizer. - Added Registers hierarchy. PixelProgram specific Registers and PixelPipeline specific Registers are now mutually exclusive. - Made the quad functions virtual - Added a few virtual functions (setBuiltins, ps, alphaTest, rasterOperation) for Program/Pipeline specific implementations Bug 20257503 Change-Id: I6abe536a5521d9842f757a8bbb52e3947e3c9250 Reviewed-on: https://swiftshader-review.googlesource.com/3634Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 19 Jul, 2015 1 commit
-
-
Nicolas Capens authored
Bug 15759123 Change-Id: I363524a191d319e03ce2b874cfc853c7330b684f Reviewed-on: https://swiftshader-review.googlesource.com/3735Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 17 Jul, 2015 5 commits
-
-
Nicolas Capens authored
Copied from old Shader::GetFunction(). Bug 22533227 Change-Id: I587a4112bc97f75c010b6f572f8f4388d5af9225 Reviewed-on: https://swiftshader-review.googlesource.com/3734Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 22533227 Change-Id: Idf969cd81fae9f5bc5f3da147ae84fe597d3afa7 Reviewed-on: https://swiftshader-review.googlesource.com/3733Tested-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 22533227 Change-Id: Ib1b17bcace85bc6204589a48c65f60c94ffbe5cc Reviewed-on: https://swiftshader-review.googlesource.com/3732Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 22533227 Change-Id: I7dd953eecb169cb471aa9c1830f91b06f8bcc7ac Reviewed-on: https://swiftshader-review.googlesource.com/3731Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Nicolas Capens authored
Bug 22533227 Change-Id: Ib669fcd6a644c79b3a9e8f5dcf7da278d75cefef Reviewed-on: https://swiftshader-review.googlesource.com/3730Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 16 Jul, 2015 9 commits
-
-
Alexis Hetu authored
Added implementation for querying GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER in GetFramebufferAttachmentParameteriv. Change-Id: Ib25ba51bf68c9d979f80cc65ba7059366b5f1ae4 Reviewed-on: https://swiftshader-review.googlesource.com/3541Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Program now uses Attribute location. Change-Id: I005d64509e4b1e2dd977db38b6b2c41d6ba7ddef Reviewed-on: https://swiftshader-review.googlesource.com/3722Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The spec for GetProgramiv didn't mention anything about PROGRAM_BINARY_LENGTH, but looking at the OpenGL ES 3.0 spec, section 2.11.4 - "Program Binaries", we have: "The number of bytes in the program binary can be queried by calling GetProgramiv with pname PROGRAM_BINARY_LENGTH" Change-Id: Idf652fec34fa1f3cce6cce0e7302ab8d47a6cf74 Reviewed-on: https://swiftshader-review.googlesource.com/3611Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
dEQP was expecting default buffer usage to be GL_STATIC_DRAW instead of GL_DYNAMIC_DRAW, so it was changed accordingly. Change-Id: I5c9e31fc0791955fd32333c1479e76fbc79951a1 Reviewed-on: https://swiftshader-review.googlesource.com/3631Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Some checks in Framebuffer related functions were still ES2 only. Made some modification to fix the checks for ES3. Change-Id: Iaef6133179ea830dd599a5d66bc9698032085569 Reviewed-on: https://swiftshader-review.googlesource.com/3690Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Fixed copy-paste error in FWIDTH function Change-Id: I7562aa29408987839334aa13c7461f69d8ae6a19 Reviewed-on: https://swiftshader-review.googlesource.com/3728Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
- Implemented proper VariableRegisterCount (we were using row count instead of column count to get the number of registers) and VariableRegisterSize. - Matrix to matrix copies now clear the correct rows of the destination matrix when needed - Added registerSize helper function to type to help clarify this for matrices. - Added missing member initializations in TType constructor Change-Id: Ic880815515c7d12ad12e44f1392aa6892caa953f Reviewed-on: https://swiftshader-review.googlesource.com/3718Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The queries should round, rather than truncate, LODs to int. Bug 20724899 Change-Id: I86ddc724545abb80687eb5132cdf8ddd410ee2d1 Reviewed-on: https://swiftshader-review.googlesource.com/3638Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
Some int/uint/array types weren't properly handled by the Program class yet, so the missing types were added. Change-Id: I487bbbdcbf798c7430535745386139632346013f Reviewed-on: https://swiftshader-review.googlesource.com/3610Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
- 10 Jul, 2015 2 commits
-
-
Greg Hartman authored
Change-Id: I43f1675a1c6059cc86eaf84ac768242cfc80b88f Reviewed-on: https://swiftshader-review.googlesource.com/3652Tested-by:
Greg Hartman <ghartman@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
Greg Hartman authored
This was breaking the Android build and didn't appear to be used in the code. It was introduced with I0fe062ea826b73b2bdf28ad3ed6e72e51c576840 Change-Id: Ic2a00c3264263e5608903ee7764f9c8dd8fb2c2a Reviewed-on: https://swiftshader-review.googlesource.com/3662Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
-
- 09 Jul, 2015 1 commit
-
-
Maxime Grégoire authored
Bug 22375329 Change-Id: Id6684e33bf3cd37fce48e7607e6a65fe64309f72 Reviewed-on: https://swiftshader-review.googlesource.com/2764Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Maxime Grégoire <mgregoire@google.com>
-
- 08 Jul, 2015 3 commits
-
-
Alexis Hetu authored
Replaced values that matched with FRAGMENT_UNIFORM_VECTORS or VERTEX_UNIFORM_VECTORS where appropriate. Change-Id: I64a72b6f30a8a553ea44c268e757ee529cff59fd Reviewed-on: https://swiftshader-review.googlesource.com/3672Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The unary math related functions were already added to TParseContext, but a few sections in the parser hadn't been converted yet. Change-Id: Idbc96e6e91acce28310f391a50d219e39dfc185b Reviewed-on: https://swiftshader-review.googlesource.com/3668Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-
Alexis Hetu authored
The implementation of the length() function was already added to TParseContext::addFunctionCallOrMethod() in a previous cl, but it was still unused because addFunctionCallOrMethod() was always called with the 3rd argument as nullptr. This cl adds the missing code required to get the length function working. Change-Id: I3339ae8b60f5f577caa0a39f88c6ed0c626879b2 Reviewed-on: https://swiftshader-review.googlesource.com/3641Tested-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
-