[Mesa-dev] Question on ~/mesa/src/amd/llvm/ac_nir_to_llvm.c visit_load_var

vivek pandya vivekvpandya at gmail.com
Sun Oct 11 11:27:05 UTC 2020


I see that
visit_load_var() in ~/mesa/src/amd/llvm/ac_nir_to_llvm.c

assumes that nir_variable used in this intrinsic can have few specific mods
only.

For example variable can not have nir_var_mem_shared , if such mod
encountered it will execute unreachable() code.

Is there any nir pass that needs to be run before nir_to_llvm translation?

Sincerely,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20201011/125d7388/attachment.htm>


More information about the mesa-dev mailing list