Preserve signedness in SPV image query ops
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Fri, 10 Mar 2017 19:45:50 +0000 (12:45 -0700)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Fri, 10 Mar 2017 19:51:59 +0000 (12:51 -0700)
commit0b5c2ae70e58e62c7107cfba2b55f78dfdcc9f43
tree68ecc377ae3cfd282501dfb39c560d60b2134e49
parent757bc87445dfecf79783104ab7402a81ca67c6ec
Preserve signedness in SPV image query ops

The AST->SPIRV translation of image queries was dropping signedness,
causing some validation troubles.
SPIRV/GlslangToSpv.cpp
SPIRV/SpvBuilder.cpp
SPIRV/SpvBuilder.h
Test/baseResults/hlsl.getdimensions.dx10.frag.out
Test/baseResults/hlsl.getdimensions.dx10.vert.out
Test/baseResults/hlsl.getdimensions.rw.dx10.frag.out
Test/baseResults/hlsl.intrinsics.promote.frag.out
Test/baseResults/hlsl.intrinsics.promote.outputs.frag.out