HomeSort by relevance Sort by last modified time
    Searched refs:vk (Results 76 - 100 of 367) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiCommandBuffersTests.cpp 49 using namespace vk;
51 typedef de::SharedPtr<vk::Unique<vk::VkEvent> > VkEventSp;
481 /********* 19.1. Command Pools (5.1 in VK 1.0 Spec) ***************************/
485 const DeviceInterface& vk = context.getDeviceInterface(); local
488 createCommandPool(vk, vkDevice, 0u, queueFamilyIndex);
496 const DeviceInterface& vk = context.getDeviceInterface(); local
508 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks);
516 const DeviceInterface& vk = context.getDeviceInterface(); local
527 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL)
535 const DeviceInterface& vk = context.getDeviceInterface(); local
554 const DeviceInterface& vk = context.getDeviceInterface(); local
575 const DeviceInterface& vk = context.getDeviceInterface(); local
645 const DeviceInterface& vk = context.getDeviceInterface(); local
696 const DeviceInterface& vk = context.getDeviceInterface(); local
726 const DeviceInterface& vk = context.getDeviceInterface(); local
770 const DeviceInterface& vk = context.getDeviceInterface(); local
800 const DeviceInterface& vk = context.getDeviceInterface(); local
844 const DeviceInterface& vk = context.getDeviceInterface(); local
925 const DeviceInterface& vk = context.getDeviceInterface(); local
1016 const DeviceInterface& vk = context.getDeviceInterface(); local
1121 const DeviceInterface& vk = context.getDeviceInterface(); local
1205 const DeviceInterface& vk = context.getDeviceInterface(); local
1231 const DeviceInterface& vk = context.getDeviceInterface(); local
1313 const DeviceInterface& vk = context.getDeviceInterface(); local
1362 const DeviceInterface& vk = context.getDeviceInterface(); local
1448 const DeviceInterface& vk = context.getDeviceInterface(); local
1508 const DeviceInterface& vk = context.getDeviceInterface(); local
1596 const DeviceInterface& vk = context.getDeviceInterface(); local
1691 const DeviceInterface& vk = context.getDeviceInterface(); local
1855 const DeviceInterface& vk = context.getDeviceInterface(); local
1962 const DeviceInterface& vk = context.getDeviceInterface(); local
2192 const DeviceInterface& vk = context.getDeviceInterface(); local
2291 const DeviceInterface& vk = context.getDeviceInterface(); local
2426 const DeviceInterface& vk = context.getDeviceInterface(); local
2593 const DeviceInterface& vk = context.getDeviceInterface(); local
2771 const DeviceInterface& vk = context.getDeviceInterface(); local
2866 const DeviceInterface& vk = context.getDeviceInterface(); local
2962 const DeviceInterface& vk = context.getDeviceInterface(); local
3059 const DeviceInterface& vk = context.getDeviceInterface(); local
3152 const DeviceInterface& vk = context.getDeviceInterface(); local
3260 const DeviceInterface& vk = context.getDeviceInterface(); local
3398 const DeviceInterface& vk = context.getDeviceInterface(); local
3540 const DeviceInterface& vk = context.getDeviceInterface(); local
3649 const DeviceInterface& vk = context.getDeviceInterface(); local
3769 const DeviceInterface& vk = context.getDeviceInterface(); local
3928 const DeviceInterface& vk = context.getDeviceInterface(); local
    [all...]
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/
vktShaderLibrary.cpp 80 using vk::SourceCollections;
81 using vk::Move;
82 using vk::Unique;
728 vk::VkShaderModule getShader (glu::ShaderType type) const { return *m_shaderModules[type]; }
732 Move<vk::VkShaderModule> m_shaderModules[glu::SHADERTYPE_LAST];
745 m_shaderModules[shaderType] = vk::createShaderModule(context.getDeviceInterface(), context.getDevice(),
751 vector<vk::VkPipelineShaderStageCreateInfo> getPipelineShaderStageCreateInfo (const PipelineProgram& program)
753 vector<vk::VkPipelineShaderStageCreateInfo> infos;
759 const vk::VkPipelineShaderStageCreateInfo info =
761 vk::VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, // sTyp
    [all...]
vktTestPackage.cpp 87 vk::ProgramBinary* compileProgram (const vk::GlslSource& source, glu::ShaderProgramInfo* buildInfo)
89 return vk::buildProgram(source, buildInfo);
92 vk::ProgramBinary* compileProgram (const vk::SpirVAsmSource& source, vk::SpirVProgramInfo* buildInfo)
94 return vk::assembleProgram(source, buildInfo);
98 vk::ProgramBinary* buildProgram (const std::string& casePath,
100 const vk::BinaryRegistryReader& prebuiltBinRegistry,
102 vk::BinaryCollection* progCollection
    [all...]
  /external/deqp/framework/common/
tcuPlatform.hpp 38 namespace vk namespace
114 virtual const vk::Platform& getVulkanPlatform (void) const;
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleTestsUtil.hpp 57 vk::VkImageType mapImageType (const ImageType imageType);
58 vk::VkImageViewType mapImageViewType (const ImageType imageType);
76 vk::VkExtent3D mipLevelExtents (const vk::VkExtent3D& baseExtents, const deUint32 mipLevel);
78 deUint32 getImageMipLevelSizeInBytes (const vk::VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel);
79 deUint32 getImageSizeInBytes (const vk::VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevelsCount = 1u);
80 deUint32 getImageMaxMipLevels (const vk::VkImageFormatProperties& imageFormatProperties, const vk::VkExtent3D& extent);
93 void requireFeatures(const vk::InstanceInterface& instanceInterface, const vk::VkPhysicalDevice physicalDevice, const FeatureFlags flags)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeTestsUtil.cpp 28 using namespace vk;
35 Buffer::Buffer (const DeviceInterface& vk,
41 m_buffer = createBuffer(vk, device, &bufferCreateInfo);
42 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement);
43 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset()));
46 Image::Image (const DeviceInterface& vk,
52 m_image = createImage(vk, device, &imageCreateInfo);
53 m_allocation = allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement);
54 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()));
89 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex
    [all...]
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/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/draw/
vktDrawInstancedTests.cpp 63 vk::VkPrimitiveTopology topology;
103 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology)
107 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: return rr::PRIMITIVETYPE_POINTS;
108 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: return rr::PRIMITIVETYPE_LINES;
109 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP;
110 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: return rr::PRIMITIVETYPE_TRIANGLES;
111 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN;
112 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP;
113 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY;
114 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJACENCY
    [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/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
43 vk::EnumerateInstanceExtensionProperties(layer, &count, nullptr);
46 return vk::EnumerateInstanceExtensionProperties(layer, &count, exts.data());
52 vk::EnumerateDeviceExtensionProperties(phy, layer, &count, nullptr);
55 return vk::EnumerateDeviceExtensionProperties(phy, layer, &count, exts.data());
61 vk::EnumeratePhysicalDevices(instance, &count, nullptr);
64 return vk::EnumeratePhysicalDevices(instance, &count, phys.data());
70 vk::EnumerateInstanceLayerProperties(&count, nullptr);
73 return vk::EnumerateInstanceLayerProperties(&count, layer_props.data());
79 vk::GetPhysicalDeviceQueueFamilyProperties(phy, &count, nullptr)
    [all...]
Shell.cpp 50 vk::init_dispatch_table_top(load_vk());
53 vk::init_dispatch_table_middle(ctx_.instance, false);
62 vk::DestroyDebugReportCallbackEXT(ctx_.instance, ctx_.debug_report, nullptr);
64 vk::DestroyInstance(ctx_.instance, nullptr);
97 vk::enumerate(layers);
117 vk::enumerate(nullptr, exts);
137 vk::enumerate(phy, nullptr, exts);
171 vk::assert_success(vk::CreateInstance(&instance_info, nullptr, &ctx_.instance));
193 vk::assert_success(vk::CreateDebugReportCallbackEXT(ctx_.instance
    [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...]
vktSynchronizationBasicSemaphoreTests.cpp 42 using namespace vk;
48 const DeviceInterface& vk = context.getDeviceInterface(); local
52 const Unique<VkSemaphore> semaphore (createSemaphore (vk, device));
53 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
54 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
88 const Unique<VkFence> fence (createFence(vk, device));
90 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &info));
91 endCommandBuffer(vk, *cmdBuffer);
92 VK_CHECK(vk.queueSubmit(queue, 2u, submitInfo, *fence));
94 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, FENCE_WAIT)
112 const DeviceInterface& vk = context.getDeviceInterface(); local
    [all...]
  /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/deqp/external/vulkancts/modules/vulkan/wsi/
