/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 161 VkBufferSp m_outputBuffer; member in vkt::renderpass::__anon28600::InputAttachmentSparseFillingTestInstance 370 m_outputBuffer = safeSharedPtr(new Unique<VkBuffer>(createBuffer(vk, vkDevice, &outputBufferParams))); in InputAttachmentSparseFillingTestInstance() 371 m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, **m_outputBuffer), MemoryRequirement::HostVisible).release()); in InputAttachmentSparseFillingTestInstance() 372 VK_CHECK(vk.bindBufferMemory(vkDevice, **m_outputBuffer, m_outputBufferMemory->getMemory(), m_outputBufferMemory->getOffset())); in InputAttachmentSparseFillingTestInstance() 658 copyImageToBuffer(vk, *m_cmdBuffer, **m_outputImage, **m_outputBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y()), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL); in createCommandBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 162 VkBufferSp m_outputBuffer; member in vkt::renderpass::__anon29779::InputAttachmentSparseFillingTestInstance 372 m_outputBuffer = safeSharedPtr(new Unique<VkBuffer>(createBuffer(vk, vkDevice, &outputBufferParams))); in InputAttachmentSparseFillingTestInstance() 373 m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, **m_outputBuffer), MemoryRequirement::HostVisible).release()); in InputAttachmentSparseFillingTestInstance() 374 VK_CHECK(vk.bindBufferMemory(vkDevice, **m_outputBuffer, m_outputBufferMemory->getMemory(), m_outputBufferMemory->getOffset())); in InputAttachmentSparseFillingTestInstance() 660 copyImageToBuffer(vk, *m_cmdBuffer, **m_outputImage, **m_outputBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y()), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL); in createCommandBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 989 de::MovePtr<BufferWithMemory> m_outputBuffer; member in vkt::image::__anon28007::BinaryAtomicInstanceBase 1061 m_outputBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(deviceInterface, in iterate() 1174 m_outputBuffer->get(), in iterate() 1190 Allocation& outputBufferAllocation = m_outputBuffer->getAllocation(); in iterate() 1429 m_outputBuffer = m_inputBuffer; in commandsAfterCompute() 1449 deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_resultImage->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_outputBuffer->get(), 1u, &bufferImageCopyParams); in commandsAfterCompute() 1455 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1706 m_descIntermResultsBufferView = makeBufferView(deviceInterface, device, *(*m_outputBuffer), mapTextureFormat(m_format), 0, VK_WHOLE_SIZE); in prepareDescriptors() 1771 deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_intermResultsImage->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_outputBuffer->get(), 1u, &bufferImageCopyParams); in commandsAfterCompute() 1777 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer in commandsAfterCompute() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 993 de::MovePtr<BufferWithMemory> m_outputBuffer; member in vkt::image::__anon29239::BinaryAtomicInstanceBase 1065 m_outputBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(deviceInterface, in iterate() 1178 m_outputBuffer->get(), in iterate() 1194 Allocation& outputBufferAllocation = m_outputBuffer->getAllocation(); in iterate() 1433 m_outputBuffer = m_inputBuffer; in commandsAfterCompute() 1453 deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_resultImage->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_outputBuffer->get(), 1u, &bufferImageCopyParams); in commandsAfterCompute() 1459 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1710 m_descIntermResultsBufferView = makeBufferView(deviceInterface, device, *(*m_outputBuffer), mapTextureFormat(m_format), 0, VK_WHOLE_SIZE); in prepareDescriptors() 1775 deviceInterface.cmdCopyImageToBuffer(cmdBuffer, m_intermResultsImage->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_outputBuffer->get(), 1u, &bufferImageCopyParams); in commandsAfterCompute() 1781 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer in commandsAfterCompute() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1572 VkBuffer getOutputBuffer (void) const { return *m_outputBuffer; } in getOutputBuffer() 1584 Move<VkBuffer> m_outputBuffer; member in vkt::shaderexecutor::__anon28678::BufferIoExecutor 1929 m_outputBuffer = createBuffer(vk, vkDevice, &outputBufferParams); in initBuffers() 1930 m_outputAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer), MemoryRequirement::HostVisible); in initBuffers() 1932 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outputBuffer, m_outputAlloc->getMemory(), m_outputAlloc->getOffset())); in initBuffers() 2778 *m_outputBuffer, // VkBuffer buffer; in execute() 2821 *m_outputBuffer, // VkBuffer buffer; in execute() 3040 const auto outputDescriptorBufferInfo = makeDescriptorBufferInfo(m_outputBuffer.get(), curOffset * outputStride, numToExec * outputStride); in execute() 3057 const auto bufferBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, m_outputBuffer.get(), 0ull, VK_WHOLE_SIZE); in execute() 3315 *m_outputBuffer, // VkBuffe in renderTess() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1572 VkBuffer getOutputBuffer (void) const { return *m_outputBuffer; } in getOutputBuffer() 1584 Move<VkBuffer> m_outputBuffer; member in vkt::shaderexecutor::__anon29827::BufferIoExecutor 1929 m_outputBuffer = createBuffer(vk, vkDevice, &outputBufferParams); in initBuffers() 1930 m_outputAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer), MemoryRequirement::HostVisible); in initBuffers() 1932 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outputBuffer, m_outputAlloc->getMemory(), m_outputAlloc->getOffset())); in initBuffers() 2778 *m_outputBuffer, // VkBuffer buffer; in execute() 2821 *m_outputBuffer, // VkBuffer buffer; in execute() 3040 const auto outputDescriptorBufferInfo = makeDescriptorBufferInfo(m_outputBuffer.get(), curOffset * outputStride, numToExec * outputStride); in execute() 3057 const auto bufferBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, m_outputBuffer.get(), 0ull, VK_WHOLE_SIZE); in execute() 3315 *m_outputBuffer, // VkBuffe in renderTess() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelinePushDescriptorTests.cpp | 747 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon28251::PushDescriptorBufferComputeTestInstance 881 m_outputBuffer = createBuffer(m_vkd, *m_device, &bufferCreateInfo); in init() 882 m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 883 VK_CHECK(m_vkd.bindBufferMemory(*m_device, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 940 *m_outputBuffer, // VkBuffer buffer; in init() 1958 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon28251::PushDescriptorImageComputeTestInstance 2300 m_outputBuffer = createBuffer(m_vkd, *m_device, &bufferCreateInfo); in init() 2301 m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 2302 VK_CHECK(m_vkd.bindBufferMemory(*m_device, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 2418 *m_outputBuffer, // VkBuffe in init() 3248 Move<VkBuffer> m_outputBuffer; global() member in vkt::pipeline::__anon28251::PushDescriptorTexelBufferComputeTestInstance [all...] |
H A D | vktPipelineDynamicOffsetTests.cpp | 896 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon28177::DynamicOffsetComputeTestInstance 1060 m_outputBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo); in init() 1061 m_outputBufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 1062 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 1150 *m_outputBuffer, // VkBuffer buffer; in init() 1227 *m_outputBuffer, // VkBuffer buffer; in init()
|
H A D | vktPipelineLibraryTests.cpp | 2155 BufferWithMemoryPtr m_outputBuffer; member in vkt::pipeline::__anon28227::PipelineLibraryShaderModuleInfoInstance 2184 m_outputBuffer = BufferWithMemoryPtr(new BufferWithMemory(m_vkd, m_device, m_alloc, outputBufferCreateInfo, MemoryRequirement::HostVisible)); in prepareOutputBuffer() 2187 const auto outputBufferDescInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0ull, outputBufferSize); in prepareOutputBuffer() 2235 auto& allocation = m_outputBuffer->getAllocation(); in verifyOutputBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelinePushDescriptorTests.cpp | 734 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon29471::PushDescriptorBufferComputeTestInstance 868 m_outputBuffer = createBuffer(m_vkd, *m_device, &bufferCreateInfo); in init() 869 m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 870 VK_CHECK(m_vkd.bindBufferMemory(*m_device, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 927 *m_outputBuffer, // VkBuffer buffer; in init() 1947 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon29471::PushDescriptorImageComputeTestInstance 2289 m_outputBuffer = createBuffer(m_vkd, *m_device, &bufferCreateInfo); in init() 2290 m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 2291 VK_CHECK(m_vkd.bindBufferMemory(*m_device, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 2407 *m_outputBuffer, // VkBuffe in init() 3228 Move<VkBuffer> m_outputBuffer; global() member in vkt::pipeline::__anon29471::PushDescriptorTexelBufferComputeTestInstance [all...] |
H A D | vktPipelineDynamicOffsetTests.cpp | 900 Move<VkBuffer> m_outputBuffer; member in vkt::pipeline::__anon29404::DynamicOffsetComputeTestInstance 1064 m_outputBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo); in init() 1065 m_outputBufferAlloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outputBuffer), MemoryRequirement::HostVisible); in init() 1066 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_outputBuffer, m_outputBufferAlloc->getMemory(), m_outputBufferAlloc->getOffset())); in init() 1154 *m_outputBuffer, // VkBuffer buffer; in init() 1255 *m_outputBuffer, // VkBuffer buffer; in init()
|
H A D | vktPipelineLibraryTests.cpp | 2113 BufferWithMemoryPtr m_outputBuffer; member in vkt::pipeline::__anon29446::PipelineLibraryShaderModuleInfoInstance 2142 m_outputBuffer = BufferWithMemoryPtr(new BufferWithMemory(m_vkd, m_device, m_alloc, outputBufferCreateInfo, MemoryRequirement::HostVisible)); in prepareOutputBuffer() 2145 const auto outputBufferDescInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0ull, outputBufferSize); in prepareOutputBuffer() 2193 auto& allocation = m_outputBuffer->getAllocation(); in verifyOutputBuffer()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 832 deUint32 getOutputBuffer (void) const { return *m_outputBuffer; } in getOutputBuffer() 864 glu::Buffer m_outputBuffer; member in deqp::gls::ShaderExecUtil::BufferIoExecutor 874 , m_outputBuffer (renderCtx) in BufferIoExecutor() 895 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *m_outputBuffer); in resizeOutputBuffer() 1062 const deUint32 buffer = *m_outputBuffer; in readOutputBuffer()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedPixelsTests.cpp | 869 std::vector<GLbyte> m_outputBuffer; member in glcts::RectangleTest 2112 if (m_outputBuffer.empty()) 2145 if (!compare(&m_gradient[0], &m_outputBuffer[0], outputFormat, outputType, isCopy)) 2211 m_outputBuffer.resize(static_cast<std::size_t>(bufferSize)); 2212 std::fill(m_outputBuffer.begin(), m_outputBuffer.end(), defaultFillValue); 2219 gl.bufferData(GL_PIXEL_PACK_BUFFER, bufferSize, &m_outputBuffer[0], GL_STATIC_READ); 2226 gl.getTexImage(m_textureTarget, 0, outputFormat.format, outputType.type, m_usePBO ? 0 : &m_outputBuffer[0]); 2238 m_usePBO ? 0 : &m_outputBuffer[0]); 2253 std::memcpy(&m_outputBuffer[ [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationOperation.cpp | 5044 m_outputBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, in Implementation() 5047 const Allocation& alloc = m_outputBuffer->getAllocation(); in Implementation() 5075 const VkDescriptorBufferInfo outputBufferDescriptorInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0ull, dataSizeBytes); in Implementation() 5160 **m_outputBuffer, // VkBuffer buffer in recordCommands() 5198 return getHostBufferData(m_context, *m_outputBuffer, m_resource.getBuffer().size); in getData() 5203 setHostBufferData(m_context, *m_outputBuffer, data); in setData() 5211 de::MovePtr<Buffer> m_outputBuffer; member in vkt::synchronization::__anon28830::VertexInput::Implementation
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationOperation.cpp | 4905 m_outputBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, in Implementation() 4908 const Allocation& alloc = m_outputBuffer->getAllocation(); in Implementation() 4936 const VkDescriptorBufferInfo outputBufferDescriptorInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0ull, dataSizeBytes); in Implementation() 5021 **m_outputBuffer, // VkBuffer buffer in recordCommands() 5065 return getHostBufferData(m_context, *m_outputBuffer, m_resource.getBuffer().size); in getData() 5070 setHostBufferData(m_context, *m_outputBuffer, data); in setData() 5078 de::MovePtr<Buffer> m_outputBuffer; member in vkt::synchronization::__anon29979::VertexInput::Implementation
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 10576 m_outputBuffer = getBuffer(to, outputNumber, m_elements); in ConvertCase() 10578 m_outputBuffer = getBuffer(to, number, m_elements); in ConvertCase() 10686 BufferSp m_outputBuffer; member 11254 spec.outputs.push_back (test->m_outputBuffer); in createConvertComputeTests() 11283 resources.outputs.push_back (Resource(test->m_outputBuffer, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in createConvertGraphicsTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 10530 m_outputBuffer = getBuffer(to, outputNumber, m_elements); in ConvertCase() 10532 m_outputBuffer = getBuffer(to, number, m_elements); in ConvertCase() 10640 BufferSp m_outputBuffer; member 11156 spec.outputs.push_back (test->m_outputBuffer); in createConvertComputeTests() 11185 resources.outputs.push_back (Resource(test->m_outputBuffer, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in createConvertGraphicsTests()
|