/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrUtil.hpp | 43 #define VK_YCBCR_FORMAT_LAST ((vk::VkFormat)(VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR+1)) 48 MultiPlaneImageData (vk::VkFormat format, const tcu::UVec2& size); 52 vk::VkFormat getFormat (void) const { return m_format; } 53 const vk::PlanarFormatDescription& getDescription (void) const { return m_description; } 66 const vk::VkFormat m_format; 67 const vk::PlanarFormatDescription m_description; 70 std::vector<deUint8> m_planeData[vk::PlanarFormatDescription::MAX_PLANES]; 73 void checkImageSupport (Context& context, vk::VkFormat format, vk::VkImageCreateFlags createFlags, vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiSharedPresentableImageTests.cpp | 66 typedef vector<vk::VkExtensionProperties> Extensions; 74 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) 79 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, 81 vk::wsi::Type wsiType) 94 return vk::createDefaultInstance(vkp, vector<string>(), extensions); 97 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 99 vk::VkPhysicalDeviceFeatures features; 104 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice [all...] |
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, 81 vk::wsi::Type wsiType) 90 return vk::createDefaultInstance(vkp, vector<string>(), extensions); 93 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 95 vk::VkPhysicalDeviceFeatures features; 100 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, 78 vk::wsi::Type wsiType) 87 return vk::createDefaultInstance(vkp, vector<string>(), extensions); 90 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 92 vk::VkPhysicalDeviceFeatures features; 97 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineSpecConstantUtil.hpp | 45 GraphicsPipelineBuilder& setShader (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkShaderStageFlagBits stage, const vk::ProgramBinary& binary, const vk::VkSpecializationInfo* specInfo); 46 vk::Move<vk::VkPipeline> build (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineLayout pipelineLayout, const vk::VkRenderPass rend (…) [all...] |
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...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolOcclusionTests.cpp | 54 StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPrimitiveTopology primitive); 55 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices); 65 vk::Move<vk::VkPipeline> m_pipeline; 66 vk::Move<vk::VkPipelineLayout> m_pipelineLayout; 69 vk::Move<vk::VkImageView> m_attachmentView 326 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 354 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 365 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 562 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 611 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 619 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 770 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 787 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 859 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 875 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawImageObjectUtil.cpp | 47 vk::VkDeviceSize rowPitchOrZero, 48 vk::VkDeviceSize depthPitchOrZero, 52 vk::VkDeviceSize rowPitch = rowPitchOrZero; 53 vk::VkDeviceSize depthPitch = depthPitchOrZero; 61 const vk::VkDeviceSize size = depthPitch * depth; 70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && 71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; 82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); 99 vk::VkDeviceSize rowPitchOrZero [all...] |
vktDrawBaseClass.cpp | 32 DrawTestsBaseClass::DrawTestsBaseClass (Context& context, const char* vertexShaderName, const char* fragmentShaderName, vk::VkPrimitiveTopology topology) 34 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 44 const vk::VkDevice device = m_context.getDevice(); 48 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); 50 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; 51 const ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageExtent, 1, 1, vk::VK_SAMPLE_COUNT_1_BIT, 52 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...] |
vktDrawBaseClass.hpp | 108 DrawTestsBaseClass (Context& context, const char* vertexShaderName, const char* fragmentShaderName, vk::VkPrimitiveTopology topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP); 112 virtual void initPipeline (const vk::VkDevice device); 122 vk::VkFormat m_colorAttachmentFormat; 124 const vk::VkPrimitiveTopology m_topology; 126 const vk::DeviceInterface& m_vk; 128 vk::Move<vk::VkPipeline> m_pipeline; 129 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateBaseClass.hpp | 48 virtual void initPipeline (const vk::VkDevice device); 54 void beginRenderPassWithClearColor (const vk::VkClearColorValue& clearColor); 60 const vk::VkViewport* pViewports, 61 const vk::VkRect2D* pScissors); 85 vk::VkFormat m_colorAttachmentFormat; 87 vk::VkPrimitiveTopology m_topology; 89 const vk::DeviceInterface& m_vk; 91 vk::Move<vk::VkPipeline> m_pipeline; 92 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
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...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkNullDriver.hpp | 28 namespace vk namespace 35 } // vk
|
vkWsiPlatform.cpp | 26 namespace vk namespace 37 } // vk
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
vktBindingShaderAccessTests.cpp | 115 std::string genPerVertexBlock (const vk::VkShaderStageFlagBits stage, const glu::GLSLVersion version) 126 case vk::VK_SHADER_STAGE_VERTEX_BIT: 130 case vk::VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: 135 case vk::VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: 140 case vk::VK_SHADER_STAGE_GEOMETRY_BIT: 152 bool isUniformDescriptorType (vk::VkDescriptorType type) 154 return type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || 155 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || 156 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; 159 bool isDynamicDescriptorType (vk::VkDescriptorType type [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationCrossInstanceSharingTests.cpp | 55 vk::VkExternalMemoryHandleTypeFlagBitsKHR memoryHandleType_, 56 vk::VkExternalSemaphoreHandleTypeFlagBitsKHR semaphoreHandleType_, 70 const vk::VkExternalMemoryHandleTypeFlagBitsKHR memoryHandleType; 71 const vk::VkExternalSemaphoreHandleTypeFlagBitsKHR semaphoreHandleType; 75 bool checkQueueFlags (vk::VkQueueFlags availableFlags, const vk::VkQueueFlags neededFlags) 77 if ((availableFlags & (vk::VK_QUEUE_GRAPHICS_BIT | vk::VK_QUEUE_COMPUTE_BIT)) != 0) 78 availableFlags |= vk::VK_QUEUE_TRANSFER_BIT; 83 class SimpleAllocation : public vk::Allocatio [all...] |
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...] |
vktSynchronizationOperation.hpp | 118 const vk::DeviceInterface& vk, 119 const vk::VkDevice device, 120 vk::Allocator& allocator); 122 OperationContext (const vk::InstanceInterface& vki, 123 const vk::DeviceInterface& vkd, 124 vk::VkPhysicalDevice physicalDevice, 125 vk::VkDevice device, 126 vk::Allocator& allocator, 128 vk::ProgramCollection<vk::ProgramBinary>& programCollection [all...] |
/external/deqp/framework/platform/null/ |
tcuNullPlatform.hpp | 37 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform, private vk::Platform 45 virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platform&>(*this); } 48 virtual vk::Library* createLibrary (void) const; 49 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const;
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryPipelineBarrierTests.cpp | 98 ALL_PIPELINE_STAGES = vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT 99 | vk::VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT 100 | vk::VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT 101 | vk::VK_PIPELINE_STAGE_VERTEX_INPUT_BIT 102 | vk::VK_PIPELINE_STAGE_VERTEX_SHADER_BIT 103 | vk::VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT 104 | vk::VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT 105 | vk::VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT 106 | vk::VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT 107 | vk::VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BI [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmUtils.hpp | 60 vk::VkPhysicalDeviceFeatures coreFeatures; 65 , coreFeatures (vk::VkPhysicalDeviceFeatures()) 70 bool is16BitStorageFeaturesSupported (const vk::InstanceInterface& vkInstance, 71 vk::VkPhysicalDevice device, 76 bool isVariablePointersFeaturesSupported (const vk::InstanceInterface& vkInstance, 77 vk::VkPhysicalDevice device, 84 vk::Move<vk::VkDevice> createDeviceWithExtensions (Context& context, 90 vk::Allocator* createAllocator (const vk::InstanceInterface& instanceInterface [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 | 36 namespace vk namespace 54 const vk::PlatformInterface& platformInterface, 55 vk::ProgramCollection<vk::ProgramBinary>& progCollection); 59 const vk::PlatformInterface& getPlatformInterface (void) const { return m_platformInterface; } 60 vk::ProgramCollection<vk::ProgramBinary>& getBinaryCollection (void) const { return m_progCollection; } 62 // Default instance & device, selected with --deqp-vk-device-id=N 64 vk::VkInstance getInstance (void) const; 65 const vk::InstanceInterface& getInstanceInterface (void) const [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBase.hpp | 42 vk::VkQueue queueHandle; 49 QueueRequirements(const vk::VkQueueFlags qFlags, const deUint32 qCount) 54 vk::VkQueueFlags queueFlags; 67 const Queue& getQueue (const vk::VkQueueFlags queueFlags, const deUint32 queueIndex) const; 68 const vk::DeviceInterface& getDeviceInterface (void) const { return *m_deviceDriver; } 69 vk::VkDevice getDevice (void) const { return *m_logicalDevice; } 70 vk::Allocator& getAllocator (void) { return *m_allocator; } 73 std::map<vk::VkQueueFlags, std::vector<Queue> > m_queues; 74 de::MovePtr<vk::DeviceDriver> m_deviceDriver; 75 vk::Move<vk::VkDevice> m_logicalDevice [all...] |
/external/vulkan-validation-layers/demos/ |
cube.cpp | 71 vk::Sampler sampler; 73 vk::Image image; 74 vk::ImageLayout imageLayout; 76 vk::MemoryAllocateInfo mem_alloc; 77 vk::DeviceMemory mem; 78 vk::ImageView view; 196 vk::Image image; 197 vk::CommandBuffer cmd; 198 vk::CommandBuffer graphics_to_present_cmd; 199 vk::ImageView view [all...] |