LunarG / LunarGLASS

LLVM IR and optimizer for shaders, including front-end adapters for GLSL and SPIR-V and back-end adapter for GLSL
Other
173 stars 21 forks source link

Some problems about this program #72

Open xiaxiaxiahhh opened 5 years ago

xiaxiaxiahhh commented 5 years ago

I very glad to you share your program.This program is very important for my job. I have some problems about this program.

Initially,In your program brief,this program can translate GLSL code to LLVM IR,but you have Top IR and Bottom IR,who is LLVM IR ? Next,I read your Readme.td file,but I don't know how to translate GLSL file to LLVM .bc file?Your program have this function?

johnkslang commented 4 years ago

Translating to a .bc file would be independent of LunarGLASS. It is just the compressed form of LLVM, and I assume can be created the typical way. I am not an expert at that part of LLVM.