Home
last modified time | relevance | path

Searched refs:bufferInfo (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DBuffer.cpp21 vk::BufferCreateInfo bufferInfo{}; in Buffer() local
22 bufferInfo.size = size; in Buffer()
23 bufferInfo.usage = usage; in Buffer()
24 bufferInfo.sharingMode = vk::SharingMode::eExclusive; in Buffer()
26 buffer = device.createBuffer(bufferInfo); in Buffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTransformFeedbackVk.cpp257 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[bufferIndex]; in initDescriptorSet() local
258 bufferInfo.buffer = emptyBuffer->getBuffer().getHandle(); in initDescriptorSet()
259 bufferInfo.offset = 0; in initDescriptorSet()
260 bufferInfo.range = VK_WHOLE_SIZE; in initDescriptorSet()
290 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[bufferIndex]; in updateDescriptorSet() local
292 bufferInfo.buffer = mBufferHandles[bufferIndex]; in updateDescriptorSet()
293 bufferInfo.offset = mAlignedBufferOffsets[bufferIndex]; in updateDescriptorSet()
294 bufferInfo.range = mBufferSizes[bufferIndex] + in updateDescriptorSet()
296 ASSERT(bufferInfo.range != 0); in updateDescriptorSet()
344 VkDescriptorBufferInfo *bufferInfo, in writeDescriptorSet() argument
[all …]
DUtilsVk.cpp2636 VkDescriptorBufferInfo bufferInfo = {}; in stencilBlitResolveNoShaderExport() local
2637 bufferInfo.buffer = blitBuffer.get().getBuffer().getHandle(); in stencilBlitResolveNoShaderExport()
2638 bufferInfo.offset = 0; in stencilBlitResolveNoShaderExport()
2639 bufferInfo.range = VK_WHOLE_SIZE; in stencilBlitResolveNoShaderExport()
2650 writeInfos[0].pBufferInfo = &bufferInfo; in stencilBlitResolveNoShaderExport()
2949 VkBufferCreateInfo bufferInfo = {}; in copyImageBits() local
2950 bufferInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in copyImageBits()
2951 bufferInfo.flags = 0; in copyImageBits()
2952 bufferInfo.size = srcBufferSize; in copyImageBits()
2953 bufferInfo.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT; in copyImageBits()
[all …]
/third_party/skia/tests/
DVkDrawableTest.cpp106 const SkImageInfo& bufferInfo) in DrawHandlerImport() argument
113 , fBufferInfo(bufferInfo) {} in DrawHandlerImport()
138 const SkImageInfo& bufferInfo, const GrVkDrawableInfo& info) { in ImportDraw() argument
139 td->fDrawContext = GrVkSecondaryCBDrawContext::Make(td->fDContext, bufferInfo, in ImportDraw()
157 bufferInfo); in ImportDraw()
191 const SkImageInfo& bufferInfo) override { in onSnapGpuDrawHandler() argument
198 clipBounds, bufferInfo); in onSnapGpuDrawHandler()
/third_party/skia/src/gpu/vk/
DGrVkBuffer.cpp43 VkDescriptorBufferInfo bufferInfo; in make_uniform_desc_set() local
44 memset(&bufferInfo, 0, sizeof(VkDescriptorBufferInfo)); in make_uniform_desc_set()
45 bufferInfo.buffer = buffer; in make_uniform_desc_set()
46 bufferInfo.offset = 0; in make_uniform_desc_set()
47 bufferInfo.range = size; in make_uniform_desc_set()
59 descriptorWrite.pBufferInfo = &bufferInfo; in make_uniform_desc_set()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp257 const VkDescriptorBufferInfo& bufferInfo, in recordCopyBufferToImage() argument
273 VkDeviceSize bufferOffset = bufferInfo.offset; in recordCopyBufferToImage()
333 bufferInfo.buffer, // buffer; in recordCopyBufferToImage()
334 bufferInfo.offset, // offset; in recordCopyBufferToImage()
335 bufferInfo.range // size; in recordCopyBufferToImage()
360 …interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL… in recordCopyBufferToImage()
379 const VkDescriptorBufferInfo& bufferInfo) in recordCopyImageToBuffer() argument
387 bufferInfo.offset, // bufferOffset in recordCopyImageToBuffer()
445 …interface.cmdCopyImageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer… in recordCopyImageToBuffer()
DvktDescriptorSetsIndexingTests.hpp169 const VkDescriptorBufferInfo& bufferInfo,
186 const VkDescriptorBufferInfo& bufferInfo);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp257 const VkDescriptorBufferInfo& bufferInfo, in recordCopyBufferToImage() argument
273 VkDeviceSize bufferOffset = bufferInfo.offset; in recordCopyBufferToImage()
333 bufferInfo.buffer, // buffer; in recordCopyBufferToImage()
334 bufferInfo.offset, // offset; in recordCopyBufferToImage()
335 bufferInfo.range // size; in recordCopyBufferToImage()
360 …interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL… in recordCopyBufferToImage()
379 const VkDescriptorBufferInfo& bufferInfo) in recordCopyImageToBuffer() argument
387 bufferInfo.offset, // bufferOffset in recordCopyImageToBuffer()
445 …interface.cmdCopyImageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer… in recordCopyImageToBuffer()
DvktDescriptorSetsIndexingTests.hpp169 const VkDescriptorBufferInfo& bufferInfo,
186 const VkDescriptorBufferInfo& bufferInfo);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp325 const auto bufferInfo = makeDescriptorBufferInfo(buffer, offset, size); in writeSetUpdate() local
326 …DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &bufferInfo); in writeSetUpdate()
351 const auto bufferInfo = makeDescriptorBufferInfo(buffer, offset, size); in pushBufferDescriptor() local
362 &bufferInfo, // const VkDescriptorBufferInfo* pBufferInfo; in pushBufferDescriptor()
675 const auto bufferInfo = makeDescriptorBufferInfo(graphicsBuffer->get(), 0ull, bufferSize); in iterate() local
676 …emplateKHR(cmdBuffer, graphicsUpdateTemplate.get(), graphicsPipelineLayout.get(), 0u, &bufferInfo); in iterate()
690 const auto bufferInfo = makeDescriptorBufferInfo(computeBuffer->get(), 0ull, bufferSize); in iterate() local
691 …hTemplateKHR(cmdBuffer, computeUpdateTemplate.get(), computePipelineLayout.get(), 0u, &bufferInfo); in iterate()
705 const auto bufferInfo = makeDescriptorBufferInfo(rayTracingBuffer->get(), 0ull, bufferSize); in iterate() local
706 …ateKHR(cmdBuffer, rayTracingUpdateTemplate.get(), rayTracingPipelineLayout.get(), 0u, &bufferInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineBindPointTests.cpp325 const auto bufferInfo = makeDescriptorBufferInfo(buffer, offset, size); in writeSetUpdate() local
326 …DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &bufferInfo); in writeSetUpdate()
351 const auto bufferInfo = makeDescriptorBufferInfo(buffer, offset, size); in pushBufferDescriptor() local
362 &bufferInfo, // const VkDescriptorBufferInfo* pBufferInfo; in pushBufferDescriptor()
675 const auto bufferInfo = makeDescriptorBufferInfo(graphicsBuffer->get(), 0ull, bufferSize); in iterate() local
676 …emplateKHR(cmdBuffer, graphicsUpdateTemplate.get(), graphicsPipelineLayout.get(), 0u, &bufferInfo); in iterate()
690 const auto bufferInfo = makeDescriptorBufferInfo(computeBuffer->get(), 0ull, bufferSize); in iterate() local
691 …hTemplateKHR(cmdBuffer, computeUpdateTemplate.get(), computePipelineLayout.get(), 0u, &bufferInfo); in iterate()
705 const auto bufferInfo = makeDescriptorBufferInfo(rayTracingBuffer->get(), 0ull, bufferSize); in iterate() local
706 …ateKHR(cmdBuffer, rayTracingUpdateTemplate.get(), rayTracingPipelineLayout.get(), 0u, &bufferInfo); in iterate()
/third_party/skia/include/core/
DSkDrawable.h84 const SkImageInfo& bufferInfo) { in snapGpuDrawHandler() argument
85 return this->onSnapGpuDrawHandler(backendApi, matrix, clipBounds, bufferInfo); in snapGpuDrawHandler()
/third_party/node/test/node-api/test_buffer/
Dtest_buffer.c83 static napi_value bufferInfo(napi_env env, napi_callback_info info) { in bufferInfo() function
124 DECLARE_NODE_API_PROPERTY("bufferInfo", bufferInfo), in Init()
Dtest.js21 assert.strictEqual(binding.bufferInfo(buffer), true);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp131 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_VERTEX_BUFF… in DynamicRenderingTestInstance() local
133 …m_vertexBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
169 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(imageBufferSize, VK_BUFFER_USAGE_TRA… in DynamicRenderingTestInstance() local
173 …m_imageBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
351 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_UNIFORM_BUF… in DynamicRenderingTestInstance() local
353 …m_queryResults = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp131 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_VERTEX_BUFF… in DynamicRenderingTestInstance() local
133 …m_vertexBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
169 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(imageBufferSize, VK_BUFFER_USAGE_TRA… in DynamicRenderingTestInstance() local
173 …m_imageBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
351 …const VkBufferCreateInfo bufferInfo = makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_UNIFORM_BUF… in DynamicRenderingTestInstance() local
353 …m_queryResults = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement… in DynamicRenderingTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiBufferComputeInstance.cpp168 …const vk::VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDevice… in createDescriptorSet() local
186 …DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufferInfo); in createDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp168 …const vk::VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDevice… in createDescriptorSet() local
186 …DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufferInfo); in createDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOCornerCase.cpp137 const vk::VkBufferCreateInfo bufferInfo = in createBuffer() local
149 return vk::createBuffer(vk, vkDevice, &bufferInfo); in createBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOCornerCase.cpp137 const vk::VkBufferCreateInfo bufferInfo = in createBuffer() local
149 return vk::createBuffer(vk, vkDevice, &bufferInfo); in createBuffer()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c1175 const SVGA3dVertexBuffer_v2 *bufferInfo, in SVGA3D_vgpu10_SetVertexBuffers() argument
1195 bufs[i].stride = bufferInfo[i].stride; in SVGA3D_vgpu10_SetVertexBuffers()
1196 bufs[i].offset = bufferInfo[i].offset; in SVGA3D_vgpu10_SetVertexBuffers()
1211 const SVGA3dVertexBuffer_v2 *bufferInfo) in SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize() argument
1231 bufs[i].stride = bufferInfo[i].stride; in SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize()
1232 bufs[i].offset = bufferInfo[i].offset; in SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize()
1233 bufs[i].sizeInBytes = bufferInfo[i].sizeInBytes; in SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize()
Dsvga_cmd.h639 const SVGA3dVertexBuffer_v2 *bufferInfo,
646 const SVGA3dVertexBuffer_v2 *bufferInfo,
653 const SVGA3dVertexBuffer_v2 *bufferInfo);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderSmokeTestsEXT.cpp1363 …const auto bufferInfo = makeDescriptorBufferInfo(vertexBufferFront.get(), 0ull, vertexBufferFrontS… in iterate() local
1364 …le(setFront.get(), DescriptorSetUpdateBuilder::Location::binding(0u), bufferDescType, &bufferInfo); in iterate()
1367 …const auto bufferInfo = makeDescriptorBufferInfo(primDataBufferFront.get(), 0ull, primDataBufferFr… in iterate() local
1368 …le(setFront.get(), DescriptorSetUpdateBuilder::Location::binding(1u), bufferDescType, &bufferInfo); in iterate()
1371 …const auto bufferInfo = makeDescriptorBufferInfo(vertexBufferBack.get(), 0ull, vertexBufferBackSiz… in iterate() local
1372 …gle(setBack.get(), DescriptorSetUpdateBuilder::Location::binding(0u), bufferDescType, &bufferInfo); in iterate()
1375 …const auto bufferInfo = makeDescriptorBufferInfo(primDataBufferBack.get(), 0ull, primDataBufferBac… in iterate() local
1376 …gle(setBack.get(), DescriptorSetUpdateBuilder::Location::binding(1u), bufferDescType, &bufferInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp848 const VkDescriptorBufferInfo bufferInfo = in iterate() local
864 &bufferInfo, in iterate()
1312 const VkDescriptorBufferInfo bufferInfo = in iterate() local
1328 &bufferInfo, in iterate()
1678 const VkDescriptorBufferInfo bufferInfo = in iterate() local
1694 &bufferInfo, in iterate()
1703 const VkDescriptorBufferInfo bufferInfo = in iterate() local
1719 &bufferInfo, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSmokeTestsEXT.cpp1363 …const auto bufferInfo = makeDescriptorBufferInfo(vertexBufferFront.get(), 0ull, vertexBufferFrontS… in iterate() local
1364 …le(setFront.get(), DescriptorSetUpdateBuilder::Location::binding(0u), bufferDescType, &bufferInfo); in iterate()
1367 …const auto bufferInfo = makeDescriptorBufferInfo(primDataBufferFront.get(), 0ull, primDataBufferFr… in iterate() local
1368 …le(setFront.get(), DescriptorSetUpdateBuilder::Location::binding(1u), bufferDescType, &bufferInfo); in iterate()
1371 …const auto bufferInfo = makeDescriptorBufferInfo(vertexBufferBack.get(), 0ull, vertexBufferBackSiz… in iterate() local
1372 …gle(setBack.get(), DescriptorSetUpdateBuilder::Location::binding(0u), bufferDescType, &bufferInfo); in iterate()
1375 …const auto bufferInfo = makeDescriptorBufferInfo(primDataBufferBack.get(), 0ull, primDataBufferBac… in iterate() local
1376 …gle(setBack.get(), DescriptorSetUpdateBuilder::Location::binding(1u), bufferDescType, &bufferInfo); in iterate()

12345