Home | History | Annotate | Download | only in demos

Lines Matching full:textures

388     struct texture_object textures[DEMO_TEXTURE_COUNT];
1067 printf("Failed to load textures\n");
1168 /* Device can texture using linear textures */
1169 demo_prepare_texture_image(demo, tex_files[i], &demo->textures[i],
1185 demo, tex_files[i], &demo->textures[i], VK_IMAGE_TILING_OPTIMAL,
1195 demo_set_image_layout(demo, demo->textures[i].image,
1197 demo->textures[i].imageLayout,
1211 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, demo->textures[i].image,
1214 demo_set_image_layout(demo, demo->textures[i].image,
1217 demo->textures[i].imageLayout,
1264 &demo->textures[i].sampler);
1268 view.image = demo->textures[i].image;
1270 &demo->textures[i].view);
1680 tex_descs[i].sampler = demo->textures[i].sampler;
1681 tex_descs[i].imageView = demo->textures[i].view;
1806 vkDestroyImageView(demo->device, demo->textures[i].view, NULL);
1807 vkDestroyImage(demo->device, demo->textures[i].image, NULL);
1808 vkFreeMemory(demo->device, demo->textures[i].mem, NULL);
1809 vkDestroySampler(demo->device, demo->textures[i].sampler, NULL);
1870 vkDestroyImageView(demo->device, demo->textures[i].view, NULL);
1871 vkDestroyImage(demo->device, demo->textures[i].image, NULL);
1872 vkFreeMemory(demo->device, demo->textures[i].mem, NULL);
1873 vkDestroySampler(demo->device, demo->textures[i].sampler, NULL);