Lines Matching refs:rc_3d

78     struct rutabaga_create_3d rc_3d = { 0 };  in rutabaga_cmd_create_resource_2d()  local
88 rc_3d.target = 2; in rutabaga_cmd_create_resource_2d()
89 rc_3d.format = c2d.format; in rutabaga_cmd_create_resource_2d()
90 rc_3d.bind = (1 << 1); in rutabaga_cmd_create_resource_2d()
91 rc_3d.width = c2d.width; in rutabaga_cmd_create_resource_2d()
92 rc_3d.height = c2d.height; in rutabaga_cmd_create_resource_2d()
93 rc_3d.depth = 1; in rutabaga_cmd_create_resource_2d()
94 rc_3d.array_size = 1; in rutabaga_cmd_create_resource_2d()
95 rc_3d.last_level = 0; in rutabaga_cmd_create_resource_2d()
96 rc_3d.nr_samples = 0; in rutabaga_cmd_create_resource_2d()
97 rc_3d.flags = VIRTIO_GPU_RESOURCE_FLAG_Y_0_TOP; in rutabaga_cmd_create_resource_2d()
99 result = rutabaga_resource_create_3d(vr->rutabaga, c2d.resource_id, &rc_3d); in rutabaga_cmd_create_resource_2d()
116 struct rutabaga_create_3d rc_3d = { 0 }; in rutabaga_cmd_create_resource_3d() local
127 rc_3d.target = c3d.target; in rutabaga_cmd_create_resource_3d()
128 rc_3d.format = c3d.format; in rutabaga_cmd_create_resource_3d()
129 rc_3d.bind = c3d.bind; in rutabaga_cmd_create_resource_3d()
130 rc_3d.width = c3d.width; in rutabaga_cmd_create_resource_3d()
131 rc_3d.height = c3d.height; in rutabaga_cmd_create_resource_3d()
132 rc_3d.depth = c3d.depth; in rutabaga_cmd_create_resource_3d()
133 rc_3d.array_size = c3d.array_size; in rutabaga_cmd_create_resource_3d()
134 rc_3d.last_level = c3d.last_level; in rutabaga_cmd_create_resource_3d()
135 rc_3d.nr_samples = c3d.nr_samples; in rutabaga_cmd_create_resource_3d()
136 rc_3d.flags = c3d.flags; in rutabaga_cmd_create_resource_3d()
138 result = rutabaga_resource_create_3d(vr->rutabaga, c3d.resource_id, &rc_3d); in rutabaga_cmd_create_resource_3d()