/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderEncoderBase.cpp | 154 void RenderEncoderBase::APIDrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset) { in APIDrawIndirect() argument 159 DAWN_TRY(GetDevice()->ValidateObject(indirectBuffer)); in APIDrawIndirect() 160 DAWN_TRY(ValidateCanUseAs(indirectBuffer, wgpu::BufferUsage::Indirect)); in APIDrawIndirect() 167 indirectOffset >= indirectBuffer->GetSize() || in APIDrawIndirect() 168 kDrawIndirectSize > indirectBuffer->GetSize() - indirectOffset, in APIDrawIndirect() 170 indirectOffset, indirectBuffer, indirectBuffer->GetSize()); in APIDrawIndirect() 174 cmd->indirectBuffer = indirectBuffer; in APIDrawIndirect() 177 mUsageTracker.BufferUsedAs(indirectBuffer, wgpu::BufferUsage::Indirect); in APIDrawIndirect() 181 "encoding %s.DrawIndirect(%s, %u).", this, indirectBuffer, indirectOffset); in APIDrawIndirect() 184 void RenderEncoderBase::APIDrawIndexedIndirect(BufferBase* indirectBuffer, in APIDrawIndexedIndirect() argument [all …]
|
D | ComputePassEncoder.cpp | 203 ComputePassEncoder::TransformIndirectDispatchBuffer(Ref<BufferBase> indirectBuffer, in TransformIndirectDispatchBuffer() argument 211 return std::make_pair(indirectBuffer, indirectOffset); in TransformIndirectDispatchBuffer() 271 ASSERT(indirectBuffer->GetUsage() & kInternalStorageBuffer); in TransformIndirectDispatchBuffer() 276 {1, indirectBuffer, clientIndirectBindingOffset, in TransformIndirectDispatchBuffer() 293 void ComputePassEncoder::APIDispatchIndirect(BufferBase* indirectBuffer, in APIDispatchIndirect() argument 299 DAWN_TRY(GetDevice()->ValidateObject(indirectBuffer)); in APIDispatchIndirect() 300 DAWN_TRY(ValidateCanUseAs(indirectBuffer, wgpu::BufferUsage::Indirect)); in APIDispatchIndirect() 307 indirectOffset >= indirectBuffer->GetSize() || in APIDispatchIndirect() 308 indirectOffset + kDispatchIndirectSize > indirectBuffer->GetSize(), in APIDispatchIndirect() 311 indirectOffset, kDispatchIndirectSize, indirectBuffer->GetSize()); in APIDispatchIndirect() [all …]
|
D | IndirectDrawMetadata.cpp | 34 BufferBase* indirectBuffer) in IndexedIndirectBufferValidationInfo() argument 35 : mIndirectBuffer(indirectBuffer) { in IndexedIndirectBufferValidationInfo() 164 BufferBase* indirectBuffer, in AddIndexedIndirectDraw() argument 179 const IndexedIndirectConfig config(indirectBuffer, numIndexBufferElements); in AddIndexedIndirectDraw() 183 config, IndexedIndirectBufferValidationInfo(indirectBuffer)); in AddIndexedIndirectDraw()
|
D | ComputePassEncoder.h | 44 void APIDispatchIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset); 69 Ref<BufferBase> indirectBuffer,
|
D | RenderEncoderBase.h | 46 void APIDrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset); 47 void APIDrawIndexedIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
|
D | IndirectDrawMetadata.h | 64 explicit IndexedIndirectBufferValidationInfo(BufferBase* indirectBuffer); 112 BufferBase* indirectBuffer,
|
D | Commands.h | 158 Ref<BufferBase> indirectBuffer; member 178 Ref<BufferBase> indirectBuffer; member 183 Ref<BufferBase> indirectBuffer; member
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPassEncoder.cpp | 78 void RenderPassEncoderBase::DrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset) { in DrawIndirect() argument 80 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DrawIndirect() 84 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndirect() 85 indirectOffset + kDrawIndirectSize > indirectBuffer->GetSize()) { in DrawIndirect() 91 cmd->indirectBuffer = indirectBuffer; in DrawIndirect() 95 void RenderPassEncoderBase::DrawIndexedIndirect(BufferBase* indirectBuffer, in DrawIndexedIndirect() argument 98 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DrawIndexedIndirect() 102 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndexedIndirect() 103 indirectOffset + kDrawIndexedIndirectSize > indirectBuffer->GetSize()) { in DrawIndexedIndirect() 110 cmd->indirectBuffer = indirectBuffer; in DrawIndexedIndirect()
|
D | ComputePassEncoder.cpp | 53 void ComputePassEncoderBase::DispatchIndirect(BufferBase* indirectBuffer, in DispatchIndirect() argument 56 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DispatchIndirect() 60 if (indirectOffset >= indirectBuffer->GetSize() || in DispatchIndirect() 61 indirectOffset + kDispatchIndirectSize > indirectBuffer->GetSize()) { in DispatchIndirect() 68 dispatch->indirectBuffer = indirectBuffer; in DispatchIndirect()
|
D | Commands.h | 141 Ref<BufferBase> indirectBuffer; member 161 Ref<BufferBase> indirectBuffer; member 166 Ref<BufferBase> indirectBuffer; member
|
D | RenderPassEncoder.h | 46 void DrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset); 47 void DrawIndexedIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DrawIndexedIndirectTests.cpp | 82 wgpu::Buffer indirectBuffer = CreateIndirectBuffer(bufferList); in EncodeDrawCommands() local 90 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in EncodeDrawCommands() 282 wgpu::Buffer indirectBuffer = in TEST_P() local 288 pass.DrawIndexedIndirect(indirectBuffer, 0); in TEST_P() 289 pass.DrawIndexedIndirect(indirectBuffer, 20); in TEST_P() 290 pass.DrawIndexedIndirect(indirectBuffer, 40); in TEST_P() 304 wgpu::Buffer indirectBuffer = in TEST_P() local 310 pass.DrawIndexedIndirect(indirectBuffer, 0); in TEST_P() 312 pass.DrawIndexedIndirect(indirectBuffer, 20); in TEST_P() 315 pass.DrawIndexedIndirect(indirectBuffer, 40); in TEST_P() [all …]
|
D | FirstIndexOffsetTests.cpp | 173 wgpu::Buffer indirectBuffer; in TestImpl() local 181 …indirectBuffer = utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1,… in TestImpl() 186 …indirectBuffer = utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1,… in TestImpl() 211 pass.DrawIndirect(indirectBuffer, 0); in TestImpl() 215 pass.DrawIndexedIndirect(indirectBuffer, 0); in TestImpl()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDispatchTests.cpp | 97 compute::Buffer& indirectBuffer); 154 compute::Buffer& indirectBuffer) in recordDispatch() argument 167 vk.cmdDispatchIndirect(cmdBuffer, *indirectBuffer, 0); in recordDispatch() 232 compute::Buffer indirectBuffer( in iterate() local 237 …deUint8* indirectBufferPtr = reinterpret_cast<deUint8*>(indirectBuffer.getAllocation().getHostPtr(… in iterate() 240 vk::flushAlloc(vk, device, indirectBuffer.getAllocation()); in iterate() 292 recordDispatch(vk, *secondaryCmdBuffer, indirectBuffer); in iterate() 298 recordDispatch(vk, *secondaryCmdBuffer, indirectBuffer); in iterate() 312 recordDispatch(vk, *cmdBuffer, indirectBuffer); in iterate()
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlRenderCommandEncoder.h | 198 void drawPrimitives(MTLPrimitiveType primitiveType, id<MTLBuffer> indirectBuffer, in drawPrimitives() argument 201 indirectBuffer:indirectBuffer in drawPrimitives() 231 NSUInteger indexBufferOffset, id<MTLBuffer> indirectBuffer, in drawIndexedPrimitives() argument 238 indirectBuffer:indirectBuffer in drawIndexedPrimitives()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlRenderCommandEncoder.h | 194 void drawPrimitives(MTLPrimitiveType primitiveType, id<MTLBuffer> indirectBuffer, in drawPrimitives() argument 197 indirectBuffer:indirectBuffer in drawPrimitives() 227 NSUInteger indexBufferOffset, id<MTLBuffer> indirectBuffer, in drawIndexedPrimitives() argument 234 indirectBuffer:indirectBuffer in drawIndexedPrimitives()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | CommandBufferEncodingTests.cpp | 75 wgpu::Buffer indirectBuffer = in TEST_F() local 105 pass.DispatchIndirect(indirectBuffer, 0); in TEST_F() 118 pass.DispatchIndirect(indirectBuffer, 4); in TEST_F() 135 pass.DispatchIndirect(indirectBuffer, 0); in TEST_F() 180 indirectScratchBuffer = ToAPI(cmd->indirectBuffer.Get()); in TEST_F() 182 ASSERT_EQ(ToAPI(cmd->indirectBuffer.Get()), indirectScratchBuffer); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPURenderBundleEncoder.cpp | 154 interop::Interface<interop::GPUBuffer> indirectBuffer, in drawIndirect() argument 161 if (!conv(b, indirectBuffer) || // in drawIndirect() 170 interop::Interface<interop::GPUBuffer> indirectBuffer, in drawIndexedIndirect() argument 177 if (!conv(b, indirectBuffer) || // in drawIndexedIndirect()
|
D | GPURenderPassEncoder.cpp | 224 interop::Interface<interop::GPUBuffer> indirectBuffer, in drawIndirect() argument 231 if (!conv(b, indirectBuffer) || // in drawIndirect() 240 interop::Interface<interop::GPUBuffer> indirectBuffer, in drawIndexedIndirect() argument 247 if (!conv(b, indirectBuffer) || // in drawIndexedIndirect()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 136 const Buffer& indirectBuffer); 180 …oad::fillIndirectBufferData (const vk::VkCommandBuffer commandBuffer, const Buffer& indirectBuffer) in fillIndirectBufferData() argument 184 const vk::Allocation& alloc = indirectBuffer.getAllocation(); in fillIndirectBufferData() 276 Buffer indirectBuffer( in iterate() local 280 fillIndirectBufferData(*cmdBuffer, indirectBuffer); in iterate() 307 …m_device_interface.cmdDispatchIndirect(*cmdBuffer, *indirectBuffer, m_dispatchCommands[cmdNdx].m_o… in iterate() 450 const Buffer& indirectBuffer); 463 …ate::fillIndirectBufferData (const vk::VkCommandBuffer commandBuffer, const Buffer& indirectBuffer) in fillIndirectBufferData() argument 486 …const vk::VkDescriptorBufferInfo indirectDescriptorInfo = makeDescriptorBufferInfo(*indirectBuffer… in fillIndirectBufferData() 493 …vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_INDIRECT_COMMAND_READ_BIT, *indirectBuffer, 0ull, m_… in fillIndirectBufferData()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | DrawIndirectValidationTests.cpp | 76 dawn::Buffer indirectBuffer = utils::CreateBufferFromData<uint32_t>( in TestIndirectOffset() local 88 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset() 90 pass.DrawIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
D | ComputeIndirectValidationTests.cpp | 57 dawn::Buffer indirectBuffer = utils::CreateBufferFromData<uint32_t>( in TestIndirectOffset() local 63 pass.DispatchIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | DrawIndirectValidationTests.cpp | 72 wgpu::Buffer indirectBuffer = in TestIndirectOffset() local 84 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset() 86 pass.DrawIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
D | ComputeIndirectValidationTests.cpp | 51 wgpu::Buffer indirectBuffer = in TestIndirectOffset() local 57 pass.DispatchIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingTraceRaysTests.cpp | 444 de::MovePtr<BufferWithMemory> indirectBuffer; in runTest() local 453 …indirectBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, all… in runTest() 465 …deMemcpy(indirectBuffer->getAllocation().getHostPtr(), &m_data.traceDimensions, sizeof(VkTraceRays… in runTest() 466 …flushMappedMemoryRange(vkd, device, indirectBuffer->getAllocation().getMemory(), indirectBuffer->g… in runTest() 496 …orBufferInfo indirectBufferDescriptorInfo = makeDescriptorBufferInfo(indirectBuffer->get(), 0ull, … in runTest() 507 indirectBuffer->get(), 0ull, sizeof(VkTraceRaysIndirectCommandKHR)); in runTest() 548 getBufferDeviceAddress(vkd, device, indirectBuffer->get(), 0)); in runTest()
|