Lines Matching refs:rw
127 unsigned rw, unsigned rh, unsigned linear_stride,
141 void *linear = calloc(bpp, rw * linear_stride);
142 void *ref = calloc(bpp, store ? (tiled_width * tiled_height) : (rw * linear_stride));
145 for (unsigned i = 0; i < bpp * rw * linear_stride; ++i) {
149 panfrost_store_tiled_image(tiled, linear, rx, ry, rw, rh,
156 panfrost_load_tiled_image(linear, tiled, rx, ry, rw, rh,
160 ref_access_tiled(ref, store ? linear : tiled, rx, ry, rw, rh,
166 EXPECT_EQ(memcmp(ref, linear, bpp * rw * linear_stride), 0);
175 unsigned rw, unsigned rh, unsigned linear_stride,
178 test(width, height, rx, ry, rw, rh, linear_stride, format, true);
179 test(width, height, rx, ry, rw, rh, linear_stride, format, false);