LLVMShadeRunTask

OPAL task that JIT-compiles a C shade function and renders it in the LLVM Sandbox.

Declared in src/libs/libopal/opal/shade/LLVMShadeRunTask.hpp
Inherits OpalTask
Group libopal

Detailed description

The LLM-driven build/fix loop is implicit: when the source supplied in the source parameter fails to compile, the task returns the Clang diagnostic in the result message. The conversation operator can then call the task again with corrected source. On a successful compile the active LLVMSandboxActivity is pushed onto the navigation stack, the editor is updated, and the parallel pixel render is triggered.

See also LLVMSandboxActivity, construct::native::NativeCompiler.

In this section