| Name |
Last commit
|
Last update |
|---|---|---|
| include | ||
| src | ||
| tests | ||
| .dir-locals.el | ||
| .gitignore | ||
| Android.mk | ||
| CMakeLists.txt | ||
| Readme.txt |
When data is packed into uniform blocks, some data isn't formatted in a way that fits how data is usually represented, which is the case for booleans and row major matrices. In these 2 cases, the variables are unpacked into temporaries before being used. Booleans can be any integer value and any non-zero value represents "true", so the value in the uniform buffer has to go through an int to bool conversion before being used. For row major matrices, a given register of that matrix has to be transposed into a temporary before being used. Change-Id: I0e001ceff2ce9be9a3570171e184586afc48c02d Reviewed-on: https://swiftshader-review.googlesource.com/5040Tested-by:Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| include | Loading commit data... | |
| src | Loading commit data... | |
| tests | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| Android.mk | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| Readme.txt | Loading commit data... |