Skip to content

Commit a418347

Browse files
committed
Fix ConvertUBOToPushConstant.cpp(389,34): error C2065: 'SpvOptimizerMessageConsumer': undeclared identifier
1 parent 3530b7a commit a418347

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Graphics/ShaderTools/src/ConvertUBOToPushConstant.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ namespace Diligent
4343
namespace
4444
{
4545

46+
void SpvOptimizerMessageConsumer(
47+
spv_message_level_t level,
48+
const char* /* source */,
49+
const spv_position_t& /* position */,
50+
const char* message);
51+
4652
// A pass that converts a uniform buffer variable to a push constant.
4753
// This pass:
4854
// 1. Finds the variable with the specified block name

0 commit comments

Comments
 (0)