/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; 468 vk::VkFormat format, 477 vk::VkDescriptorType descriptorType, 480 vk::VkDescriptorType descriptorType [all...] |
/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, const deUint32 numSamples = 1u); 79 deUint32 getImageSizeInBytes (const vk::VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevelsCount = 1u, const deUint32 numSamples = 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...] |
vktPipelineImageUtil.hpp | 52 bool isSupportedSamplableFormat (const vk::InstanceInterface& instanceInterface, 53 vk::VkPhysicalDevice device, 54 vk::VkFormat format); 55 bool isLinearFilteringSupported (const vk::InstanceInterface& instanceInterface, 56 vk::VkPhysicalDevice device, 57 vk::VkFormat format, 58 vk::VkImageTiling tiling); 60 vk::VkBorderColor getFormatBorderColor (BorderColor color, vk::VkFormat format); 62 void getLookupScaleBias (vk::VkFormat format [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeBasicComputeShaderTests.cpp | 50 using namespace vk; 83 vk::makeExtent3D(imageSize.x(), imageSize.y(), 1), // VkExtent3D extent; 99 return compute::makeBufferImageCopy(vk::makeExtent3D(imageSize.x(), imageSize.y(), 1), 1u); 192 const DeviceInterface& vk = m_context.getDeviceInterface(); local 204 const Buffer buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 211 .build(vk, device)); 216 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 218 const Unique<VkDescriptorSet> descriptorSet(makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)); 223 .update(vk, device); 227 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)) 363 const DeviceInterface& vk = m_context.getDeviceInterface(); local 536 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/vulkan-validation-layers/build-android/ |
android-generate.bat | 23 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.h
24 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_safe_struct.cpp
25 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.h
26 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_struct_size_helper.c
27 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_enum_string_helper.h
28 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_object_types.h
29 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml vk_dispatch_table_helper.h
30 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml thread_check.h
31 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml parameter_validation.cpp
32 py -3 ../../../scripts/lvl_genvk.py -registry ../../../scripts/vk.xml unique_objects_wrappers.h [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Shell.cpp | 44 vk::init_dispatch_table_top(load_vk()); 47 vk::init_dispatch_table_middle(ctx_.instance, false); 54 if (settings_.validate) vk::DestroyDebugReportCallbackEXT(ctx_.instance, ctx_.debug_report, nullptr); 56 vk::DestroyInstance(ctx_.instance, nullptr); 82 vk::enumerate(layers); 100 vk::enumerate(nullptr, exts); 118 vk::enumerate(phy, nullptr, exts); 149 vk::assert_success(vk::CreateInstance(&instance_info, nullptr, &ctx_.instance)); 167 vk::assert_success(vk::CreateDebugReportCallbackEXT(ctx_.instance, &debug_report_info, nullptr, &ctx_ (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolStatisticsTests.cpp | 50 using namespace vk; 108 void beginCommandBuffer (const DeviceInterface& vk, const VkCommandBuffer commandBuffer) 117 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &info)); 120 void beginSecondaryCommandBuffer (const DeviceInterface& vk, 146 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &info)); 149 void submitCommandsAndWait (const DeviceInterface& vk, 160 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); 174 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); 175 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); 178 Move<VkQueryPool> makeQueryPool (const DeviceInterface& vk, const VkDevice device, VkQueryPipelineStatisticFlags statisticFlags 268 const DeviceInterface& vk = m_context.getDeviceInterface(); local 323 const DeviceInterface& vk = m_context.getDeviceInterface(); local 440 const DeviceInterface& vk = m_context.getDeviceInterface(); local 535 const DeviceInterface& vk = m_context.getDeviceInterface(); local 598 const DeviceInterface& vk = m_context.getDeviceInterface(); local 766 const DeviceInterface& vk = m_context.getDeviceInterface(); local 784 const DeviceInterface& vk = m_context.getDeviceInterface(); local 922 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1006 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1054 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1115 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1156 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1227 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1301 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1391 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1441 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1493 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1523 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1594 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1669 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1757 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1807 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1836 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1855 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1929 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
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/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...] |
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
vktMultiViewRenderUtil.cpp | 47 using namespace vk; 103 Move<VkImageView> makeImageView (const DeviceInterface& vk, 121 return createImageView(vk, device, &imageViewParams); 124 Move<VkFramebuffer> makeFramebuffer (const DeviceInterface& vk, 144 return createFramebuffer(vk, device, &framebufferInfo); 147 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 161 return createPipelineLayout(vk, device, &info); 164 Move<VkDescriptorSetLayout> makeDescriptorSetLayout (const DeviceInterface& vk, 170 vk::VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, //VkDescriptorType descriptorType; 172 vk::VK_SHADER_STAGE_FRAGMENT_BIT, //VkShaderStageFlags stageFlags [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiSmokeTests.cpp | 57 using namespace vk; 65 const DeviceInterface& vk = context.getDeviceInterface(); local 90 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); 112 const DeviceInterface& vk = context.getDeviceInterface(); local 113 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0)); 333 const DeviceInterface& vk = context.getDeviceInterface(); local 336 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 359 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); 360 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); 362 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->get (…) 945 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktApiBufferAndImageAllocationUtil.cpp | 50 const DeviceInterface& vk = context.getDeviceInterface(); local 64 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 65 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement); 66 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0)); 88 const DeviceInterface& vk = context.getDeviceInterface(); local 103 buffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 104 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement); 105 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset())) 117 const DeviceInterface& vk = context.getDeviceInterface(); local 163 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktApiBufferViewCreateTests.cpp | 38 using namespace vk; 137 const DeviceInterface& vk = context.getDeviceInterface(); local 154 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 156 catch (const vk::Error& error) 161 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); 180 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); 182 catch (const vk::Error& error) 187 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) 207 const DeviceInterface& vk = context.getDeviceInterface() local 321 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemBufferValidator.cpp | 75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) 182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) 186 case STORAGE_BUFFER: return vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; 187 case SAMPLER_BUFFER: return vk::VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; 188 default: DE_FATAL("Incorrect buffer type specified"); return (vk::VkDescriptorType)0;
|
vktProtectedMemContext.cpp | 38 , m_phyDevice (vk::chooseDevice(m_vki, *m_instance, m_context.getTestContext().getCommandLine())) 48 vk::wsi::Type wsiType, 49 vk::wsi::Display& display, 50 vk::wsi::Window& window, 57 , m_phyDevice (vk::chooseDevice(m_vki, *m_instance, m_context.getTestContext().getCommandLine())) 58 , m_surface (vk::wsi::createSurface(m_vki, *m_instance, wsiType, display, window))
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
vktDeviceGroupRendering.cpp | 61 using namespace vk; 154 void SubmitBufferAndWaitForIdle (const DeviceDriver& vk, VkCommandBuffer cmdBuf, VkDeviceGroupSubmitInfo); 202 const DeviceDriver vk (m_context.getInstanceInterface(), *m_deviceGroup); 205 vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].heapIndex, firstdeviceID, seconddeviceID, &peerMemFeatures1); 206 vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].heapIndex, seconddeviceID, firstdeviceID, &peerMemFeatures2); 255 de::MovePtr<vk::DeviceDriver> deviceDriver; 350 deviceDriver = de::MovePtr<vk::DeviceDriver>(new vk::DeviceDriver(instanceInterface, *m_deviceGroup)); 354 void DeviceGroupTestInstance::SubmitBufferAndWaitForIdle(const DeviceDriver& vk, VkCommandBuffer cmdBuf, VkDeviceGroupSubmitInfo deviceGroupSubmitInfo) 374 const Unique<VkFence> fence(createFence(vk, *m_deviceGroup, &fenceParams)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageCompressionTranscodingSupport.cpp | 54 using namespace vk; 430 const DeviceInterface& vk = m_context.getDeviceInterface(); local 434 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 435 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); 447 imageData[imageNdx].addImage(MovePtr<Image>(new Image(vk, device, allocator, imageData[imageNdx].getImageInfo(infoNdx), MemoryRequirement::Any))); 459 imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), 467 imageData[imageNdx].addImageView(makeImageView(vk, device, imageData[imageNdx].getImage(infoNdx), 524 descriptorSetLayout = descriptorSetLayoutBuilder.build(vk, device); 525 descriptorPool = descriptorPoolBuilder.build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, imageData[0].getImageViewCount()); 553 const DeviceInterface& vk = m_context.getDeviceInterface() local 622 const DeviceInterface& vk = m_context.getDeviceInterface(); local 727 const DeviceInterface& vk = m_context.getDeviceInterface(); local 783 const DeviceInterface& vk = m_context.getDeviceInterface(); local 884 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1201 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1482 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1500 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1634 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1841 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2056 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2196 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2570 const InstanceInterface& vk = context.getInstanceInterface(); local [all...] |
vktImageMultisampleLoadStoreTests.cpp | 55 using namespace vk; 200 void insertImageViews (const DeviceInterface& vk, const VkDevice device, const CaseDef& caseDef, const VkFormat format, const VkImage image, std::vector<SharedVkImageView>* const pOutImageViews) 209 vk, device, image, mapImageViewType(getImageTypeForSingleLayer(caseDef.texture.type())), format, 218 vk, device, image, mapImageViewType(caseDef.texture.type()), format, 224 void insertDescriptorSets (const DeviceInterface& vk, const VkDevice device, const CaseDef& caseDef, const VkDescriptorPool descriptorPool, const VkDescriptorSetLayout descriptorSetLayout, std::vector<SharedVkDescriptorSet>* const pOutDescriptorSets) 231 (*pOutDescriptorSets)[layerNdx] = makeVkSharedPtr(makeDescriptorSet(vk, device, descriptorPool, descriptorSetLayout)); 237 (*pOutDescriptorSets)[0] = makeVkSharedPtr(makeDescriptorSet(vk, device, descriptorPool, descriptorSetLayout)); 245 const DeviceInterface& vk = context.getDeviceInterface(); local 256 vk, device, allocator, makeImageCreateInfo(caseDef.texture, caseDef.format, VK_IMAGE_USAGE_STORAGE_BIT, 0u), MemoryRequirement::Any)); 259 vk, device, allocator [all...] |
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsBallotOtherTests.cpp | 33 using namespace vk; 331 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 340 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 513 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 518 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 532 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
vktSubgroupsBallotTests.cpp | 33 using namespace vk; 165 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 174 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 217 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 222 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 244 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
vktSubgroupsBuiltinMaskVarTests.cpp | 33 using namespace vk; 212 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 221 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 258 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 263 << glu::VertexSource(subgroups::getVertShaderForStage(caseDef.shaderStage)) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 277 << glu::FragmentSource(frag.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
/external/deqp/framework/platform/null/ |
tcuNullPlatform.cpp | 84 vk::Library* Platform::createLibrary (void) const 86 return vk::createNullDriver(); 89 void Platform::getMemoryLimits (vk::PlatformMemoryLimits& limits) const
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPassthroughTests.cpp | 48 using namespace vk; 53 void addVertexAndFragmentShaders (vk::SourceCollections& programCollection) 126 void initPrograms (vk::SourceCollections& programCollection) const; 139 void IdentityGeometryShaderTestCase::initPrograms (vk::SourceCollections& programCollection) const 215 void initPrograms (vk::SourceCollections& programCollection) const; 281 void IdentityTessellationShaderTestCase::initPrograms (vk::SourceCollections& programCollection) const 348 inline tcu::ConstPixelBufferAccess getPixelBufferAccess (const DeviceInterface& vk, 356 invalidateMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), colorBufferSizeBytes); 423 const DeviceInterface& vk = m_context.getDeviceInterface(); local 430 const Buffer tessLevelsBuffer (vk, device, allocator, makeBufferCreateInfo(sizeof(TessLevels), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), (…) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkQueryUtil.cpp | 33 namespace vk namespace 75 vector<VkPhysicalDevice> enumeratePhysicalDevices (const InstanceInterface& vk, VkInstance instance) 80 VK_CHECK(vk.enumeratePhysicalDevices(instance, &numDevices, DE_NULL)); 85 VK_CHECK(vk.enumeratePhysicalDevices(instance, &numDevices, &devices[0])); 94 vector<VkPhysicalDeviceGroupProperties> enumeratePhysicalDeviceGroups(const InstanceInterface& vk, VkInstance instance) 99 VK_CHECK(vk.enumeratePhysicalDeviceGroups(instance, &numDeviceGroups, DE_NULL)); 109 VK_CHECK(vk.enumeratePhysicalDeviceGroups(instance, &numDeviceGroups, &properties[0])); 117 vector<VkQueueFamilyProperties> getPhysicalDeviceQueueFamilyProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice) 122 vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &numQueues, DE_NULL); 127 vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &numQueues, &properties[0]) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawIndirectTest.cpp | 89 vk::VkDeviceSize m_offsetInBuffer; 105 static bool isTestSupported (const vk::VkPhysicalDeviceFeatures& features) { return features.drawIndirectFirstInstance == VK_TRUE; } 111 static bool isTestSupported (const vk::VkPhysicalDeviceFeatures&) { return true; } 143 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: 151 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: 174 m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(sizeof(deUint32) * indexBufferLength, vk::VK_BUFFER_USAGE_INDEX_BUFFER_BIT), m_context.getDefaultAllocator(), vk::MemoryRequirement::HostVisible); 180 vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory().getMemory(), m_indexBuffer->getBoundMemory().getOffset(), sizeof(deUint32) * indexBufferLength); 194 void IndirectDraw::addCommand<vk::VkDrawIndirectCommand> (const vk::VkDrawIndirectCommand& command [all...] |