/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineVertexUtil.hpp | 50 deUint32 getVertexFormatSize (vk::VkFormat format); 51 deUint32 getVertexFormatComponentCount (vk::VkFormat format); 52 deUint32 getVertexFormatComponentSize (vk::VkFormat format); 53 bool isVertexFormatComponentOrderBGR (vk::VkFormat format); 54 bool isVertexFormatSint (vk::VkFormat format); 55 bool isVertexFormatUint (vk::VkFormat format); 56 bool isVertexFormatSfloat (vk::VkFormat format); 57 bool isVertexFormatUfloat (vk::VkFormat format); 58 bool isVertexFormatUnorm (vk::VkFormat format); 59 bool isVertexFormatSnorm (vk::VkFormat format) [all...] |
vktPipelineMultisampleBaseResolveAndPerSampleFetch.hpp | 46 void initPrograms (vk::SourceCollections& programCollection) const; 60 virtual vk::VkPipelineMultisampleStateCreateInfo getMSStateCreateInfo (const ImageMSParams& imageMSParams) const; 62 virtual const vk::VkDescriptorSetLayout* createMSPassDescSetLayout (const ImageMSParams& imageMSParams); 64 virtual const vk::VkDescriptorSet* createMSPassDescSet (const ImageMSParams& imageMSParams, 65 const vk::VkDescriptorSetLayout* descSetLayout); 67 virtual tcu::TestStatus verifyImageData (const vk::VkImageCreateInfo& imageMSInfo, 68 const vk::VkImageCreateInfo& imageRSInfo,
|
vktPipelineMakeUtil.cpp | 35 using namespace vk; 38 Buffer::Buffer (const vk::DeviceInterface& vk, 39 const vk::VkDevice device, 40 vk::Allocator& allocator, 41 const vk::VkBufferCreateInfo& bufferCreateInfo, 42 const vk::MemoryRequirement memoryRequirement) 43 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 44 , m_allocation (bindBuffer(vk, device, allocator, *m_buffer, memoryRequirement)) 48 Image::Image (const vk::DeviceInterface& vk [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmUtils.hpp | 60 vk::VkPhysicalDeviceFeatures coreFeatures; 65 , coreFeatures (vk::VkPhysicalDeviceFeatures()) 71 const vk::InstanceInterface& vkInstance, 72 vk::VkPhysicalDevice device, 78 const vk::InstanceInterface& vkInstance, 79 vk::VkPhysicalDevice device, 86 vk::Move<vk::VkDevice> createDeviceWithExtensions (Context& context, 92 vk::Allocator* createAllocator (const vk::InstanceInterface& instanceInterface [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateBaseClass.cpp | 38 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 39 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) 48 const vk::VkDevice device = m_context.getDevice(); 52 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); 54 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; 55 const ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageExtent, 1, 1, vk::VK_SAMPLE_COUNT_1_BIT, 56 vk::VK_IMAGE_TILING_OPTIMAL, vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT | vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT) [all...] |
vktDynamicStateRSTests.cpp | 53 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 54 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) 69 vk::VkFormat m_colorAttachmentFormat; 70 vk::VkFormat m_depthStencilAttachmentFormat; 72 vk::VkPrimitiveTopology m_topology; 74 const vk::DeviceInterface& m_vk; 76 vk::Move<vk::VkPipeline> m_pipeline; 77 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
vktDynamicStateDSTests.cpp | 60 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 61 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) 76 vk::VkFormat m_colorAttachmentFormat; 77 vk::VkFormat m_depthStencilAttachmentFormat; 79 vk::VkPrimitiveTopology m_topology; 81 const vk::DeviceInterface& m_vk; 83 vk::Move<vk::VkPipeline> m_pipeline_1; 84 vk::Move<vk::VkPipeline> m_pipeline_2 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiIncrementalPresentTests.cpp | 66 typedef vector<vk::VkExtensionProperties> Extensions; 74 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) 79 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, 82 vk::wsi::Type wsiType) 91 return vk::createDefaultInstance(vkp, version, vector<string>(), extensions); 94 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 96 vk::VkPhysicalDeviceFeatures features; 101 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice [all...] |
vktWsiDisplayTimingTests.cpp | 63 typedef vector<vk::VkExtensionProperties> Extensions; 71 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) 76 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, 79 vk::wsi::Type wsiType) 88 return vk::createDefaultInstance(vkp, version, vector<string>(), extensions); 91 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 93 vk::VkPhysicalDeviceFeatures features; 98 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryPipelineBarrierTests.cpp | 99 ALL_PIPELINE_STAGES = vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT 100 | vk::VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT 101 | vk::VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT 102 | vk::VK_PIPELINE_STAGE_VERTEX_INPUT_BIT 103 | vk::VK_PIPELINE_STAGE_VERTEX_SHADER_BIT 104 | vk::VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT 105 | vk::VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT 106 | vk::VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT 107 | vk::VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT 108 | vk::VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BI [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemYCbCrConversionTests.cpp | 50 static const vk::VkFormat s_colorFormat = vk::VK_FORMAT_R8G8B8A8_UNORM; 99 vk::VkFormat format_, 100 vk::VkImageTiling imageTiling_, 101 vk::VkFilter textureFilter_, 102 vk::VkSamplerAddressMode addressModeU_, 103 vk::VkSamplerAddressMode addressModeV_, 105 vk::VkFilter chromaFilter_, 106 vk::VkChromaLocation xChromaOffset_, 107 vk::VkChromaLocation yChromaOffset_ 317 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 496 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 765 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 809 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 1143 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
vktProtectedMemStorageBufferTests.cpp | 123 void static addBufferCopyCmd (const vk::DeviceInterface& vk, 124 vk::VkCommandBuffer cmdBuffer, 126 vk::VkBuffer srcBuffer, 127 vk::VkBuffer dstBuffer, 130 const vk::VkBufferMemoryBarrier dstWriteStartBarrier = 132 vk::VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, // VkStructureType sType 135 vk::VK_ACCESS_SHADER_WRITE_BIT, // VkAccessFlags dstAccessMask 142 vk.cmdPipelineBarrier(cmdBuffer, 143 vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT 366 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 565 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
vktProtectedMemBlitImageTests.cpp | 58 const vk::VkClearColorValue& clearColorValue, 65 const vk::VkFormat m_imageFormat; 66 const vk::VkClearColorValue& m_clearColorValue; 77 vk::VkClearColorValue clearColorValue, 92 virtual void initPrograms (vk::SourceCollections& programCollection) const 97 vk::VkClearColorValue m_clearColorValue; 104 const vk::VkClearColorValue& clearColorValue, 109 , m_imageFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 120 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
vktProtectedMemCopyImageTests.cpp | 58 const vk::VkClearColorValue& clearColorValue, 65 const vk::VkFormat m_imageFormat; 66 const vk::VkClearColorValue& m_clearColorValue; 77 vk::VkClearColorValue clearColorValue, 92 virtual void initPrograms (vk::SourceCollections& programCollection) const 97 vk::VkClearColorValue m_clearColorValue; 104 const vk::VkClearColorValue& clearColorValue, 109 , m_imageFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 120 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktDrawUtil.hpp | 45 vk::VkPrimitiveTopology topology; 46 vk::VkFormat colorFormat; 47 vk::VkFormat depthFormat; 60 DrawState (const vk::VkPrimitiveTopology topology_, deUint32 renderWidth_, deUint32 renderHeight_); 119 vk::VkShaderStageFlagBits stage; 120 const vk::ProgramBinary* binary; 122 VulkanShader (const vk::VkShaderStageFlagBits stage_, const vk::ProgramBinary& binary_) 132 vk::VkImageView depthImageView; // \todo [2017-06-06 pyry] This shouldn't be here? Doesn't logically belong to program 133 vk::VkDescriptorSetLayout descriptorSetLayout [all...] |
vktTestCase.hpp | 38 namespace vk namespace 54 const vk::PlatformInterface& platformInterface, 55 vk::BinaryCollection& progCollection); 59 const vk::PlatformInterface& getPlatformInterface (void) const { return m_platformInterface; } 60 vk::BinaryCollection& getBinaryCollection (void) const { return m_progCollection; } 62 // Default instance & device, selected with --deqp-vk-device-id=N 65 vk::VkInstance getInstance (void) const; 66 const vk::InstanceInterface& getInstanceInterface (void) const; 67 vk::VkPhysicalDevice getPhysicalDevice (void) const; 69 const vk::VkPhysicalDeviceFeatures& getDeviceFeatures (void) const [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiExternalMemoryTests.cpp | 79 std::string getFormatCaseName (vk::VkFormat format) 84 vk::VkMemoryDedicatedRequirements getMemoryDedicatedRequirements (const vk::DeviceInterface& vkd, 85 vk::VkDevice device, 86 vk::VkBuffer buffer) 88 const vk::VkBufferMemoryRequirementsInfo2 requirementInfo = 90 vk::VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2, 94 vk::VkMemoryDedicatedRequirements dedicatedRequirements = 96 vk::VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS, 101 vk::VkMemoryRequirements2 requirements [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkYCbCrImageWithMemory.cpp | 30 namespace vk namespace 33 YCbCrImageWithMemory::YCbCrImageWithMemory (const vk::DeviceInterface& vk, 34 const vk::VkDevice device, 35 vk::Allocator& allocator, 36 const vk::VkImageCreateInfo& imageCreateInfo, 37 const vk::MemoryRequirement requirement) 38 : m_image (createImage(vk, device, &imageCreateInfo)) 46 const VkMemoryRequirements reqs = getImagePlaneMemoryRequirements(vk, device, *m_image, planeAspect); 50 bindImagePlaneMemory(vk, device, *m_image, m_allocations.back()->getMemory(), m_allocations.back()->getOffset(), planeAspe (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationBasicEventTests.cpp | 40 using namespace vk; 46 const DeviceInterface& vk = context.getDeviceInterface(); local 57 if (VK_SUCCESS != vk.createEvent(device, &eventInfo, DE_NULL, &event)) 60 ptrEvent = Move<VkEvent>(check<VkEvent>(event), Deleter<VkEvent>(vk, device, DE_NULL)); 62 if (VK_EVENT_RESET != vk.getEventStatus(device, event)) 65 if (VK_SUCCESS != vk.setEvent(device, event)) 68 if (VK_EVENT_SET != vk.getEventStatus(device, event)) 71 if (VK_SUCCESS != vk.resetEvent(device, event)) 74 if (VK_EVENT_RESET != vk.getEventStatus(device, event)) 82 const DeviceInterface& vk = context.getDeviceInterface() local 127 const DeviceInterface& vk = context.getDeviceInterface(); local 174 const DeviceInterface& vk = context.getDeviceInterface(); local 214 const DeviceInterface& vk = context.getDeviceInterface(); local 274 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktSynchronizationCrossInstanceSharingTests.cpp | 54 vk::VkExternalMemoryHandleTypeFlagBits memoryHandleType_, 55 vk::VkExternalSemaphoreHandleTypeFlagBits semaphoreHandleType_, 69 const vk::VkExternalMemoryHandleTypeFlagBits memoryHandleType; 70 const vk::VkExternalSemaphoreHandleTypeFlagBits semaphoreHandleType; 98 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR 99 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR 100 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR) 106 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR 107 || config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR 108 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KH [all...] |
vktSynchronizationOperation.hpp | 118 const vk::DeviceInterface& vk, 119 const vk::VkDevice device, 120 vk::Allocator& allocator); 123 const vk::InstanceInterface& vki, 124 const vk::DeviceInterface& vkd, 125 vk::VkPhysicalDevice physicalDevice, 126 vk::VkDevice device, 127 vk::Allocator& allocator, 129 vk::BinaryCollection& programCollection [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureTestUtil.hpp | 116 void initializePrograms(vk::SourceCollections& programCollection, glu::Precision texCoordPrecision, const std::vector<Program>& programs); 138 vk::VkImage getImage (void) { return *m_textureImage; } 139 vk::VkImageView getImageView (void) { return *m_textureImageView; } 153 vk::Move<vk::VkImage> m_textureImage; 154 de::MovePtr<vk::Allocation> m_textureImageMemory; 155 vk::Move<vk::VkImageView> m_textureImageView; 163 TextureRenderer (Context& context, vk::VkSampleCountFlagBits sampleCount, deUint32 renderWidth, deUint32 renderHeight); 175 void clearImage (vk::VkImage image) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawCreateInfoUtil.cpp | 34 ImageSubresourceRange::ImageSubresourceRange (vk::VkImageAspectFlags _aspectMask, 47 ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r, 48 vk::VkComponentSwizzle _g, 49 vk::VkComponentSwizzle _b, 50 vk::VkComponentSwizzle _a) 58 ImageViewCreateInfo::ImageViewCreateInfo (vk::VkImage _image, 59 vk::VkImageViewType _viewType, 60 vk::VkFormat _format, 61 const vk::VkImageSubresourceRange& _subresourceRange, 62 const vk::VkComponentMapping& _components [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidPlatform.hpp | 39 class Platform : public tcu::Platform, private eglu::Platform, private glu::Platform, private vk::Platform 49 virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platform&>(*this); } 54 vk::Library* createLibrary (void) const; 56 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const; 57 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrConversionTests.cpp | 84 typedef de::SharedPtr<vk::Unique<vk::VkBuffer> > VkBufferSp; 85 typedef de::SharedPtr<vk::Allocation> AllocationSp; 123 vk::VkFormat format_, 124 vk::VkImageTiling imageTiling_, 125 vk::VkFilter textureFilter_, 126 vk::VkSamplerAddressMode addressModeU_, 127 vk::VkSamplerAddressMode addressModeV_, 129 vk::VkFilter chromaFilter_, 130 vk::VkChromaLocation xChromaOffset_ [all...] |