Pass boolean values correctly to shaders.
authorMika Isojärvi <misojarvi@google.com>
Tue, 19 Jan 2016 22:46:34 +0000 (14:46 -0800)
committerMika Isojärvi <misojarvi@google.com>
Tue, 19 Jan 2016 23:17:17 +0000 (15:17 -0800)
commitf6d9b9dd8d85911065af21faeff7475f2159baf1
tree98bf403a0e2a2de7ac410e98d43fd6a23ee4cb33
parentc05bc35f18d2b379ec8d31b39a54a06a385b76af
Pass boolean values correctly to shaders.

Map type to correct vkFormat for other than floating point types and
pass boolean values correctly as 0xFFFFFFFFu instead of 0x1u to shader
in vulkan ShaderLibrary tests.

Change-Id: Ib13b4a3c648b21a0b9020d00caeafd17a23b7402
external/vulkancts/modules/vulkan/vktShaderLibrary.cpp