Lines Matching refs:res_create_buf
235 uint32_t res_create_buf[VCMD_RES_CREATE_SIZE]; in vtest_create_resource() local
239 ret = vtest_block_read(renderer.in_fd, &res_create_buf, sizeof(res_create_buf)); in vtest_create_resource()
240 if (ret != sizeof(res_create_buf)) in vtest_create_resource()
243 args.handle = res_create_buf[VCMD_RES_CREATE_RES_HANDLE]; in vtest_create_resource()
244 args.target = res_create_buf[VCMD_RES_CREATE_TARGET]; in vtest_create_resource()
245 args.format = res_create_buf[VCMD_RES_CREATE_FORMAT]; in vtest_create_resource()
246 args.bind = res_create_buf[VCMD_RES_CREATE_BIND]; in vtest_create_resource()
248 args.width = res_create_buf[VCMD_RES_CREATE_WIDTH]; in vtest_create_resource()
249 args.height = res_create_buf[VCMD_RES_CREATE_HEIGHT]; in vtest_create_resource()
250 args.depth = res_create_buf[VCMD_RES_CREATE_DEPTH]; in vtest_create_resource()
251 args.array_size = res_create_buf[VCMD_RES_CREATE_ARRAY_SIZE]; in vtest_create_resource()
252 args.last_level = res_create_buf[VCMD_RES_CREATE_LAST_LEVEL]; in vtest_create_resource()
253 args.nr_samples = res_create_buf[VCMD_RES_CREATE_NR_SAMPLES]; in vtest_create_resource()