/external/vulkan-validation-layers/tests/ |
H A D | layer_validation_tests.cpp | 364 VkConstantBufferObj constantBuffer(m_device, bufSize * 2, sizeof(float), 367 VkShaderObj vs(m_device, vertShaderText, VK_SHADER_STAGE_VERTEX_BIT, this); 368 VkShaderObj ps(m_device, fragShaderText, VK_SHADER_STAGE_FRAGMENT_BIT, 371 VkPipelineObj pipelineobj(m_device); 409 VkDescriptorSetObj descriptorSet(m_device); 492 buffer.init_as_dst(*m_device, (VkDeviceSize)20, reqs); 498 testFence.init(*m_device, fenceInfo); 513 err = vkQueueSubmit( m_device->m_queue, 1, &submit_info, testFence.handle()); 543 testFence.init(*m_device, fenceInfo); 558 err = vkQueueSubmit( m_device [all...] |
H A D | vkrenderframework.h | 68 VkDeviceObj *m_device; member in class:VkDepthStencilObj 82 VkDevice device() { return m_device->device(); } 112 VkDeviceObj *m_device; member in class:VkRenderFramework 231 VkDeviceObj *m_device; member in class:VkCommandBufferObj 263 VkDeviceObj *m_device; member in class:VkConstantBufferObj 328 m_targetView.init(*m_device, createView); 340 VkDeviceObj *device() const { return m_device; } 343 VkDeviceObj *m_device; member in class:VkImageObj 356 VkDeviceObj *m_device; member in class:VkTextureObj 366 VkDeviceObj *m_device; member in class:VkSamplerObj 385 VkDeviceObj *m_device; member in class:VkDescriptorSetObj 408 VkDeviceObj *m_device; member in class:VkShaderObj 448 VkDeviceObj *m_device; member in class:VkPipelineObj [all...] |
H A D | vkrenderframework.cpp | 141 m_device = 159 m_device->get_device_queue(); 190 delete m_device; 198 m_render_target_fmt = VkTestFramework::GetFormat(inst, m_device); 221 cmd_pool_info.queueFamilyIndex = m_device->graphics_queue_node_index_; 226 m_commandBuffer = new VkCommandBufferObj(m_device, m_commandPool); 298 VkImageObj *img = new VkImageObj(m_device); 302 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), 419 : m_device(device), m_nextSlot(0) {} 491 init(*m_device, poo [all...] |
/external/rmi4utils/rmi4update/ |
H A D | rmi4update.cpp | 99 rc = m_device.QueryBasicProperties(); 104 if (m_firmwareImage.GetFirmwareID() <= m_device.GetFirmwareID()) { 106 m_firmwareImage.GetFirmwareID(), m_device.GetFirmwareID()); 113 m_device.PrintProperties(); 165 rc = m_device.Write(m_f34StatusAddr, &eraseAll, 1); 210 m_device.Reset(); 211 m_device.RebindDriver(); 221 rc = m_device.Write(m_f01.GetControlBase() + 1, &interruptEnabeMask, 1); 230 if (0 > m_device.ScanPDT()) 233 if (!m_device [all...] |
H A D | rmi4update.h | 29 RMI4Update(RMIDevice & device, FirmwareImage & firmwareImage) : m_device(device), 47 RMIDevice & m_device; member in class:RMI4Update
|
/external/deqp/external/vulkancts/modules/vulkan/ |
H A D | vktTestCase.cpp | 187 VkDevice getDevice (void) const { return *m_device; } 209 const Unique<VkDevice> m_device; member in class:vkt::DefaultDevice 221 , m_device (createDefaultDevice(m_instanceInterface, m_physicalDevice, m_universalQueueFamilyIndex, m_deviceFeatures, m_deviceExtensions, cmdLine)) 222 , m_deviceInterface (m_instanceInterface, *m_device) 233 m_deviceInterface.getDeviceQueue(*m_device, m_universalQueueFamilyIndex, 0, &queue); 279 , m_device (new DefaultDevice(m_platformInterface, testCtx.getCommandLine())) 280 , m_allocator (createAllocator(m_device.get())) 288 vk::VkInstance Context::getInstance (void) const { return m_device->getInstance(); } 289 const vk::InstanceInterface& Context::getInstanceInterface (void) const { return m_device->getInstanceInterface(); } 290 vk::VkPhysicalDevice Context::getPhysicalDevice (void) const { return m_device [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiComputeInstanceResultBuffer.cpp | 38 m_device(device), 40 m_buffer(createResultBuffer(m_vki, m_device, allocator, &m_bufferMem)), 47 invalidateMappedMemoryRange(m_vki, m_device, m_bufferMem->getMemory(), m_bufferMem->getOffset(), sizeof(*results));
|
H A D | vktApiComputeInstanceResultBuffer.hpp | 65 const vk::VkDevice m_device; member in class:vkt::api::ComputeInstanceResultBuffer
|
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkRef.hpp | 79 , m_device (device) 84 , m_device (DE_NULL) 92 VkDevice m_device; member in class:vk::refdetails::Deleter 188 , m_device (device) 193 , m_device (DE_NULL) 197 void operator() (VkDescriptorSet obj) const { m_deviceIface->freeDescriptorSets(m_device, m_pool, 1, &obj); } 201 VkDevice m_device; member in class:vk::refdetails::Deleter 211 , m_device (device) 216 , m_device (DE_NULL) 220 void operator() (VkCommandBuffer obj) const { m_deviceIface->freeCommandBuffers(m_device, m_poo 224 VkDevice m_device; member in class:vk::refdetails::Deleter [all...] |
H A D | vkMemUtil.cpp | 52 const VkDevice m_device; member in class:vk::__anon3750::HostPtr 67 , m_device (device) 75 m_vkd.unmapMemory(m_device, m_memory); 172 , m_device (device) 181 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); 185 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); 201 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); 207 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u));
|
H A D | vkRefUtilImpl.inl | 10 m_deviceIface->freeMemory(m_device, obj, m_allocator); 16 m_deviceIface->destroyFence(m_device, obj, m_allocator); 22 m_deviceIface->destroySemaphore(m_device, obj, m_allocator); 28 m_deviceIface->destroyEvent(m_device, obj, m_allocator); 34 m_deviceIface->destroyQueryPool(m_device, obj, m_allocator); 40 m_deviceIface->destroyBuffer(m_device, obj, m_allocator); 46 m_deviceIface->destroyBufferView(m_device, obj, m_allocator); 52 m_deviceIface->destroyImage(m_device, obj, m_allocator); 58 m_deviceIface->destroyImageView(m_device, obj, m_allocator); 64 m_deviceIface->destroyShaderModule(m_device, ob [all...] |
H A D | vkMemUtil.hpp | 132 const VkDevice m_device; member in class:vk::SimpleAllocator
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawBufferObjectUtil.cpp | 38 , m_device (device) 45 VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset()));
|
H A D | vktDrawBufferObjectUtil.hpp | 65 vk::VkDevice m_device; member in class:vkt::Draw::Buffer
|
H A D | vktDrawImageObjectUtil.cpp | 160 , m_device(device) 303 stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocator, vk::MemoryRequirement::HostVisible); 308 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 318 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 410 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); 437 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 442 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 452 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 584 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 593 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateBufferObjectUtil.cpp | 38 , m_device (device) 45 VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset()));
|
H A D | vktDynamicStateBufferObjectUtil.hpp | 66 vk::VkDevice m_device; member in class:vkt::DynamicState::Buffer
|
H A D | vktDynamicStateImageObjectUtil.cpp | 160 , m_device(device) 303 stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocator, vk::MemoryRequirement::HostVisible); 308 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 318 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 410 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); 437 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 442 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 452 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 584 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 593 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolBufferObjectUtil.cpp | 38 , m_device (device) 45 VK_CHECK(m_vk.bindBufferMemory(m_device, *m_object, allocation->getMemory(), allocation->getOffset()));
|
H A D | vktQueryPoolBufferObjectUtil.hpp | 65 vk::VkDevice m_device; member in class:vkt::QueryPool::Buffer
|
H A D | vktQueryPoolImageObjectUtil.cpp | 161 , m_device(device) 280 stagingResource = Buffer::createAndAlloc(m_vk, m_device, stagingBufferResourceCreateInfo, allocator, vk::MemoryRequirement::HostVisible); 285 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 295 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 387 m_vk.getImageSubresourceLayout(m_device, object(), &imageSubResource, &imageLayout); 414 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 419 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, ©CmdPoolCreateInfo)); 429 vk::Unique<vk::VkCommandBuffer> copyCmdBuffer(vk::allocateCommandBuffer(m_vk, m_device, &cmdBufferAllocateInfo)); 561 stagingResource = Image::createAndAlloc(m_vk, m_device, stagingResourceCreateInfo, allocator, 570 vk::Unique<vk::VkCommandPool> copyCmdPool(vk::createCommandPool(m_vk, m_device, [all...] |
/external/rmi4utils/f54test/ |
H A D | f54test.cpp | 70 retval = m_device.QueryBasicProperties(); 95 retval = m_device.Write(m_f54.GetDataBase(), &data, 1); 203 retval = m_device.Read(m_f54Control.reg_41.address, 236 if (0 > m_device.ScanPDT(0x00, 10)) 239 if (!m_device.GetFunction(m_f01, 0x01)) 242 if (!m_device.GetFunction(m_f54, 0x54)) 245 if (!m_device.GetFunction(m_f55, 0x55)) 257 retval = m_device.Read(query_addr, 271 retval = m_device.Read(query_addr + offset, 285 retval = m_device [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 133 const VkDevice m_device; member in class:vkt::compute::__anon3800::ComputeBuiltinVarInstance 370 , m_device (m_context.getDevice()) 413 Buffer uniformBuffer(m_vki, m_device, m_context.getDefaultAllocator(), makeBufferCreateInfo(sizeOfUniformBuffer, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT), MemoryRequirement::HostVisible); 414 Buffer resultBuffer(m_vki, m_device, m_context.getDefaultAllocator(), makeBufferCreateInfo(resultBufferSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 419 flushMappedMemoryRange(m_vki, m_device, alloc.getMemory(), alloc.getOffset(), sizeOfUniformBuffer); 427 .build(m_vki, m_device)); 429 const Unique<VkShaderModule> shaderModule(createShaderModule(m_vki, m_device, m_context.getBinaryCollection().get(program_name.str()), 0u)); 430 const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(m_vki, m_device, *descriptorSetLayout)); 431 const Unique<VkPipeline> pipeline(makeComputePipeline(m_vki, m_device, *pipelineLayout, *shaderModule)); 437 .build(m_vki, m_device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BI [all...] |
H A D | vktComputeIndirectComputeDispatchTests.cpp | 143 const vk::VkDevice m_device; member in class:vkt::compute::__anon3798::IndirectDispatchInstanceBufferUpload 168 , m_device (context.getDevice()) 198 vk::flushMappedMemoryRange(m_device_interface, m_device, alloc.getMemory(), alloc.getOffset(), m_bufferSize); 223 m_device_interface, m_device, m_allocator, 241 vk::flushMappedMemoryRange(m_device_interface, m_device, alloc.getMemory(), alloc.getOffset(), resultBufferSize); 246 m_device_interface, m_device, m_context.getBinaryCollection().get("indirect_dispatch_" + m_name + "_verify"), 0u)); 251 vk::Unique<vk::VkDescriptorSetLayout> descriptorSetLayout(layoutBuilder.build(m_device_interface, m_device)); 254 const vk::Unique<vk::VkPipelineLayout> pipelineLayout(makePipelineLayout(m_device_interface, m_device, *descriptorSetLayout)); 255 const vk::Unique<vk::VkPipeline> computePipeline(makeComputePipeline(m_device_interface, m_device, *pipelineLayout, *verifyShader)); 261 .build(m_device_interface, m_device, v [all...] |
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingShaderAccessTests.cpp | 351 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::SingleTargetRenderInstance 371 , m_device (context.getDevice()) 376 , m_colorAttachmentImage (createColorAttachment(m_vki, m_device, m_allocator, m_targetFormat, m_targetSize, &m_colorAttachmentMemory)) 377 , m_colorAttachmentView (createColorAttachmentView(m_vki, m_device, m_targetFormat, *m_colorAttachmentImage)) 378 , m_renderPass (createRenderPass(m_vki, m_device, m_targetFormat)) 379 , m_framebuffer (createFramebuffer(m_vki, m_device, *m_renderPass, *m_colorAttachmentView, m_targetSize)) 380 , m_cmdPool (createCommandPool(m_vki, m_device, context.getUniversalQueueFamilyIndex())) 549 const vk::Unique<vk::VkBuffer> buffer (vk::createBuffer(m_vki, m_device, &bufferCreateInfo)); 621 const de::MovePtr<vk::Allocation> bufferMemory = allocateAndBindObjectMemory(m_vki, m_device, m_allocator, *buffer, vk::MemoryRequirement::HostVisible); 623 const vk::Unique<vk::VkCommandBuffer> cmd (vk::allocateCommandBuffer(m_vki, m_device, 1561 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::ComputeInstanceResultBuffer 1737 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::ComputeCommand 1891 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::BufferComputeInstance 3617 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::ImageFetchComputeInstance 4643 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::ImageSampleComputeInstance 5846 const vk::VkDevice m_device; member in class:vkt::BindingModel::__anon3775::TexelBufferComputeInstance [all...] |