OSDN Git Service

Fixed uniform block indexing
authorAlexis Hetu <sugoi@google.com>
Tue, 12 Jan 2016 21:13:37 +0000 (16:13 -0500)
committerAlexis Hétu <sugoi@google.com>
Wed, 13 Jan 2016 15:01:30 +0000 (15:01 +0000)
commit6c7ac3c8d90289274a1480bfdf29b5a2d21a64b3
tree4870f42b3b652f355615443abdbf4f2459a9e524
parentc8b0f54c9c526dff3fb0dc2792f1d61669232c9b
Fixed uniform block indexing

A uniform block's qualifier is generally a uniform, so
we have to change that to a temporary in order to be
able to us it as the result of the indexing operation.

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