/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsTestsUtils.hpp | 61 format(vk::VK_FORMAT_UNDEFINED), 72 vk::VkFormat format; 73 vk::VkDeviceSize numElements; 81 vk::VkDeviceSize maxSupportedSubgroupSize(); 83 std::string getShaderStageName(vk::VkShaderStageFlags stage); 85 std::string getSubgroupFeatureName(vk::VkSubgroupFeatureFlagBits bit); 87 std::string getVertShaderForStage(vk::VkShaderStageFlags stage); 92 Context& context, vk::VkShaderStageFlags stage); 94 bool areSubgroupOperationsRequiredForStage(vk::VkShaderStageFlags stage); 96 bool isSubgroupFeatureSupportedForDevice(Context& context, vk::VkSubgroupFeatureFlagBits bit) [all...] |
/external/deqp/framework/platform/lnx/ |
tcuLnxVulkanPlatform.cpp | 56 class VulkanWindowXlib : public vk::wsi::XlibWindowInterface 60 : vk::wsi::XlibWindowInterface (vk::pt::XlibWindow(window->getXID())) 74 class VulkanDisplayXlib : public vk::wsi::XlibDisplayInterface 78 : vk::wsi::XlibDisplayInterface (vk::pt::XlibDisplayPtr(((x11::XlibDisplay*)display.get())->getXDisplay())) 83 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const 99 class VulkanWindowXcb : public vk::wsi::XcbWindowInterface 103 : vk::wsi::XcbWindowInterface (vk::pt::XcbWindow(window->getXID()) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemAttachmentLoadTests.cpp | 59 const vk::VkClearValue& clearValue, 65 const vk::VkFormat m_imageFormat; 66 const vk::VkClearValue& m_clearValue; 77 vk::VkClearValue clearValue, 90 virtual void initPrograms (vk::SourceCollections& programCollection) const 95 vk::VkClearValue m_clearValue; 101 const vk::VkClearValue& clearValue, 105 , m_imageFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 115 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
vktProtectedMemClearColorImageTests.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...] |
vktProtectedMemFillUpdateCopyBufferTests.cpp | 115 virtual void initPrograms (vk::SourceCollections& programCollection) const 144 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 145 const vk::VkDevice device = ctx.getDevice(); 146 const vk::VkQueue queue = ctx.getQueue(); 150 de::MovePtr<vk::BufferWithMemory> dstBuffer (makeBuffer(ctx, 154 vk::VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT 155 | vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT, 156 vk::MemoryRequirement::Protected)); 158 de::MovePtr<vk::BufferWithMemory> srcBuffer (makeBuffer(ctx [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrUtil.cpp | 44 using namespace vk; 59 typedef de::SharedPtr<vk::Unique<VkBuffer> > VkBufferSp; 104 return vk::getChannelAccess(m_description, 124 return vk::getChannelAccess(m_description, 286 vk::MemoryRequirement requirement) 447 void fillImageMemory (const vk::DeviceInterface& vkd, 448 vk::VkDevice device, 450 vk::VkImage image, 451 const std::vector<de::SharedPtr<vk::Allocation> >& allocations, 453 vk::VkAccessFlags nextAccess [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkRefUtil.inl | 4 Move<VkInstance> createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 5 Move<VkDevice> createDevice (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 6 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 7 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 8 Move<VkSemaphore> createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 9 Move<VkEvent> createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 10 Move<VkQueryPool> createQueryPool (const DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 11 Move<VkBuffer> createBuffer (const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 12 Move<VkBufferView> createBufferView (const DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL); 13 Move<VkImage> createImage (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateCBTests.cpp | 52 m_topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; 62 virtual void initPipeline (const vk::VkDevice device) 64 const vk::Unique<vk::VkShaderModule> vs (createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_vertexShaderName), 0)); 65 const vk::Unique<vk::VkShaderModule> fs (createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_fragmentShaderName), 0)); 67 const vk::VkPipelineColorBlendAttachmentState VkPipelineColorBlendAttachmentState = 69 vk::VK_BLEND_FACTOR_SRC_ALPHA, vk::VK_BLEND_FACTOR_CONSTANT_COLOR, vk::VK_BLEND_OP_ADD [all...] |
vktDynamicStateVPTests.cpp | 55 m_topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; 79 const vk::VkQueue queue = m_context.getUniversalQueue(); 86 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); 88 const vk::VkDeviceSize vertexBufferOffset = 0; 89 const vk::VkBuffer vertexBuffer = m_vertexBuffer->object(); 97 vk::VkSubmitInfo submitInfo = 99 vk::VK_STRUCTURE_TYPE_SUBMIT_INFO, // VkStructureType sType; 103 (const vk::VkPipelineStageFlags*)DE_NULL, 117 const vk::VkOffset3D zeroOffset = { 0, 0, 0 }; 119 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT) [all...] |
vktDynamicStateGeneralTests.cpp | 60 m_topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; 73 const vk::VkQueue queue = m_context.getUniversalQueue(); 78 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; 79 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; 80 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } }; 86 m_vk.cmdBindPipeline(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); 88 const vk::VkDeviceSize vertexBufferOffset = 0; 89 const vk::VkBuffer vertexBuffer = m_vertexBuffer->object(); 103 vk::VkSubmitInfo submitInfo = 105 vk::VK_STRUCTURE_TYPE_SUBMIT_INFO, // VkStructureType sType [all...] |
/external/skia/tools/gpu/vk/ |
VkTestContext.h | 15 #include "vk/GrVkBackendContext.h" 29 const GrVkInterface* vk() const { return fVk->fInterface.get(); } function in class:sk_gpu_test::VkTestContext 32 VkTestContext(sk_sp<const GrVkBackendContext> vk) : fVk(std::move(vk)) {} 41 * Creates Vk context object bound to the native Vk library.
|
/external/skqp/tools/gpu/vk/ |
VkTestContext.h | 15 #include "vk/GrVkBackendContext.h" 29 const GrVkInterface* vk() const { return fVk->fInterface.get(); } function in class:sk_gpu_test::VkTestContext 32 VkTestContext(sk_sp<const GrVkBackendContext> vk) : fVk(std::move(vk)) {} 41 * Creates Vk context object bound to the native Vk library.
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeIndirectComputeDispatchTests.cpp | 70 vk::VkDeviceSize getResultBlockAlignedSize (const vk::InstanceInterface& instance_interface, 71 const vk::VkPhysicalDevice physicalDevice, 72 const vk::VkDeviceSize baseSize) 75 vk::VkPhysicalDeviceProperties deviceProperties; 77 vk::VkDeviceSize alignment = deviceProperties.limits.minStorageBufferOffsetAlignment; 132 virtual void fillIndirectBufferData (const vk::VkCommandBuffer commandBuffer, 136 const vk::VkDeviceSize resultBlockSize, 137 const vk::VkDeviceSize resultBufferSize) const; 142 const vk::DeviceInterface& m_device_interface [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleBase.hpp | 39 ImageMSParams(const vk::VkSampleCountFlagBits samples, const tcu::UVec3& size) : numSamples(samples), imageSize(size) {} 41 vk::VkSampleCountFlagBits numSamples; 72 typedef std::vector<vk::VkVertexInputAttributeDescription> VertexAttribDescVec; 76 vk::VkPrimitiveTopology primitiveTopology; 79 vk::VkDeviceSize dataSize; 85 void validateImageSize (const vk::InstanceInterface& instance, 86 const vk::VkPhysicalDevice physicalDevice, 90 void validateImageFeatureFlags (const vk::InstanceInterface& instance, 91 const vk::VkPhysicalDevice physicalDevice, 92 const vk::VkFormat format [all...] |
/external/deqp/framework/platform/win32/ |
tcuWin32VulkanPlatform.cpp | 48 DE_STATIC_ASSERT(sizeof(vk::pt::Win32InstanceHandle) == sizeof(HINSTANCE)); 49 DE_STATIC_ASSERT(sizeof(vk::pt::Win32WindowHandle) == sizeof(HWND)); 51 class VulkanWindow : public vk::wsi::Win32WindowInterface 55 : vk::wsi::Win32WindowInterface (vk::pt::Win32WindowHandle(window->getHandle())) 69 class VulkanDisplay : public vk::wsi::Win32DisplayInterface 73 : vk::wsi::Win32DisplayInterface (vk::pt::Win32InstanceHandle(instance)) 77 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const 87 class VulkanLibrary : public vk::Librar [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Helpers.h | 27 namespace vk { namespace 41 vk::EnumerateInstanceExtensionProperties(layer, &count, nullptr); 44 return vk::EnumerateInstanceExtensionProperties(layer, &count, exts.data()); 49 vk::EnumerateDeviceExtensionProperties(phy, layer, &count, nullptr); 52 return vk::EnumerateDeviceExtensionProperties(phy, layer, &count, exts.data()); 57 vk::EnumeratePhysicalDevices(instance, &count, nullptr); 60 return vk::EnumeratePhysicalDevices(instance, &count, phys.data()); 65 vk::EnumerateInstanceLayerProperties(&count, nullptr); 68 return vk::EnumerateInstanceLayerProperties(&count, layer_props.data()); 73 vk::GetPhysicalDeviceQueueFamilyProperties(phy, &count, nullptr) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferComputeInstance.cpp | 34 using namespace vk; 151 return vk::DescriptorPoolBuilder() 152 .addType(vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) 154 .build(vki, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1); 167 const vk::VkDescriptorBufferInfo resultInfo = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanceResultBuffer::DATA_SIZE); 168 const vk::VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDeviceSize)offset, (vk::VkDeviceSize)sizeof(tcu::Vec4[2])); 170 const vk::VkDescriptorSetAllocateInfo allocInfo [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationUtil.cpp | 32 using namespace vk; 108 Move<VkCommandBuffer> makeCommandBuffer (const DeviceInterface& vk, const VkDevice device, const VkCommandPool commandPool) 118 return allocateCommandBuffer(vk, device, &info); 121 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 134 return allocateDescriptorSet(vk, device, &info); 137 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 151 return createPipelineLayout(vk, device, &info); 154 Move<VkPipelineLayout> makePipelineLayoutWithoutDescriptors (const DeviceInterface& vk, 167 return createPipelineLayout(vk, device, &info); 170 Move<VkPipeline> makeComputePipeline (const DeviceInterface& vk, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmLoopDepInfTests.hpp | 40 void initPrograms (vk::SourceCollections& programCollection) const;
|
vktSpvAsmLoopDepLenTests.hpp | 40 void initPrograms (vk::SourceCollections& programCollection) const;
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiTests.cpp | 43 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) 54 for (int typeNdx = 0; typeNdx < vk::wsi::TYPE_LAST; ++typeNdx) 56 const vk::wsi::Type wsiType = (vk::wsi::Type)typeNdx;
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsMakeUtil.cpp | 34 using namespace vk; 98 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 111 return allocateDescriptorSet(vk, device, &info); 114 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 127 return createPipelineLayout(vk, device, &info); 130 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 144 return createPipelineLayout(vk, device, &info); 147 Move<VkPipeline> makeComputePipeline (const DeviceInterface& vk, 173 return createComputePipeline(vk, device, DE_NULL , &pipelineInfo); 176 Move<VkImageView> makeImageView (const DeviceInterface& vk, [all...] |
/external/vulkan-validation-layers/build-android/ |
android-generate.sh | 24 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.h ) 25 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.cpp ) 26 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.h ) 27 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.c ) 28 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h ) 29 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_object_types.h ) 30 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_dispatch_table_helper.h ) 31 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml thread_check.h ) 32 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml parameter_validation.cpp ) 33 ( cd generated/include; python3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml unique_objects_wrappers.h [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/build-android/ |
android-generate.sh | 24 python ../vk-generate.py Android dispatch-table-ops layer > generated/include/vk_dispatch_table_helper.h 29 ( cd generated/include; python ../../../lvl_genvk.py -registry ../../../vk.xml thread_check.h ) 30 ( cd generated/include; python ../../../lvl_genvk.py -registry ../../../vk.xml parameter_validation.h ) 31 ( cd generated/include; python ../../../lvl_genvk.py -registry ../../../vk.xml unique_objects_wrappers.h )
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderExecutor.hpp | 58 vk::ShaderBuildOptions buildOptions; 78 virtual void execute (int numValues, const void* const* inputs, void* const* outputs, vk::VkDescriptorSet extraResources = (vk::VkDescriptorSet)0) = 0; 94 void generateSources (glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceCollections& dst); 95 ShaderExecutor* createExecutor (Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::VkDescriptorSetLayout extraResourcesLayout = (vk::VkDescriptorSetLayout)0);
|