/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreUtil.cpp | 28 using namespace vk; 35 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize) 113 bool isStorageImageExtendedFormat (const vk::VkFormat format)
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkApiVersion.hpp | 30 namespace vk namespace 57 } // vk
|
vkBuilderUtil.cpp | 28 namespace vk namespace 102 Move<VkDescriptorSetLayout> DescriptorSetLayoutBuilder::build (const DeviceInterface& vk, VkDevice device, VkDescriptorSetLayoutCreateFlags extraFlags) const 123 return createDescriptorSetLayout(vk, device, &createInfo); 165 Move<VkDescriptorPool> DescriptorPoolBuilder::build (const DeviceInterface& vk, VkDevice device, VkDescriptorPoolCreateFlags flags, deUint32 maxSets) const 178 return createDescriptorPool(vk, device, &createInfo); 254 void DescriptorSetUpdateBuilder::update (const DeviceInterface& vk, VkDevice device) const 276 vk.updateDescriptorSets(device, (deUint32)writes.size(), writePtr, (deUint32)m_copies.size(), copyPtr); 279 void DescriptorSetUpdateBuilder::updateWithPush (const DeviceInterface& vk, VkCommandBuffer cmd, VkPipelineBindPoint bindPoint, VkPipelineLayout pipelineLayout, deUint32 setIdx) const 300 vk.cmdPushDescriptorSetKHR(cmd, bindPoint, pipelineLayout, setIdx, (deUint32)m_writes.size(), writePtr); 303 } // vk [all...] |
vkDeviceUtil.hpp | 37 namespace vk namespace 57 } // vk
|
vkSpirVProgram.cpp | 28 namespace vk namespace 53 } // vk
|
vkDefs.hpp | 59 #define VK_CHECK(EXPR) vk::checkResult((EXPR), #EXPR, __FILE__, __LINE__) 60 #define VK_CHECK_MSG(EXPR, MSG) vk::checkResult((EXPR), MSG, __FILE__, __LINE__) 65 namespace vk namespace 100 #define VK_CORE_FORMAT_LAST ((vk::VkFormat)(vk::VK_FORMAT_ASTC_12x12_SRGB_BLOCK+1)) 242 } // vk
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleBaseResolve.hpp | 59 virtual tcu::TestStatus verifyImageData (const vk::VkImageCreateInfo& imageRSInfo,
|
vktPipelineBlendTests.cpp | 55 using namespace vk; 302 const DeviceInterface& vk = m_context.getDeviceInterface(); local 305 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 338 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 339 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams) 768 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1032 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineImageUtil.cpp | 39 using namespace vk; 167 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias) 203 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk, 204 vk::VkDevice device, 205 vk::VkQueue queue, 207 vk::Allocator& allocator, 208 vk::VkImage image, 209 vk::VkFormat format, 235 buffer = createBuffer(vk, device, &bufferParams) [all...] |
vktPipelineInputAssemblyTests.cpp | 53 using namespace vk; 922 const DeviceInterface& vk = context.getDeviceInterface(); local 925 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 969 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 972 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 973 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 990 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 1427 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1504 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineSpecConstantTests.cpp | 49 using namespace vk; 466 const DeviceInterface& vk = m_context.getDeviceInterface(); local 474 const Buffer resultBuffer(vk, device, allocator, makeBufferCreateInfo(m_ssboSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 478 .build(vk, device)); 482 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 484 const Unique<VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)); 489 .update(vk, device); 498 const Unique<VkShaderModule> shaderModule (createShaderModule (vk, device, m_context.getBinaryCollection().get("comp"), 0)); 499 const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout (vk, device, *descriptorSetLayout)); 500 const Unique<VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *shaderModule, pSpecInfo)) 566 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.hpp | 70 void initPrograms (vk::SourceCollections& programCollection) const;
|
vktSpvAsmGraphicsShaderTestUtil.hpp | 47 typedef vk::Unique<VkBuffer> BufferHandleUp; 49 typedef vk::Unique<vk::VkShaderModule> ModuleHandleUp; 51 typedef std::pair<std::string, vk::VkShaderStageFlagBits> EntryToStage; 53 typedef std::map<vk::VkShaderStageFlagBits, std::vector<deInt32> > StageToSpecConstantMap; 54 typedef std::pair<vk::VkDescriptorType, BufferSp> Resource; 125 vk::VkFormat getVkFormat (void) const; 260 vk::VkShaderStageFlagBits requiredStages; 309 vk::VkShaderStageFlagBits stage; 311 ShaderElement (const std::string& moduleName_, const std::string& entryPoint_, vk::VkShaderStageFlagBits shaderStage_) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationInvarianceTests.cpp | 51 using namespace vk; 233 void addDefaultPrograms (vk::SourceCollections& programCollection, 625 const DeviceInterface& vk = m_context.getDeviceInterface(); local 632 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vert"), DE_NULL) 633 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, m_context.getBinaryCollection().get("tesc"), DE_NULL) 634 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, m_context.getBinaryCollection().get(getProgramName("tese", winding, usePointMode)), DE_NULL) 635 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BIT, m_context.getBinaryCollection().get(getProgramName("geom", usePointMode)), DE_NULL) 636 .build (vk, device, *m_pipelineLayout, *m_renderPass)); 641 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), m_resultBufferSizeBytes); 644 beginCommandBuffer(vk, *m_cmdBuffer) 695 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktTessellationUserDefinedIO.cpp | 50 using namespace vk; 435 void initPrograms (vk::SourceCollections& programCollection) const; 627 void UserDefinedIOTest::initPrograms (vk::SourceCollections& programCollection) const 759 const DeviceInterface& vk = m_context.getDeviceInterface(); local 775 const Buffer vertexBuffer (vk, device, allocator, makeBufferCreateInfo(vertexDataSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible); 780 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 787 const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 792 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), resultBufferSizeBytes); 800 const Image colorAttachmentImage (vk, device, allocator, 807 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), (…) [all...] |
vktTessellationCoordinatesTests.cpp | 50 using namespace vk; 478 const DeviceInterface& vk = m_context.getDeviceInterface(); 496 const Buffer tessLevelsBuffer(vk, device, allocator, 504 const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 511 .build(vk, device)); 516 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 518 const Unique<VkDescriptorSet> descriptorSet(makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)); 526 .update(vk, device); 530 const Unique<VkRenderPass> renderPass (makeRenderPassWithoutAttachments (vk, device)); 531 const Unique<VkFramebuffer> framebuffer (makeFramebufferWithoutAttachments(vk, device, *renderPass)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawTestCaseUtil.hpp | 65 vk::VkPrimitiveTopology topology; 83 virtual void initPrograms (vk::SourceCollections& programCollection) const
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryLayeredRenderingTests.cpp | 51 using namespace vk; 156 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 206 return createRenderPass(vk, device, &renderPassInfo); 209 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 393 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 900 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
prime.go | 250 vk := nat(nil).setWord(2) 257 t1 = t1.mul(vk, vk1) 260 t2, vk = t2.div(vk, t1, n) 268 t1 = t1.mul(vk, vk1) 273 t1 = t1.sqr(vk) 275 t2, vk = t2.div(vk, t1, n) 279 // Now k=s, so vk = V(s). Check V(s) ? ±2 (mod n). 280 if vk.cmp(natTwo) == 0 || vk.cmp(nm2) == 0 [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
prime.go | 250 vk := nat(nil).setWord(2) 257 t1 = t1.mul(vk, vk1) 260 t2, vk = t2.div(vk, t1, n) 268 t1 = t1.mul(vk, vk1) 273 t1 = t1.sqr(vk) 275 t2, vk = t2.div(vk, t1, n) 279 // Now k=s, so vk = V(s). Check V(s) ? ±2 (mod n). 280 if vk.cmp(natTwo) == 0 || vk.cmp(nm2) == 0 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderExecutor.cpp | 51 using namespace vk; 612 const DeviceInterface& vk = m_context.getDeviceInterface(); local 628 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); 629 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 631 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 634 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); 734 const DeviceInterface& vk = m_context.getDeviceInterface(); local 771 Unique<VkDescriptorSetLayout> emptyDescriptorSetLayout (createEmptyDescriptorSetLayout(vk, vkDevice)); 772 Unique<VkDescriptorPool> dummyDescriptorPool (createDummyDescriptorPool(vk, vkDevice)); 773 Unique<VkDescriptorSet> emptyDescriptorSet (allocateSingleDescriptorSet(vk, vkDevice, *dummyDescriptorPool, *emptyDescriptorSetLayout)) 1755 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1778 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1807 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1908 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2143 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
vktRenderPassTests.cpp | 63 using namespace vk; 224 Move<VkFramebuffer> createFramebuffer (const DeviceInterface& vk, 246 return createFramebuffer(vk, device, &pCreateInfo); 249 Move<VkImage> createImage (const DeviceInterface& vk, 283 return createImage(vk, device, &pCreateInfo); 286 void bindBufferMemory (const DeviceInterface& vk, VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memOffset) 288 VK_CHECK(vk.bindBufferMemory(device, buffer, mem, memOffset)); 291 void bindImageMemory (const DeviceInterface& vk, VkDevice device, VkImage image, VkDeviceMemory mem, VkDeviceSize memOffset) 293 VK_CHECK(vk.bindImageMemory(device, image, mem, memOffset)); 296 Move<VkImageView> createImageView (const DeviceInterface& vk, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsArithmeticTests.cpp | 33 using namespace vk; 207 std::string getOpTypeOperation(int opType, vk::VkFormat format, std::string lhs, std::string rhs) 308 std::string getIdentity(int opType, vk::VkFormat format) 412 std::string getCompare(int opType, vk::VkFormat format, std::string lhs, std::string rhs) 551 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 560 programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSrc.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u); 660 << glu::ComputeSource(src.str()) << vk::ShaderBuildOptions(vk::SPIRV_VERSION_1_3, 0u) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktTestCase.cpp | 49 using namespace vk; 180 const vk::VkPhysicalDevice choosenDevice = chooseDevice(preinterface, *preinstance, cmdLine); 412 vk::Allocator* createAllocator (DefaultDevice* device) 414 const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(device->getInstanceInterface(), device->getPhysicalDevice()); 423 const vk::PlatformInterface& platformInterface, 424 vk::BinaryCollection& progCollection) 439 vk::VkInstance Context::getInstance (void) const { return m_device->getInstance(); } 440 const vk::InstanceInterface& Context::getInstanceInterface (void) const { return m_device->getInstanceInterface(); } 441 vk::VkPhysicalDevice Context::getPhysicalDevice (void) const { return m_device->getPhysicalDevice(); } 443 const vk::VkPhysicalDeviceFeatures& Context::getDeviceFeatures (void) const { return m_device->getDevic (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
vktRobustnessBufferAccessTests.cpp | 46 using namespace vk; 666 const DeviceInterface& vk = context.getDeviceInterface(); local 670 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 736 m_inBuffer = createBuffer(vk, *m_device, &inBufferParams); 738 inBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_inBuffer); 745 VK_CHECK(vk.bindBufferMemory(*m_device, *m_inBuffer, m_inBufferAlloc->getMemory(), m_inBufferAlloc->getOffset())); 747 flushMappedMemoryRange(vk, *m_device, m_inBufferAlloc->getMemory(), m_inBufferAlloc->getOffset(), VK_WHOLE_SIZE); 771 m_outBuffer = createBuffer(vk, *m_device, &outBufferParams); 773 outBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_outBuffer); 789 VK_CHECK(vk.bindBufferMemory(*m_device, *m_outBuffer, m_outBufferAlloc->getMemory(), m_outBufferAlloc->getOffs (…) [all...] |