D | SkSLMemoryLayoutTest.cpp | 15 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST() local 18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 19 REPORTER_ASSERT(r, 8 == layout.size(*context.fFloat2_Type)); in DEF_TEST() 20 REPORTER_ASSERT(r, 12 == layout.size(*context.fFloat3_Type)); in DEF_TEST() 21 REPORTER_ASSERT(r, 16 == layout.size(*context.fFloat4_Type)); in DEF_TEST() 22 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 23 REPORTER_ASSERT(r, 8 == layout.size(*context.fInt2_Type)); in DEF_TEST() 24 REPORTER_ASSERT(r, 12 == layout.size(*context.fInt3_Type)); in DEF_TEST() 25 REPORTER_ASSERT(r, 16 == layout.size(*context.fInt4_Type)); in DEF_TEST() 26 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() [all …]
|