Files
OpenCL-CTS/test_conformance/spirv_new
Sven van Haastregt caae56d32c 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
2019-05-15 19:02:06 +01:00
..
2019-04-15 14:52:29 +01:00

test_conformance/spirv_new README
==================================

The text versions of the spirv files are present in `conformance-tests/test_conformance/spriv_new/spirv_txt`.
These text files have been used to generate the binaries in `spirv_bin` using the assembler from `spirv-tools`.

The absolute path to `spirv_bin` needs to be passed after `-ILPath` token for the test to find the SPIRV binaries.

An example invocation looks like the following:

```
./test_conformance/spirv_new/test_conformance_spirv_new -ILPath /home/user/workspace/conformance-tests/test_conformance/spirv_new/spirv_bin/ [other options]
```