vktWsiTests.cpp 42 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType)
53 for (int typeNdx = 0; typeNdx < vk::wsi::TYPE_LAST; ++typeNdx)
55 const vk::wsi::Type wsiType = (vk::wsi::Type)typeNdx;
  /external/vulkan-validation-layers/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::GlslBuildOptions 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);
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRender.hpp 96 vk::VkComponentMapping componentMapping;
97 vk::VkSampleCountFlagBits samples;
101 vk::VkComponentMapping componentMapping_ = vk::makeComponentMappingRGBA(),
102 vk::VkSampleCountFlagBits samples_ = vk::VK_SAMPLE_COUNT_1_BIT,
293 virtual void initPrograms (vk::SourceCollections& programCollection) const;
452 vk::VkFormat format,
461 vk::VkDescriptorType descriptorType,
464 vk::VkDescriptorType descriptorType
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ubo/
vktUniformBlockCase.cpp 54 using namespace vk;
1411 const DeviceInterface& vk = context.getDeviceInterface(); local
1576 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local
1911 const DeviceInterface& vk = m_context.getDeviceInterface(); local
1936 const DeviceInterface& vk = m_context.getDeviceInterface(); local
1991 const DeviceInterface& vk = m_context.getDeviceInterface(); local
2058 const DeviceInterface& vk = m_context.getDeviceInterface(); local
    [all...]

Completed in 514 milliseconds

1 2 34 5 6 7 8 91011>>