OSDN Git Service

Uniform block related fixes
authorAlexis Hetu <sugoi@google.com>
Mon, 1 Feb 2016 20:26:46 +0000 (15:26 -0500)
committerAlexis Hétu <sugoi@google.com>
Tue, 2 Feb 2016 15:07:10 +0000 (15:07 +0000)
commit576aea5c0d993e5109445e921a418493dce5fa19
treed5b086dac3b7bb470962303f483e29767fc29f9a
parent2c2a7b29cd53cb7b06ef1b1e2177a8c90e6e0128
Uniform block related fixes

- The rowMajor qualifier should only be set for matrices
- Shared and std140 layouts are always considered active
- Fixed registerSize() for uniform blocks

Change-Id: Id0ccd4f1f1c3342915643d87e166234e61b83f4f
Reviewed-on: https://swiftshader-review.googlesource.com/4631
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/compiler/OutputASM.cpp