Skip to content

Commit 2ae47ea

Browse files
move header and get rid of two unused variables
1 parent 7b382d1 commit 2ae47ea

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

include/nbl/asset/IMeshPackerV2.h renamed to include/nbl/asset/utils/IMeshPackerV2.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ class IMeshPackerV2 : public IMeshPacker<MeshBufferType,MDIStructType>, public I
321321
result += "#define _NBL_VG_UINT_BUFFERS_COUNT " + std::to_string(getUintBufferBindingsCnt()) + '\n';
322322
}
323323

324-
result += "#include <nbl/builtin/glsl/virtual_geometry/virtual_attribute_fetch.glsl>\n";
325-
326324
return result;
327325
}
328326

@@ -355,8 +353,6 @@ class IMeshPackerV2 : public IMeshPacker<MeshBufferType,MDIStructType>, public I
355353
result += "#define _NBL_VG_SSBO_UVEC4_BINDING " + std::to_string(uvec4BufferBinding) + '\n';
356354
}
357355

358-
result += "#include <nbl/builtin/glsl/virtual_geometry/virtual_attribute_fetch.glsl>\n";
359-
360356
return result;
361357
}
362358

@@ -636,8 +632,8 @@ class IMeshPackerV2 : public IMeshPacker<MeshBufferType,MDIStructType>, public I
636632
inline PackerDataStore getPackerDataStore() { return m_packerDataStore; };
637633

638634
protected:
639-
core::vector<VirtualAttribute> virtualAttribTable;
640-
uint16_t enabledAttribFlagsCombined = 0u;
635+
//core::vector<VirtualAttribute> virtualAttribTable; // Is this variable even used!?
636+
//uint16_t enabledAttribFlagsCombined = 0u; // Is this variable even used!?
641637

642638
PackerDataStore m_packerDataStore;
643639
AllocationParams m_allocParams;

0 commit comments

Comments
 (0)