cl21: Add image access qualifier for spirv_new binaries (#272)

The OpenCL SPIR-V Environment Specification v2.2-10, Section 2.1
states that:

    For all OpTypeImage type-declaration instructions:
    The optional image Access Qualifier must be present.

Add the ReadOnly or WriteOnly qualifier as appropriate to the .spvasm
files, and regenerate the .spv files using

    spirv-as --target-env spv1.0
This commit is contained in:
Sven van Haastregt
2019-05-15 19:02:06 +01:00
committed by Kévin Petit
parent 4f71ca382b
commit caae56d32c
8 changed files with 4 additions and 4 deletions