Lines Matching defs:image
41 assert(image_view->vk.image);
42 const struct v3dv_image *image = (struct v3dv_image *) image_view->vk.image;
44 assert(image->vk.samples == VK_SAMPLE_COUNT_1_BIT ||
45 image->vk.samples == VK_SAMPLE_COUNT_4_BIT);
46 const uint32_t msaa_scale = image->vk.samples == VK_SAMPLE_COUNT_1_BIT ? 1 : 2;
51 (image->slices[0].tiling == V3D_TILING_UIF_XOR ||
52 image->slices[0].tiling == V3D_TILING_UIF_NO_XOR);
54 tex.level_0_xor_enable = (image->slices[0].tiling == V3D_TILING_UIF_XOR);
57 tex.level_0_ub_pad = image->slices[0].ub_pad;
81 if (image->vk.image_type == VK_IMAGE_TYPE_3D) {
82 tex.image_depth = image->vk.extent.depth;
88 * arrays we want to set image depth to layers / 6, but not when doing
89 * image load/store.
97 tex.image_height = image->vk.extent.height * msaa_scale;
98 tex.image_width = image->vk.extent.width * msaa_scale;
103 if (image->vk.image_type == VK_IMAGE_TYPE_1D) {
109 tex.array_stride_64_byte_aligned = image->cube_map_stride / 64;
116 * the image bo to the job using the texture.
119 image->mem->bo->offset +
120 v3dv_layer_offset(image, 0, image_view->vk.base_array_layer);
165 * the image bo to the job using the texture.