Home
last modified time | relevance | path

Searched refs:indirectOffset (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp154 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 …]
DComputePassEncoder.cpp204 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 …]
DCommands.h159 uint64_t indirectOffset; member
179 uint64_t indirectOffset; member
184 uint64_t indirectOffset; member
DComputePassEncoder.h44 void APIDispatchIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
70 uint64_t indirectOffset);
DRenderEncoderBase.h46 void APIDrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
47 void APIDrawIndexedIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
DIndirectDrawMetadata.cpp165 uint64_t indirectOffset, in AddIndexedIndirectDraw() argument
188 draw.clientBufferOffset = indirectOffset; in AddIndexedIndirectDraw()
DIndirectDrawMetadata.h113 uint64_t indirectOffset,
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDrawIndirectValidationTests.cpp57 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()
DComputeIndirectValidationTests.cpp49 uint64_t indirectOffset, in TestIndirectOffset() argument
57 pass.DispatchIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPURenderBundleEncoder.cpp155 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()
DGPURenderPassEncoder.cpp225 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()
DGPURenderBundleEncoder.h73 interop::GPUSize64 indirectOffset) override;
76 interop::GPUSize64 indirectOffset) override;
DGPUComputePassEncoder.cpp49 interop::GPUSize64 indirectOffset) { in dispatchIndirect() argument
50 enc_.DispatchIndirect(*indirectBuffer.As<GPUBuffer>(), indirectOffset); in dispatchIndirect()
DGPURenderPassEncoder.h102 interop::GPUSize64 indirectOffset) override;
105 interop::GPUSize64 indirectOffset) override;
DGPUComputePassEncoder.h45 interop::GPUSize64 indirectOffset) override;
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_nir.cpp1963 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/
DComputeDispatchTests.cpp119 uint64_t indirectOffset, in IndirectTest() argument
131 uint32_t indirectStart = indirectOffset / sizeof(uint32_t); in IndirectTest()
162 pass.DispatchIndirect(indirectBuffer, indirectOffset); in IndirectTest()
DDrawIndirectTests.cpp67 uint64_t indirectOffset, in Test() argument
78 pass.DrawIndirect(indirectBuffer, indirectOffset); in Test()
DDrawIndexedIndirectTests.cpp81 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/
DglsDrawTest.cpp1782 …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/
Des31fDrawElementsBaseVertexTests.cpp141 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/
DvktConditionalDrawTests.cpp347 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/
DvktConditionalDrawTests.cpp347 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/
DvktBasicDrawTests.cpp604 …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/
DvktBasicDrawTests.cpp604 …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()

12