• Home
  • Raw
  • Download

Lines Matching full:layout

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()
27 REPORTER_ASSERT(r, 2 == layout.size(*context.fBool2_Type)); in DEF_TEST()
28 REPORTER_ASSERT(r, 3 == layout.size(*context.fBool3_Type)); in DEF_TEST()
29 REPORTER_ASSERT(r, 4 == layout.size(*context.fBool4_Type)); in DEF_TEST()
30 REPORTER_ASSERT(r, 32 == layout.size(*context.fFloat2x2_Type)); in DEF_TEST()
31 REPORTER_ASSERT(r, 32 == layout.size(*context.fFloat2x4_Type)); in DEF_TEST()
32 REPORTER_ASSERT(r, 48 == layout.size(*context.fFloat3x3_Type)); in DEF_TEST()
33 REPORTER_ASSERT(r, 64 == layout.size(*context.fFloat4x2_Type)); in DEF_TEST()
34 REPORTER_ASSERT(r, 64 == layout.size(*context.fFloat4x4_Type)); in DEF_TEST()
35 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST()
36 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fFloat2_Type)); in DEF_TEST()
37 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat3_Type)); in DEF_TEST()
38 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat4_Type)); in DEF_TEST()
39 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST()
40 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fInt2_Type)); in DEF_TEST()
41 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fInt3_Type)); in DEF_TEST()
42 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fInt4_Type)); in DEF_TEST()
43 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST()
44 REPORTER_ASSERT(r, 2 == layout.alignment(*context.fBool2_Type)); in DEF_TEST()
45 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fBool3_Type)); in DEF_TEST()
46 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fBool4_Type)); in DEF_TEST()
47 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat2x2_Type)); in DEF_TEST()
48 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat2x4_Type)); in DEF_TEST()
49 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat3x3_Type)); in DEF_TEST()
50 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat4x2_Type)); in DEF_TEST()
51 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat4x4_Type)); in DEF_TEST()
57 REPORTER_ASSERT(r, 16 == layout.size(s1)); in DEF_TEST()
58 REPORTER_ASSERT(r, 16 == layout.alignment(s1)); in DEF_TEST()
62 REPORTER_ASSERT(r, 16 == layout.size(s2)); in DEF_TEST()
63 REPORTER_ASSERT(r, 16 == layout.alignment(s2)); in DEF_TEST()
67 REPORTER_ASSERT(r, 32 == layout.size(s3)); in DEF_TEST()
68 REPORTER_ASSERT(r, 16 == layout.alignment(s3)); in DEF_TEST()
74 REPORTER_ASSERT(r, 16 == layout.size(s4)); in DEF_TEST()
75 REPORTER_ASSERT(r, 16 == layout.alignment(s4)); in DEF_TEST()
79 REPORTER_ASSERT(r, 32 == layout.size(s5)); in DEF_TEST()
80 REPORTER_ASSERT(r, 16 == layout.alignment(s5)); in DEF_TEST()
84 REPORTER_ASSERT(r, 64 == layout.size(array1)); in DEF_TEST()
85 REPORTER_ASSERT(r, 16 == layout.alignment(array1)); in DEF_TEST()
86 REPORTER_ASSERT(r, 16 == layout.stride(array1)); in DEF_TEST()
89 REPORTER_ASSERT(r, 64 == layout.size(array2)); in DEF_TEST()
90 REPORTER_ASSERT(r, 16 == layout.alignment(array2)); in DEF_TEST()
91 REPORTER_ASSERT(r, 16 == layout.stride(array2)); in DEF_TEST()
96 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k430_Standard); in DEF_TEST() local
99 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST()
100 REPORTER_ASSERT(r, 8 == layout.size(*context.fFloat2_Type)); in DEF_TEST()
101 REPORTER_ASSERT(r, 12 == layout.size(*context.fFloat3_Type)); in DEF_TEST()
102 REPORTER_ASSERT(r, 16 == layout.size(*context.fFloat4_Type)); in DEF_TEST()
103 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST()
104 REPORTER_ASSERT(r, 8 == layout.size(*context.fInt2_Type)); in DEF_TEST()
105 REPORTER_ASSERT(r, 12 == layout.size(*context.fInt3_Type)); in DEF_TEST()
106 REPORTER_ASSERT(r, 16 == layout.size(*context.fInt4_Type)); in DEF_TEST()
107 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST()
108 REPORTER_ASSERT(r, 2 == layout.size(*context.fBool2_Type)); in DEF_TEST()
109 REPORTER_ASSERT(r, 3 == layout.size(*context.fBool3_Type)); in DEF_TEST()
110 REPORTER_ASSERT(r, 4 == layout.size(*context.fBool4_Type)); in DEF_TEST()
111 REPORTER_ASSERT(r, 16 == layout.size(*context.fFloat2x2_Type)); in DEF_TEST()
112 REPORTER_ASSERT(r, 32 == layout.size(*context.fFloat2x4_Type)); in DEF_TEST()
113 REPORTER_ASSERT(r, 48 == layout.size(*context.fFloat3x3_Type)); in DEF_TEST()
114 REPORTER_ASSERT(r, 32 == layout.size(*context.fFloat4x2_Type)); in DEF_TEST()
115 REPORTER_ASSERT(r, 64 == layout.size(*context.fFloat4x4_Type)); in DEF_TEST()
116 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fFloat_Type)); in DEF_TEST()
117 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fFloat2_Type)); in DEF_TEST()
118 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat3_Type)); in DEF_TEST()
119 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat4_Type)); in DEF_TEST()
120 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fInt_Type)); in DEF_TEST()
121 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fInt2_Type)); in DEF_TEST()
122 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fInt3_Type)); in DEF_TEST()
123 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fInt4_Type)); in DEF_TEST()
124 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST()
125 REPORTER_ASSERT(r, 2 == layout.alignment(*context.fBool2_Type)); in DEF_TEST()
126 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fBool3_Type)); in DEF_TEST()
127 REPORTER_ASSERT(r, 4 == layout.alignment(*context.fBool4_Type)); in DEF_TEST()
128 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fFloat2x2_Type)); in DEF_TEST()
129 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat2x4_Type)); in DEF_TEST()
130 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat3x3_Type)); in DEF_TEST()
131 REPORTER_ASSERT(r, 8 == layout.alignment(*context.fFloat4x2_Type)); in DEF_TEST()
132 REPORTER_ASSERT(r, 16 == layout.alignment(*context.fFloat4x4_Type)); in DEF_TEST()
138 REPORTER_ASSERT(r, 16 == layout.size(s1)); in DEF_TEST()
139 REPORTER_ASSERT(r, 16 == layout.alignment(s1)); in DEF_TEST()
143 REPORTER_ASSERT(r, 16 == layout.size(s2)); in DEF_TEST()
144 REPORTER_ASSERT(r, 16 == layout.alignment(s2)); in DEF_TEST()
148 REPORTER_ASSERT(r, 32 == layout.size(s3)); in DEF_TEST()
149 REPORTER_ASSERT(r, 16 == layout.alignment(s3)); in DEF_TEST()
155 REPORTER_ASSERT(r, 4 == layout.size(s4)); in DEF_TEST()
156 REPORTER_ASSERT(r, 4 == layout.alignment(s4)); in DEF_TEST()
160 REPORTER_ASSERT(r, 32 == layout.size(s5)); in DEF_TEST()
161 REPORTER_ASSERT(r, 16 == layout.alignment(s5)); in DEF_TEST()
165 REPORTER_ASSERT(r, 16 == layout.size(array1)); in DEF_TEST()
166 REPORTER_ASSERT(r, 4 == layout.alignment(array1)); in DEF_TEST()
167 REPORTER_ASSERT(r, 4 == layout.stride(array1)); in DEF_TEST()
170 REPORTER_ASSERT(r, 64 == layout.size(array2)); in DEF_TEST()
171 REPORTER_ASSERT(r, 16 == layout.alignment(array2)); in DEF_TEST()
172 REPORTER_ASSERT(r, 16 == layout.stride(array2)); in DEF_TEST()