Open oscarbg opened 4 years ago
Note I'm using almost latest SPIRV-Tools from upcoming Vulkan SDK 1.2.148: spirv-dis --version SPIRV-Tools v2020.4 unknown hash, 2020-07-27T20:17:04 Target: SPIR-V 1.5
Hi. We haven't upstreamed those extensions to SPIRV-Tools yet because spec is not finalized (and published only as draft on intel/llvm). You may assign this issue on me and I will come back with updates when we will put patches to SPIRV-Tools on review
Hi, new ISPC 1.14 supports now Intel GPUs.. see: https://ispc.github.io/ispc_for_gen.html (ispc foo.ispc --target=genx-x8 -o foo.spv) It generates SPIR-V files using new Intel SPIR-V extensions which seem unsupported by spirv-dis right now.. I generate like this:
ispc ispc-v1.14.0-gen-alpha-linux/examples/portable/genx/aobench/aobench2.ispc -o ao.spv --target=genx-x8 -I./ispc-v1.14.0-gen-alpha-linux/include/ispcrt
upon quick inspection on spv file I see it makes use of this SPIR-V extensions:fail to spirv-dis:
I attach example spv file:
ao.zip