Searched refs:res_create_buf (Results 1 – 2 of 2) sorted by relevance
284 uint32_t res_create_buf[VCMD_RES_CREATE2_SIZE], vtest_hdr[VTEST_HDR_SIZE]; in virgl_vtest_send_resource_create2() local289 res_create_buf[VCMD_RES_CREATE2_RES_HANDLE] = handle; in virgl_vtest_send_resource_create2()290 res_create_buf[VCMD_RES_CREATE2_TARGET] = target; in virgl_vtest_send_resource_create2()291 res_create_buf[VCMD_RES_CREATE2_FORMAT] = format; in virgl_vtest_send_resource_create2()292 res_create_buf[VCMD_RES_CREATE2_BIND] = bind; in virgl_vtest_send_resource_create2()293 res_create_buf[VCMD_RES_CREATE2_WIDTH] = width; in virgl_vtest_send_resource_create2()294 res_create_buf[VCMD_RES_CREATE2_HEIGHT] = height; in virgl_vtest_send_resource_create2()295 res_create_buf[VCMD_RES_CREATE2_DEPTH] = depth; in virgl_vtest_send_resource_create2()296 res_create_buf[VCMD_RES_CREATE2_ARRAY_SIZE] = array_size; in virgl_vtest_send_resource_create2()297 res_create_buf[VCMD_RES_CREATE2_LAST_LEVEL] = last_level; in virgl_vtest_send_resource_create2()[all …]
235 uint32_t res_create_buf[VCMD_RES_CREATE_SIZE]; in vtest_create_resource() local239 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()[all …]