Lines Matching refs:buf32
190 skvm::Ptr buf32 = b.varying<int>(), in DEF_TEST() local
194 skvm::I32 x = b.load32(buf32); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
205 int buf32[N]; in DEF_TEST() local
210 buf32[i] = i; in DEF_TEST()
217 program.eval(N, &uniforms, buf32, buf16, buf8); in DEF_TEST()
219 REPORTER_ASSERT(r, buf32[i] == 12 && buf16[i] == 12 && buf8[i] == 12); i++; in DEF_TEST()
220 REPORTER_ASSERT(r, buf32[i] == 34 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
221 REPORTER_ASSERT(r, buf32[i] == 56 && buf16[i] == 34 && buf8[i] == 0); i++; in DEF_TEST()
222 REPORTER_ASSERT(r, buf32[i] == 78 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
223 REPORTER_ASSERT(r, buf32[i] == 90 && buf16[i] == 56 && buf8[i] == 34); i++; in DEF_TEST()
224 REPORTER_ASSERT(r, buf32[i] == 98 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
225 REPORTER_ASSERT(r, buf32[i] == 76 && buf16[i] == 78 && buf8[i] == 0); i++; in DEF_TEST()
226 REPORTER_ASSERT(r, buf32[i] == 54 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
228 REPORTER_ASSERT(r, buf32[i] == 12 && buf16[i] == 90 && buf8[i] == 56); i++; in DEF_TEST()
229 REPORTER_ASSERT(r, buf32[i] == 34 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
230 REPORTER_ASSERT(r, buf32[i] == 56 && buf16[i] == 98 && buf8[i] == 0); i++; in DEF_TEST()
231 REPORTER_ASSERT(r, buf32[i] == 78 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
232 REPORTER_ASSERT(r, buf32[i] == 90 && buf16[i] == 76 && buf8[i] == 78); i++; in DEF_TEST()
233 REPORTER_ASSERT(r, buf32[i] == 98 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
234 REPORTER_ASSERT(r, buf32[i] == 76 && buf16[i] == 54 && buf8[i] == 0); i++; in DEF_TEST()
235 REPORTER_ASSERT(r, buf32[i] == 54 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
237 REPORTER_ASSERT(r, buf32[i] == 12 && buf16[i] == 12 && buf8[i] == 90); i++; in DEF_TEST()
238 REPORTER_ASSERT(r, buf32[i] == 34 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
239 REPORTER_ASSERT(r, buf32[i] == 56 && buf16[i] == 34 && buf8[i] == 0); i++; in DEF_TEST()
240 REPORTER_ASSERT(r, buf32[i] == 78 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
248 skvm::Ptr buf32 = b.varying<int>(), in DEF_TEST() local
252 skvm::I32 x = b.load32(buf32); in DEF_TEST()
254 b.store32(buf32, b.gather32(uniforms,0, x)); in DEF_TEST()
265 int buf32[64]; in DEF_TEST() local
270 buf32[i] = (i*47)&63; in DEF_TEST()
279 program.eval(64, &uniforms, buf32, buf16, buf8); in DEF_TEST()
288 REPORTER_ASSERT(r, buf32[ 0] == 0x03020100); in DEF_TEST()
289 REPORTER_ASSERT(r, buf32[63] == 0x47464544); in DEF_TEST()