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

2020-11-19 Thread Dave Airlie
It's not supported and not useful in any way. TGSI llvmpipe is missing a lot of features. Dave On Thu, 19 Nov 2020, 18:35 Tommy Chou, wrote: > 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 >

[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 ___