The GGX GI demo works, but every frame you get a popup saying: "Error when setting variable at offset 16. Type mismatch. Expecting Uint but the user provided a Int"
To fix this, I went into GGXGlobalIlluminationPass::execute() and added a cast to uint32_t for gMaxDepth like so:
globalVars["GlobalCB"]["gMaxDepth"] = (uint32_t)mUserSpecifiedRayDepth;
No more error.
I tried changing mUserSpecifiedRayDepth to uint32_t in the class definition, but then Gui::addIntVar complained.
The GGX GI demo works, but every frame you get a popup saying: "Error when setting variable at offset 16. Type mismatch. Expecting Uint but the user provided a Int"
To fix this, I went into GGXGlobalIlluminationPass::execute() and added a cast to uint32_t for gMaxDepth like so: globalVars["GlobalCB"]["gMaxDepth"] = (uint32_t)mUserSpecifiedRayDepth;
No more error.
I tried changing mUserSpecifiedRayDepth to uint32_t in the class definition, but then Gui::addIntVar complained.