|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Core::VKShaderModule::create_from_spirv_asm | ( | vk::Device | device, |
| const std::string & | spirv_asm, | ||
| vk::ShaderStageFlagBits | stage, | ||
| const std::string & | entry_point = "main", |
||
| bool | enable_reflection = true |
||
| ) |
Create shader module from SPIR-V assembly text.
Assembles human-readable SPIR-V opcodes to binary via spvTextToBinary targeting Vulkan 1.3, then delegates to create_from_spirv(). Does not require shaderc or any GLSL toolchain.
| device | Logical device. |
| spirv_asm | SPIR-V assembly text. |
| stage | Shader stage. |
| entry_point | Entry point function name (default: "main"). |
| enable_reflection | Extract descriptor bindings and resources. |
Definition at line 289 of file VKShaderModule.cpp.
References MayaFlux::Journal::Core, create_from_spirv(), MayaFlux::Journal::GraphicsBackend, MF_DEBUG, and MF_ERROR.
Here is the call graph for this function: