/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 163 DAWN_INVALID_IF(indirectOffset % 4 != 0, in APIDrawIndirect() 164 "Indirect offset (%u) is not a multiple of 4.", indirectOffset); in APIDrawIndirect() 167 indirectOffset >= indirectBuffer->GetSize() || in APIDrawIndirect() 168 kDrawIndirectSize > indirectBuffer->GetSize() - indirectOffset, in APIDrawIndirect() 170 indirectOffset, indirectBuffer, indirectBuffer->GetSize()); in APIDrawIndirect() 175 cmd->indirectOffset = indirectOffset; in APIDrawIndirect() 181 "encoding %s.DrawIndirect(%s, %u).", this, indirectBuffer, indirectOffset); in APIDrawIndirect() 185 uint64_t indirectOffset) { in APIDrawIndexedIndirect() argument 194 DAWN_INVALID_IF(indirectOffset % 4 != 0, in APIDrawIndexedIndirect() [all …]
|
D | ComputePassEncoder.cpp | 204 uint64_t indirectOffset) { in TransformIndirectDispatchBuffer() argument 211 return std::make_pair(indirectBuffer, indirectOffset); in TransformIndirectDispatchBuffer() 231 indirectOffset % storageBufferOffsetAlignment; in TransformIndirectDispatchBuffer() 232 const uint64_t clientOffsetAlignedDown = indirectOffset - clientOffsetFromAlignedBoundary; in TransformIndirectDispatchBuffer() 294 uint64_t indirectOffset) { in APIDispatchIndirect() argument 303 DAWN_INVALID_IF(indirectOffset % 4 != 0, in APIDispatchIndirect() 304 "Indirect offset (%u) is not a multiple of 4.", indirectOffset); in APIDispatchIndirect() 307 indirectOffset >= indirectBuffer->GetSize() || in APIDispatchIndirect() 308 indirectOffset + kDispatchIndirectSize > indirectBuffer->GetSize(), in APIDispatchIndirect() 311 indirectOffset, kDispatchIndirectSize, indirectBuffer->GetSize()); in APIDispatchIndirect() [all …]
|
D | Commands.h | 159 uint64_t indirectOffset; member 179 uint64_t indirectOffset; member 184 uint64_t indirectOffset; member
|
D | ComputePassEncoder.h | 44 void APIDispatchIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset); 70 uint64_t indirectOffset);
|
D | RenderEncoderBase.h | 46 void APIDrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset); 47 void APIDrawIndexedIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
|
D | IndirectDrawMetadata.cpp | 165 uint64_t indirectOffset, in AddIndexedIndirectDraw() argument 188 draw.clientBufferOffset = indirectOffset; in AddIndexedIndirectDraw()
|
D | IndirectDrawMetadata.h | 113 uint64_t indirectOffset,
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | DrawIndirectValidationTests.cpp | 57 uint64_t indirectOffset) { in TestIndirectOffsetDrawIndexed() argument 58 TestIndirectOffset(expectation, bufferList, indirectOffset, true); in TestIndirectOffsetDrawIndexed() 63 uint64_t indirectOffset) { in TestIndirectOffsetDraw() argument 64 TestIndirectOffset(expectation, bufferList, indirectOffset, false); in TestIndirectOffsetDraw() 69 uint64_t indirectOffset, in TestIndirectOffset() argument 84 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset() 86 pass.DrawIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
D | ComputeIndirectValidationTests.cpp | 49 uint64_t indirectOffset, in TestIndirectOffset() argument 57 pass.DispatchIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPURenderBundleEncoder.cpp | 155 interop::GPUSize64 indirectOffset) { in drawIndirect() argument 162 !conv(o, indirectOffset)) { in drawIndirect() 171 interop::GPUSize64 indirectOffset) { in drawIndexedIndirect() argument 178 !conv(o, indirectOffset)) { in drawIndexedIndirect()
|
D | GPURenderPassEncoder.cpp | 225 interop::GPUSize64 indirectOffset) { in drawIndirect() argument 232 !conv(o, indirectOffset)) { in drawIndirect() 241 interop::GPUSize64 indirectOffset) { in drawIndexedIndirect() argument 248 !conv(o, indirectOffset)) { in drawIndexedIndirect()
|
D | GPURenderBundleEncoder.h | 73 interop::GPUSize64 indirectOffset) override; 76 interop::GPUSize64 indirectOffset) override;
|
D | GPUComputePassEncoder.cpp | 49 interop::GPUSize64 indirectOffset) { in dispatchIndirect() argument 50 enc_.DispatchIndirect(*indirectBuffer.As<GPUBuffer>(), indirectOffset); in dispatchIndirect()
|
D | GPURenderPassEncoder.h | 102 interop::GPUSize64 indirectOffset) override; 105 interop::GPUSize64 indirectOffset) override;
|
D | GPUComputePassEncoder.h | 45 interop::GPUSize64 indirectOffset) override;
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_from_nir.cpp | 1963 Value *indirectOffset; in visit() local 1965 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit() 1972 indirectOffset, vtxBase, info_out->in[idx].patch); in visit() 1980 Value *indirectOffset; in visit() local 1982 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit() 1995 indirectOffset, vtxBase, info_out->in[idx].patch); in visit() 2017 Value *indirectOffset; in visit() local 2019 uint32_t offset = getIndirect(&insn->src[1], 0, indirectOffset); in visit() 2020 if (indirectOffset) in visit() 2021 indirectOffset = mkOp1v(OP_MOV, TYPE_U32, getSSA(4, FILE_ADDRESS), indirectOffset); in visit() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ComputeDispatchTests.cpp | 119 uint64_t indirectOffset, in IndirectTest() argument 131 uint32_t indirectStart = indirectOffset / sizeof(uint32_t); in IndirectTest() 162 pass.DispatchIndirect(indirectBuffer, indirectOffset); in IndirectTest()
|
D | DrawIndirectTests.cpp | 67 uint64_t indirectOffset, in Test() argument 78 pass.DrawIndirect(indirectBuffer, indirectOffset); in Test()
|
D | DrawIndexedIndirectTests.cpp | 81 uint64_t indirectOffset) { in EncodeDrawCommands() argument 90 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in EncodeDrawCommands() 106 uint64_t indirectOffset, in Test() argument 113 TestDraw(EncodeDrawCommands(bufferList, indexBuffer, indexOffset, indirectOffset), in Test()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsDrawTest.cpp | 1782 …d* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVerte… 1861 …d* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVerte… in render() argument 1932 deUint8* buffer = new deUint8[sizeof(DrawCommand) + indirectOffset]; in render() 1942 memcpy(buffer + indirectOffset, &command, sizeof(command)); in render() 1958 …m_ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(DrawCommand) + indirectOffset, buffer, GL_STATIC_… in render() 1963 m_ctx.drawArraysIndirect(primitiveToGL(primitive), glu::BufferOffsetAsPointer(indirectOffset)); in render() 1978 deUint8* buffer = new deUint8[sizeof(DrawCommand) + indirectOffset]; in render() 1993 memcpy(buffer + indirectOffset, &command, sizeof(command)); in render() 2010 …m_ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(DrawCommand) + indirectOffset, buffer, GL_STATIC_… in render() 2015 …ct(primitiveToGL(primitive), indexTypeToGL(indexType), glu::BufferOffsetAsPointer(indirectOffset)); in render() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 141 spec.indirectOffset = 0; in genBasicSpec() 661 spec.indirectOffset = 0; in init() 698 spec.indirectOffset = 0; in init() 746 spec.indirectOffset = 0; in init() 808 spec.indirectOffset = 0; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
D | vktConditionalDrawTests.cpp | 347 const vk::VkDeviceSize indirectOffset = sizeof(vk::VkDrawIndirectCommand) * drawIdx * 3; in recordDraw() local 363 m_vk.cmdDrawIndirect(cmdBuffer, m_indirectBuffer->object(), indirectOffset, 1, 0); in recordDraw() 374 m_indirectBuffer->object(), indirectOffset, in recordDraw()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawTests.cpp | 347 const vk::VkDeviceSize indirectOffset = sizeof(vk::VkDrawIndirectCommand) * drawIdx * 3; in recordDraw() local 363 m_vk.cmdDrawIndirect(cmdBuffer, m_indirectBuffer->object(), indirectOffset, 1, 0); in recordDraw() 374 m_indirectBuffer->object(), indirectOffset, in recordDraw()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktBasicDrawTests.cpp | 604 …andBuffer cmdBuffer, vk::VkBuffer indirectBuffer = DE_NULL, vk::VkDeviceSize indirectOffset = 0ul); 1088 …::draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indirectBuffer, vk::VkDeviceSize indirectOffset) in draw() argument 1097 const deUint32 offset = (deUint32)(indirectOffset + cmdIdx * sizeof(vk::VkDrawIndirectCommand)); in draw() 1103 …m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), … in draw() 1301 …::draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indirectBuffer, vk::VkDeviceSize indirectOffset) in draw() argument 1310 …const deUint32 offset = (deUint32)(indirectOffset + cmdIdx * sizeof(vk::VkDrawIndexedIndirectComma… in draw() 1316 …m_vk.cmdDrawIndexedIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.s… in draw()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktBasicDrawTests.cpp | 604 …andBuffer cmdBuffer, vk::VkBuffer indirectBuffer = DE_NULL, vk::VkDeviceSize indirectOffset = 0ul); 1088 …::draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indirectBuffer, vk::VkDeviceSize indirectOffset) in draw() argument 1097 const deUint32 offset = (deUint32)(indirectOffset + cmdIdx * sizeof(vk::VkDrawIndirectCommand)); in draw() 1103 …m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), … in draw() 1301 …::draw(vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indirectBuffer, vk::VkDeviceSize indirectOffset) in draw() argument 1310 …const deUint32 offset = (deUint32)(indirectOffset + cmdIdx * sizeof(vk::VkDrawIndexedIndirectComma… in draw() 1316 …m_vk.cmdDrawIndexedIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.s… in draw()
|