We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvrhi/src/vulkan/vulkan-buffer.cpp
Lines 434 to 440 in 970bf53
thisGulpSize is rounded up to multiple of 4, so it should be greater equal than remaining. There should be no second loop here.
thisGulpSize
remaining
Line 437 is also redundant, because it won't enter this branch if data size greater than 65536
Line 437
Line 424 in 970bf53
The text was updated successfully, but these errors were encountered:
Simplified the code in Vulkan writeBuffer function.
a9e0ca1
NVIDIAGameWorks#52
Thanks - I've removed the loop. I think it remained from an early implementation when only updateBuffer was used. Closing.
Sorry, something went wrong.
No branches or pull requests
nvrhi/src/vulkan/vulkan-buffer.cpp
Lines 434 to 440 in 970bf53
thisGulpSize
is rounded up to multiple of 4, so it should be greater equal thanremaining
.There should be no second loop here.
Line 437
is also redundant, because it won't enter this branch if data size greater than 65536nvrhi/src/vulkan/vulkan-buffer.cpp
Line 424 in 970bf53
The text was updated successfully, but these errors were encountered: