Home
last modified time | relevance | path

Searched refs:vk_testing (Results 1 – 16 of 16) sorted by relevance

/external/vulkan-validation-layers/tests/
Dvkrenderframework.h40 using vk_testing::MakeVkHandles;
50 typedef vk_testing::Queue VkQueueObj;
51 class VkDeviceObj : public vk_testing::Device {
177 typedef vk_testing::Fence VkFenceObj;
178 typedef vk_testing::Buffer VkBufferObj;
179 typedef vk_testing::AccelerationStructure VkAccelerationStructureObj;
181 class VkCommandPoolObj : public vk_testing::CommandPool {
186 class VkCommandBufferObj : public vk_testing::CommandBuffer {
251 class VkImageObj : public vk_testing::Image {
319 vk_testing::ImageView m_targetView;
[all …]
Dtest_environment.cpp38 namespace vk_testing { namespace
98 instance_extensions = vk_testing::GetGlobalExtensions(); in SetUp()
126 vk_testing::PhysicalDevice phys_dev(gpus[0]); in SetUp()
Dvktestframeworkandroid.cpp32 VkFormat VkTestFramework::GetFormat(VkInstance instance, vk_testing::Device *device) { in GetFormat()
51 void TestEnvironment::SetUp() { vk_testing::set_error_callback(test_error_callback); } in SetUp()
Dvkrenderframework.cpp186 VkPhysicalDeviceProperties props = vk_testing::PhysicalDevice(gpu()).properties(); in DeviceIsMockICD()
398 *props = vk_testing::PhysicalDevice(gpu()).properties(); in GetPhysicalDeviceProperties()
784 VkDeviceObj::VkDeviceObj(uint32_t id, VkPhysicalDevice obj) : vk_testing::Device(obj), id(id) { in VkDeviceObj()
793 : vk_testing::Device(obj), id(id) { in VkDeviceObj()
876 …m_writes.push_back(vk_testing::Device::write_descriptor_set(vk_testing::DescriptorSet(), m_nextSlo… in AppendBuffer()
896 …m_writes.push_back(vk_testing::Device::write_descriptor_set(vk_testing::DescriptorSet(), m_nextSlo… in AppendSamplerTexture()
936 vector<const vk_testing::DescriptorSetLayout *> layouts; in CreateVKDescriptorSet()
1192 VkImageCreateInfo imageCreateInfo = vk_testing::Image::create_info(); in InitNoLayout()
1211 vk_testing::Image::init(*m_device, imageCreateInfo, reqs); in InitNoLayout()
1213 vk_testing::Image::init_no_mem(*m_device, imageCreateInfo); in InitNoLayout()
[all …]
Dtest_environment.h32 namespace vk_testing {
Dvktestframeworkandroid.h45 VkFormat GetFormat(VkInstance instance, vk_testing::Device *device);
Dvktestframework.h62 VkFormat GetFormat(VkInstance instance, vk_testing::Device *device);
Dvktestframework.cpp133 vk_testing::set_error_callback(test_error_callback); in SetUp()
213 VkFormat VkTestFramework::GetFormat(VkInstance instance, vk_testing::Device *device) { in GetFormat()
Dvkpositivelayertests.cpp1838 … VkCommandBufferAllocateInfo cmdalloc = vk_testing::CommandBuffer::create_info(secondary_cmd_pool); in TEST_F()
2536 const VkWriteDescriptorSet descriptor_write = vk_testing::Device::write_descriptor_set( in TEST_F()
2537 vk_testing::DescriptorSet(), 0, 0, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1, &buffer_info); in TEST_F()
2552 const VkWriteDescriptorSet descriptor_write = vk_testing::Device::write_descriptor_set( in TEST_F()
2553 vk_testing::DescriptorSet(), 0, 0, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1, &buffer_info); in TEST_F()
3112 vk_testing::Fence testFence; in TEST_F()
6577 …auto alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, buffer_export.memor… in TEST_F()
6591 vk_testing::DeviceMemory memory_export; in TEST_F()
6620 …alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, buffer_import.memory_req… in TEST_F()
6622 vk_testing::DeviceMemory memory_import; in TEST_F()
[all …]
Dvktestbinding.cpp48 vk_testing::ErrorCallback error_callback;
62 namespace vk_testing { namespace
Dvktestbinding.h34 namespace vk_testing {
320 …static VkMemoryAllocateInfo get_resource_alloc_info(const vk_testing::Device &dev, const VkMemoryR…
Dvklayertests_command.cpp3708 vk_testing::Image color_image_no_transfer; in TEST_F()
3712 vk_testing::Image color_image; in TEST_F()
3715 …const VkImageSubresourceRange color_range = vk_testing::Image::subresource_range(image_create_info… in TEST_F()
3719 VkImageCreateInfo ds_image_create_info = vk_testing::Image::create_info(); in TEST_F()
3727 vk_testing::Image ds_image; in TEST_F()
3730 …const VkImageSubresourceRange ds_range = vk_testing::Image::subresource_range(ds_image_create_info… in TEST_F()
4165 VkWriteDescriptorSet descriptor_write = vk_testing::Device::write_descriptor_set( in TEST_F()
4166 vk_testing::DescriptorSet(), 0, 0, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1, &buffer_info); in TEST_F()
Dvklayertests_descriptor_renderpass_framebuffer.cpp4523 vk_testing::ImageView view; in TEST_F()
4529 vk_testing::Sampler sampler; in TEST_F()
4576 …auto do_test = [&](VkImageObj *image, vk_testing::ImageView *view, VkImageAspectFlags aspect_mask,… in TEST_F()
4651 vk_testing::ImageView stencil_view; in TEST_F()
4652 vk_testing::ImageView depth_view; in TEST_F()
5219 vk_testing::DescriptorPool ds_pool; in TEST_F()
5220 …ds_pool.init(*m_device, vk_testing::DescriptorPool::create_info(0, VK_DESCRIPTOR_TYPE_RANGE_SIZE, … in TEST_F()
5231 using UpDescriptorSet = std::unique_ptr<vk_testing::DescriptorSet>; in TEST_F()
5251 auto buff_view_ci = vk_testing::BufferView::createInfo(buffer.handle(), VK_FORMAT_R8_UNORM); in TEST_F()
5252 vk_testing::BufferView buffer_view_obj, storage_texel_buffer_view_obj; in TEST_F()
Dvklayertests_others.cpp618 vk_testing::Fence testFence; in TEST_F()
661 const auto q_props = vk_testing::PhysicalDevice(gpu()).queue_properties(); in TEST_F()
1146 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
1447 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
2408 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
2642 vk_testing::QueueCreateInfoArray queue_info(m_device->queue_props); in TEST_F()
3898 …VkMemoryAllocateInfo mai = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, mem_reqs, … in TEST_F()
Dvklayertests_buffer_image_memory_sampler.cpp676 auto image_ci = vk_testing::Image::create_info(); in TEST_F()
688 auto image_alloc_info = vk_testing::DeviceMemory::alloc_info(mem_reqs.size, 0); in TEST_F()
698 vk_testing::DeviceMemory mem; in TEST_F()
1521 vk_testing::Image src_image; in TEST_F()
6539 …auto buffer_alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, buffer.memor… in TEST_F()
6543 vk_testing::DeviceMemory dedicated_buffer_memory; in TEST_F()
6580 …auto image_alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, image.memory_… in TEST_F()
6582 vk_testing::DeviceMemory dedicated_image_memory; in TEST_F()
Dlayer_validation_tests.cpp1975 … qf->queue->submit({{qf->command_buffer, qf->command_buffer2}}, vk_testing::Fence(), positive); in operator ()()