Alan Baker
42840d15e4
Fixes #1433 . Validate binary version
...
* Validates SPIR-V binary version against target environment
2018-04-06 22:41:50 -04:00
Andrey Tuganov
bdc78377bc
Added Vulkan-specifc checks to image validation
...
Implemented Vulkan-specific rules:
- OpTypeImage must declare a scalar 32-bit float or 32-bit integer type
for the “Sampled Type”.
- OpSampledImage must only consume an “Image” operand whose type has its
“Sampled” operand set to 1.
2018-01-24 14:05:42 -08:00
David Neto
9fc8658ef3
Relicense SPIRV-Tools under Apache 2.0
...
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/383
Finalize v2016.4
2016-09-02 10:00:29 -04:00
David Neto
0e001b70e4
Fix Google copyright lines
2016-09-02 10:00:29 -04:00
Lei Zhang
7fd27e737a
DRY file reading code in tools.
2016-06-30 15:56:20 -04:00
Dejan Mircevski
2703039b44
Add --target-env.
...
commit 7648187c34
Author: Dejan Mircevski <deki@google.com>
Date: Thu Apr 21 15:44:07 2016 -0400
Turn --vulkan into --target-env.
2016-05-11 09:48:52 -04:00