New answers tagged


It really depends on the individual compiler. The GPU vendor is responsible for the compiler as part of their driver, so it's really a total crapshoot as to how things get optimized, and you would need vendor-specific tools (if available) to get the compiled shader and disassemble it. If the GLSL is compiled to SPIR-V (i.e. for Vulkan) then you can at least ...

Top 50 recent answers are included