[Mesa-dev] NIR Debugging Tips

2021-02-25 Thread Tommy Chou
Hi, Could I get some tips on figuring out what the NIR intrinsics do, specifically the vulkan related ones? Also, what is the debug strategy that is used to debug NIR shaders to check if the implementation is correct? Thanks, Tommy ___ mesa-dev mailing

[Mesa-dev] NIR to TGSI for Vulkan SPIRV shaders

2020-11-19 Thread Tommy Chou
Hi, When running Vulkan code through lavapipe, SPIRV shaders are first converted to NIR. Is it possible to further translate or dump that NIR to TGSI format or is it unsupported? I tried running vkcube with LP_DEBUG=tgsi,tgsi_ir but it segfaulted. Thanks, Tommy

[Mesa-dev] [PATCH] osdemos: support building via cmake

2017-09-22 Thread Tommy
Uses pkg-config to find osmesa, and builds only if found. --- CMakeLists.txt | 1 + src/CMakeLists.txt | 4 src/osdemos/CMakeLists.txt | 31 +++ 3 files changed, 36 insertions(+) create mode 100644 src/osdemos/CMakeLists.txt diff --git a/CMa