[libre-riscv-dev] whole stack of vulkan llvm spirv stuff

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Sep 13 11:02:26 BST 2019


ok so i decided to compile up the amdgpu spirv compiler and spvgen
etc. etc. to see what it can do (and it can convert glsl fragment
shaders).  i copied the example from the spir-v specification PDF
version 1.00 revision 12, and ran these two commands:

./builds/amd64/llpc/amdllpc --emit-llvm ./example/khronos.spec.vert >
example/khronos.spec.log.llvm
./builds/amd64/llpc/amdllpc -v ./example/khronos.spec.vert >
example/khronos.spec.log

what i was looking for was:

* what datatypes appear to be supported (v4float, int, definitely)
* whether operands are polymorphic (they are)
* whether the output was capable of recognising vectors, creating
arrays and so on (it is).

so i'm wondering what the issue is.

l.


More information about the libre-riscv-dev mailing list