HLSL: Fix issue #658: Don't adopt initializer constness from declaration.
authorJohn Kessenich <cepheus@frii.com>
Thu, 5 Jan 2017 17:28:26 +0000 (10:28 -0700)
committerJohn Kessenich <cepheus@frii.com>
Thu, 5 Jan 2017 17:28:26 +0000 (10:28 -0700)
commit085b8334906aba9737e761ff012830495666a294
tree4e921c4fe98f631d9f16135311e9a209fc892c9f
parentbf9a2f30c962c82f349eadd1c55732e8111bd614
HLSL: Fix issue #658: Don't adopt initializer constness from declaration.

This also makes it match how GLSL handles the same thing.
Test/baseResults/hlsl.init2.frag.out
Test/hlsl.init2.frag
glslang/Include/revision.h
hlsl/hlslParseHelper.cpp