Commit 5079c880 by Jamie Madill

Fix GCC warning about initialization order.

Shifting these fields was breaking the build in Linux GCC. BUG=angle:690 Change-Id: I34286753f7ab636900f25f880187dbb297e9c040 Reviewed-on: https://chromium-review.googlesource.com/206632Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent ed27c729
...@@ -155,9 +155,10 @@ struct InterfaceBlock ...@@ -155,9 +155,10 @@ struct InterfaceBlock
InterfaceBlock(const char *name, unsigned int arraySize, unsigned int registerIndex) InterfaceBlock(const char *name, unsigned int arraySize, unsigned int registerIndex)
: name(name), : name(name),
arraySize(arraySize), arraySize(arraySize),
dataSize(0),
layout(BLOCKLAYOUT_SHARED), layout(BLOCKLAYOUT_SHARED),
registerIndex(registerIndex), isRowMajorLayout(false),
isRowMajorLayout(false) registerIndex(registerIndex)
{} {}
std::string name; std::string name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment