invalid initialization of non-const reference of type X& from an rvalue of type X
Delwin9999 opened this issue · 0 comments
Delwin9999 commented
There are a number of places where the return value of a function is being used as a parameter of another function that takes a reference.
While MSVC allows passing an r-value into an l-value it is not allowed by the C++ specification.
Additionally the NVK.h wrapper is consuming a number of parameters by non-const reference that the specification for the underlying Vulkan API is consuming by value. Is this intentional?