Lines Matching defs:texture
57 namespace texture
72 using namespace texture::util;
190 // Fill texture with colored grid.
202 // Upload texture data.
456 // Fill texture with colored grid.
699 // Fill texture with colored grid.
996 // Fill texture with colored grid.
1268 // Fill texture with colored grid.
1547 // Fill texture with colored grid.
2400 // Test idea: create texture with 3 levels, each of them having a unique nonzero color. Render gathering the color from a fixed
2401 // position in that texture (center point). Use the minLod parameter when creating the view to control which one should be the
2669 ImageWithMemory texture (vkd, device, alloc, texCreateInfo, MemoryRequirement::Any);
2687 texture.get(), // VkImage image;
2775 // Move the whole texture to VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL.
2776 const auto preClearBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, texture.get(), texSRR);
2779 // Fill each texture mip level with a different pseudorandom nonzero color.
2798 vkd.cmdClearColorImage(cmdBuffer, texture.get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &levelColor, 1u, &levelRange);
2801 // Move the whole texture to VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
2802 const auto postClearBarrier = makeImageMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, texture.get(), texSRR);
3613 } // texture