Validation for OpSampledImage instruction.
authorEhsan Nasiri <ehsann@google.com>
Tue, 22 Nov 2016 23:06:55 +0000 (18:06 -0500)
committerDavid Neto <dneto@google.com>
Thu, 24 Nov 2016 14:29:10 +0000 (09:29 -0500)
commitf72189c249ba143c6a89a4cf1e7d53337b2ddd40
tree13dfb5eb6a569112a825ff3c533fc30e7e5a5825
parent6fa6a3f64703745425bab6bf51da984f765656e2
Validation for OpSampledImage instruction.

This change implements the validation for usages of OpSampledImage
instruction as described in the Data Rules section of the Universal
Validation Rules of the SPIR-V Spec.
source/val/validation_state.cpp
source/val/validation_state.h
source/validate_id.cpp
test/val/val_id_test.cpp