mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
[Fix] (MG_State/Program): add more prints in PostLink() to debug
This commit is contained in:
@@ -155,6 +155,10 @@ namespace MobileGL {
|
||||
m_uboScratch.resize(m_metadata.uboSize, 0);
|
||||
|
||||
auto& types = m_metadata.plainUniformMemberTypes;
|
||||
printf("types.size() = %u\n", types.size());
|
||||
printf("m_uniformOffsets.size() = %u\n", m_uniformOffsets.size());
|
||||
fflush(stdout);
|
||||
|
||||
assert(types.size() == m_uniformOffsets.size());
|
||||
m_uniformTypes.resize(m_uniformOffsets.size());
|
||||
for (const auto& [name, type] : types) {
|
||||
|
||||
Reference in New Issue
Block a user