规范模型输入以及测试shader

This commit is contained in:
2025-10-09 21:44:59 +08:00
parent 698c1a1099
commit f847154ba2
11 changed files with 436 additions and 78 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ DV_CORE_BEGIN_NAMESPACE
class MathUtil
{
public:
static size_t ComponentSize(ComponentType ct);
static size_t DataTypeSize(DataType dt);
static DV_CORE_API size_t ComponentSize(ComponentType ct);
static DV_CORE_API size_t DataTypeSize(DataType dt);
//count the number of bits set in v
static DV_CORE_API uint32_t popcount(uint8_t v);