Skip to content

Commit 0ae748c

Browse files
committed
Add missing ShaderStage.h include for MaterialX 1.39.5
In MaterialX 1.39.5, HwShaderGenerator.h no longer transitively includes ShaderStage.h, which provides DEFINE_SHADER_STAGE and Stage::PIXEL. Add the explicit include to fix the build.
1 parent 03e5aa8 commit 0ae748c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/mayaUsd/render/MaterialXGenOgsXml/Nodes/MayaSourceCodeNode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "MayaSourceCodeNode.h"
77

88
#include <MaterialXGenShader/HwShaderGenerator.h>
9+
#include <MaterialXGenShader/ShaderStage.h>
910

1011
MATERIALX_NAMESPACE_BEGIN
1112

0 commit comments

Comments
 (0)