PatchSpirvEntryPointWithCRC

Renames the fixed-size entry point name (which must be "main_00000000_00000000") to the formatted name including a CRC over the module.

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvCommon.h

Include

#include "SpirvCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/SpirvCommon.cpp

Syntax

const ANSICHAR * PatchSpirvEntryPointWithCRC
(
    FSpirv & Spirv,
    uint32 & OutCRC
)

Remarks

Renames the fixed-size entry point name (which must be "main_00000000_00000000") to the formatted name including a CRC over the module. Returns the new entry point name.