/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkPipelineLayout.cpp | 32 descriptorSets[0].bindings = bindingStorage; // Used in destroy() for deallocation. in PipelineLayout() 38 descriptorSets[i].bindings = bindingStorage; in PipelineLayout() 40 descriptorSets[i].bindingCount = bindingsArraySize; in PipelineLayout() 44 descriptorSets[i].bindings[j].descriptorType = setLayout->getDescriptorType(j); in PipelineLayout() 45 descriptorSets[i].bindings[j].offset = setLayout->getBindingOffset(j); in PipelineLayout() 46 descriptorSets[i].bindings[j].dynamicOffsetIndex = dynamicOffsetIndex; in PipelineLayout() 47 descriptorSets[i].bindings[j].descriptorCount = setLayout->getDescriptorCount(j); in PipelineLayout() 49 if(DescriptorSetLayout::IsDescriptorDynamic(descriptorSets[i].bindings[j].descriptorType)) in PipelineLayout() 65 vk::freeHostMemory(descriptorSets[0].bindings, pAllocator); // pushConstantRanges are in the same allocation in destroy() 72 vk::freeHostMemory(descriptorSets[ in release() [all...] |
H A D | VkDescriptorSet.cpp | 23 void DescriptorSet::ParseDescriptors(const Array &descriptorSets, const PipelineLayout *layout, Device *device, NotificationType notificationType) in ParseDescriptors() argument 32 DescriptorSet *descriptorSet = descriptorSets[i]; in ParseDescriptors() 81 void DescriptorSet::ContentsChanged(const Array &descriptorSets, const PipelineLayout *layout, Device *device) in ContentsChanged() argument 83 ParseDescriptors(descriptorSets, layout, device, CONTENTS_CHANGED); in ContentsChanged() 86 void DescriptorSet::PrepareForSampling(const Array &descriptorSets, const PipelineLayout *layout, Device *device) in PrepareForSampling() argument 88 ParseDescriptors(descriptorSets, layout, device, PREPARE_FOR_SAMPLING); in PrepareForSampling()
|
H A D | VkDescriptorSet.hpp | 44 static void ContentsChanged(const Array &descriptorSets, const PipelineLayout *layout, Device *device); 45 static void PrepareForSampling(const Array &descriptorSets, const PipelineLayout *layout, Device *device); 56 static void ParseDescriptors(const Array &descriptorSets, const PipelineLayout *layout, Device *device, NotificationType notificationType);
|
H A D | VkPipeline.cpp | 114 vk::DescriptorSet::Bindings descriptorSets; // TODO(b/129523279): Delay code generation until dispatch time. in createProgram() local 116 auto program = std::make_shared<sw::ComputeProgram>(device, shader, layout, descriptorSets); in createProgram() 475 vk::DescriptorSet::Bindings const &descriptorSets, in run() 481 descriptorSetObjects, descriptorSets, descriptorDynamicOffsets, pushConstants, in run() 472 run(uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, vk::DescriptorSet::Array const &descriptorSetObjects, vk::DescriptorSet::Bindings const &descriptorSets, vk::DescriptorSet::DynamicOffsets const &descriptorDynamicOffsets, vk::Pipeline::PushConstantStorage const &pushConstants) run() argument
|
H A D | VkPipelineLayout.hpp | 64 DescriptorSet descriptorSets[MAX_BOUND_DESCRIPTOR_SETS]; member in vk::PipelineLayout
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | VertexProgram.cpp | 31 const vk::DescriptorSet::Bindings &descriptorSets) in VertexProgram() 33 , descriptorSets(descriptorSets) in VertexProgram() 59 routine.descriptorSets = data + OFFSET(DrawData, descriptorSets); in VertexProgram() 84 spirvShader->emit(&routine, activeLaneMask, storesAndAtomicsMask, descriptorSets); in program() 27 VertexProgram( const VertexProcessor::State &state, vk::PipelineLayout const *pipelineLayout, SpirvShader const *spirvShader, const vk::DescriptorSet::Bindings &descriptorSets) VertexProgram() argument
|
H A D | ComputeProgram.cpp | 41 ComputeProgram::ComputeProgram(vk::Device *device, std::shared_ptr<SpirvShader> shader, vk::PipelineLayout const *pipelineLayout, const vk::DescriptorSet::Bindings &descriptorSets) in ComputeProgram() argument 45 , descriptorSets(descriptorSets) in ComputeProgram() 185 routine->descriptorSets = data + OFFSET(Data, descriptorSets); in emit() 208 shader->emit(routine, activeLaneMask, activeLaneMask, descriptorSets); in emit() 214 vk::DescriptorSet::Bindings const &descriptorSets, in run() 227 data.descriptorSets = descriptorSets; in run() 212 run( vk::DescriptorSet::Array const &descriptorSetObjects, vk::DescriptorSet::Bindings const &descriptorSets, vk::DescriptorSet::DynamicOffsets const &descriptorDynamicOffsets, vk::Pipeline::PushConstantStorage const &pushConstants, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) run() argument
|
H A D | ComputeProgram.hpp | 50 ComputeProgram(vk::Device *device, std::shared_ptr<SpirvShader> spirvShader, vk::PipelineLayout const *pipelineLayout, const vk::DescriptorSet::Bindings &descriptorSets); 73 vk::DescriptorSet::Bindings descriptorSets; member 86 const vk::DescriptorSet::Bindings &descriptorSets; member in sw::ComputeProgram
|
H A D | VertexProgram.hpp | 32 const vk::DescriptorSet::Bindings &descriptorSets); 39 const vk::DescriptorSet::Bindings &descriptorSets; member in sw::VertexProgram
|
H A D | PixelProgram.cpp | 29 const vk::DescriptorSet::Bindings &descriptorSets) in PixelProgram() 30 : PixelRoutine(state, pipelineLayout, spirvShader, descriptorSets) in PixelProgram() 142 routine.descriptorSets = data + OFFSET(DrawData, descriptorSets); in executeShader() 202 spirvShader->emit(&routine, activeLaneMask, storesAndAtomicsMask, descriptorSets, state.multiSampleCount); in executeShader() 25 PixelProgram( const PixelProcessor::State &state, const vk::PipelineLayout *pipelineLayout, const SpirvShader *spirvShader, const vk::DescriptorSet::Bindings &descriptorSets) PixelProgram() argument
|
H A D | PixelProgram.hpp | 29 const vk::DescriptorSet::Bindings &descriptorSets);
|
H A D | PixelRoutine.hpp | 33 const vk::DescriptorSet::Bindings &descriptorSets); 45 const vk::DescriptorSet::Bindings &descriptorSets; member in sw::PixelRoutine
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | VertexProcessor.cpp | 94 const vk::DescriptorSet::Bindings &descriptorSets) in routine() 100 VertexRoutine *generator = new VertexProgram(state, pipelineLayout, vertexShader, descriptorSets); in routine() 91 routine(const State &state, vk::PipelineLayout const *pipelineLayout, SpirvShader const *vertexShader, const vk::DescriptorSet::Bindings &descriptorSets) routine() argument
|
H A D | Context.hpp | 71 inline const DescriptorSet::Bindings &getDescriptorSets() const { return descriptorSets; } in getDescriptorSets() 82 DescriptorSet::Bindings descriptorSets = {}; member
|
H A D | PixelProcessor.cpp | 182 const vk::DescriptorSet::Bindings &descriptorSets) in routine() 188 QuadRasterizer *generator = new PixelProgram(state, pipelineLayout, pixelShader, descriptorSets); in routine() 179 routine(const State &state, const vk::PipelineLayout *pipelineLayout, const SpirvShader *pixelShader, const vk::DescriptorSet::Bindings &descriptorSets) routine() argument
|
H A D | VertexProcessor.hpp | 100 SpirvShader const *vertexShader, const vk::DescriptorSet::Bindings &descriptorSets);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassLoadStoreOpNoneTests.cpp | 381 std::vector<Move<VkDescriptorSet>>& descriptorSets, 387 std::vector<Move<VkDescriptorSet>>& descriptorSets, 391 std::vector<Move<VkDescriptorSet>>& descriptorSets, 553 std::vector<Move<VkDescriptorSet>>& descriptorSets, in createCommandBuffer() 575 drawCommands(*m_cmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 584 std::vector<Move<VkDescriptorSet>>& descriptorSets, in createCommandBuffer() 732 drawCommands(*m_secCmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 755 drawCommands(*m_cmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 763 std::vector<Move<VkDescriptorSet>>& descriptorSets, in drawCommands() 817 &descriptorSets[descriptorSetId in drawCommands() 551 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) createCommandBuffer() argument 581 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice, std::vector<Move<VkImageView>>& imageViews, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) createCommandBuffer() argument 762 drawCommands(VkCommandBuffer cmdBuffer, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) const drawCommands() argument 1005 std::vector<Move<VkDescriptorSet>> descriptorSets; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassLoadStoreOpNoneTests.cpp | 382 std::vector<Move<VkDescriptorSet>>& descriptorSets, 388 std::vector<Move<VkDescriptorSet>>& descriptorSets, 392 std::vector<Move<VkDescriptorSet>>& descriptorSets, 555 std::vector<Move<VkDescriptorSet>>& descriptorSets, in createCommandBuffer() 577 drawCommands(*m_cmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 586 std::vector<Move<VkDescriptorSet>>& descriptorSets, in createCommandBuffer() 734 drawCommands(*m_secCmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 757 drawCommands(*m_cmdBuffer, descriptorSets, pipelineLayouts, pipelines); in createCommandBuffer() 765 std::vector<Move<VkDescriptorSet>>& descriptorSets, in drawCommands() 819 &descriptorSets[descriptorSetId in drawCommands() 553 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) createCommandBuffer() argument 583 createCommandBuffer(const DeviceInterface& vk, VkDevice vkDevice, std::vector<Move<VkImageView>>& imageViews, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) createCommandBuffer() argument 764 drawCommands(VkCommandBuffer cmdBuffer, std::vector<Move<VkDescriptorSet>>& descriptorSets, std::vector<Move<VkPipelineLayout>>& pipelineLayouts, std::vector<Move<VkPipeline>>& pipelines) const drawCommands() argument 1004 std::vector<Move<VkDescriptorSet>> descriptorSets; iterate() local [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | DrawTester.cpp | 332 std::vector<vk::DescriptorSet> descriptorSets; in createCommandBuffers() local 352 descriptorSets = device.allocateDescriptorSets(allocInfo); in createCommandBuffers() 354 hooks.updateDescriptorSet(*this, commandPool, descriptorSets[0]); in createCommandBuffers() 389 if(!descriptorSets.empty()) in createCommandBuffers() 391 commandBuffers[i].bindDescriptorSets(vk::PipelineBindPoint::eGraphics, pipelineLayout, 0, 1, &descriptorSets[0], 0, nullptr); in createCommandBuffers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExtendedDynamicStateMiscTests.cpp | 186 DescriptorSetVec descriptorSets; in sampleShadingWithDynamicSampleCount() 190 descriptorSets.emplace_back(makeDescriptorSet(ctx.vkd, ctx.device, *descriptorPool, *setLayout)); in sampleShadingWithDynamicSampleCount() 194 updateBuilder.writeSingle(*descriptorSets.back(), DescriptorSetUpdateBuilder::Location::binding(0u), descriptorType, &counterBufferDescriptorInfo); in sampleShadingWithDynamicSampleCount() 368 ctx.vkd.cmdBindDescriptorSets(cmdBuffer, bindPoint, *pipelineLayout, 0u, 1u, &descriptorSets.at(drawIdx).get(), 0u, nullptr); in sampleShadingWithDynamicSampleCount()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | CommandBufferVk.cpp | 899 DescriptorSetTracker descriptorSets = {}; in RecordComputePass() local 914 descriptorSets.Apply(device, recordingContext, VK_PIPELINE_BIND_POINT_COMPUTE); in RecordComputePass() 927 descriptorSets.Apply(device, recordingContext, VK_PIPELINE_BIND_POINT_COMPUTE); in RecordComputePass() 945 descriptorSets.OnSetBindGroup(cmd->index, bindGroup, cmd->dynamicOffsetCount, in RecordComputePass() 956 descriptorSets.OnSetPipeline(pipeline); in RecordComputePass() 1070 DescriptorSetTracker descriptorSets = {}; in RecordRenderPass() local 1078 descriptorSets.Apply(device, recordingContext, VK_PIPELINE_BIND_POINT_GRAPHICS); in RecordRenderPass() 1087 descriptorSets.Apply(device, recordingContext, VK_PIPELINE_BIND_POINT_GRAPHICS); in RecordRenderPass() 1098 descriptorSets.Apply(device, recordingContext, VK_PIPELINE_BIND_POINT_GRAPHICS); in RecordRenderPass() 1110 descriptorSets in RecordRenderPass() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 413 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands() 510 descriptorSets[mipLevelNdx] = makeVkSharedPtr(makeDescriptorSet(deviceInterface, getDevice(), *descriptorPool, *descriptorSetLayout)); in recordCommands() 511 const VkDescriptorSet descriptorSet = **descriptorSets[mipLevelNdx]; in recordCommands()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 413 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands() 510 descriptorSets[mipLevelNdx] = makeVkSharedPtr(makeDescriptorSet(deviceInterface, getDevice(), *descriptorPool, *descriptorSetLayout)); in recordCommands() 511 const VkDescriptorSet descriptorSet = **descriptorSets[mipLevelNdx]; in recordCommands()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktDeviceObjectReservationTests.cpp | 1681 std::vector<DescriptorSetSp> descriptorSets(VERIFYMAXVALUES_OBJECT_COUNT); 1682 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), end(descriptorSets)); 1685 std::fill(begin(descriptorSets) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSets), DescriptorSetSp()); variable 1686 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSets)); 1687 std::fill(begin(descriptorSets), end(descriptorSets), DescriptorSetSp()); 1688 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), en [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktDeviceObjectReservationTests.cpp | 1680 std::vector<DescriptorSetSp> descriptorSets(VERIFYMAXVALUES_OBJECT_COUNT); 1681 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), end(descriptorSets)); 1684 std::fill(begin(descriptorSets) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSets), DescriptorSetSp()); variable 1685 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSets)); 1686 std::fill(begin(descriptorSets), end(descriptorSets), DescriptorSetSp()); 1687 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), en [all...] |