Lines Matching refs:Element
83 Type::Builder typeI8Builder(mRS, Element::I8(mRS));
84 typeI8Builder.setX(1); // One element here to test 16 byte memory alignment
89 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2);
90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4);
91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4);
93 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS));
98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize);
100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4);
101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4);
103 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS));
107 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize);
108 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2);
110 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize / 4);
112 Type::Builder typeI64_4Builder(mRS, Element::I64_4(mRS));
116 mLongAllocation = Allocation::createSized(mRS, Element::I64(mRS), mAllocSize);
117 mLong2Allocation = Allocation::createSized(mRS, Element::I64_2(mRS), mAllocSize / 2);
118 mLong3Allocation = Allocation::createSized(mRS, Element::I64_3(mRS), mAllocSize / 4);
121 mBoolAllocation = Allocation::createSized(mRS, Element::BOOLEAN(mRS), mAllocSize);
173 Type::Builder typeU8_2Builder(mRS, Element::U8_2(mRS));
177 mUCharAllocation = Allocation::createSized(mRS, Element::U8(mRS), mAllocSize);
179 mUChar3Allocation = Allocation::createSized(mRS, Element::U8_3(mRS), mAllocSize / 4);
180 mUChar4Allocation = Allocation::createSized(mRS, Element::U8_4(mRS), mAllocSize / 4);
182 Type::Builder typeU16_3Builder(mRS, Element::U16_3(mRS));
186 mUShortAllocation = Allocation::createSized(mRS, Element::U16(mRS), mAllocSize);
187 mUShort2Allocation = Allocation::createSized(mRS, Element::U16_2(mRS), mAllocSize / 2);
189 mUShort4Allocation = Allocation::createSized(mRS, Element::U16_4(mRS), mAllocSize / 4);
191 Type::Builder typeU32_4Builder(mRS, Element::U32_4(mRS));
196 mUIntAllocation = Allocation::createSized(mRS, Element::U32(mRS), mAllocSize);
197 mUInt2Allocation = Allocation::createSized(mRS, Element::U32_2(mRS), mAllocSize / 2);
198 mUInt3Allocation = Allocation::createSized(mRS, Element::U32_3(mRS), mAllocSize / 4);
201 Type::Builder typeU64Builder(mRS, Element::U64(mRS));
207 mULong2Allocation = Allocation::createSized(mRS, Element::U64_2(mRS), mAllocSize / 2);
208 mULong3Allocation = Allocation::createSized(mRS, Element::U64_3(mRS), mAllocSize / 4);
209 mULong4Allocation = Allocation::createSized(mRS, Element::U64_4(mRS), mAllocSize / 4);
255 Type::Builder typeF16_3Builder(mRS, Element::F16_3(mRS));
259 mHalfAllocation = Allocation::createSized(mRS, Element::F16(mRS), mAllocSize);
260 mHalf2Allocation = Allocation::createSized(mRS, Element::F16_2(mRS), mAllocSize / 2);
262 mHalf4Allocation = Allocation::createSized(mRS, Element::F16_4(mRS), mAllocSize / 4);
264 Type::Builder typeF32_4Builder(mRS, Element::F32_4(mRS));
268 mFloatAllocation = Allocation::createSized(mRS, Element::F32(mRS), mAllocSize);
269 mFloat2Allocation = Allocation::createSized(mRS, Element::F32_2(mRS), mAllocSize / 2);
270 mFloat3Allocation = Allocation::createSized(mRS, Element::F32_3(mRS), mAllocSize / 4);
273 Type::Builder typeF64_2Builder(mRS, Element::F64_2(mRS));
278 mDoubleAllocation = Allocation::createSized(mRS, Element::F64(mRS), mAllocSize);
281 Type::Builder typeF64_3Builder(mRS, Element::F64_3(mRS));
286 Type::Builder typeF64_4Builder(mRS, Element::F64_4(mRS));
336 Type::Builder typeRGBA_888Builder(mRS, Element::RGBA_8888(mRS));