Fix Dref type check in validator
authorLei Zhang <antiagainst@google.com>
Thu, 30 Nov 2017 23:01:11 +0000 (18:01 -0500)
committerDavid Neto <dneto@google.com>
Fri, 1 Dec 2017 15:17:45 +0000 (10:17 -0500)
commit0dd4ee27b164a079016abe6ce4d526bd1268b342
tree4c025495ab0187eb700d6740edbe894e0dd56a68
parentb8aeab82ea97aa547cc622a7b2ff52c5cd9f8db9
Fix Dref type check in validator

Dref should be of 32-bit scalar floating type.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/1012
source/validate_image.cpp
test/val/val_image_test.cpp