Home
last modified time | relevance | path

Searched refs:indirectOffset (Results 1 – 25 of 48) 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 …]
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);
DCommands.h159 uint64_t indirectOffset; member
179 uint64_t indirectOffset; member
184 uint64_t indirectOffset; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp78 void RenderPassEncoderBase::DrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset) { in DrawIndirect() argument
84 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndirect()
85 indirectOffset + kDrawIndirectSize > indirectBuffer->GetSize()) { in DrawIndirect()
92 cmd->indirectOffset = indirectOffset; in DrawIndirect()
96 uint64_t indirectOffset) { in DrawIndexedIndirect() argument
102 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndexedIndirect()
103 indirectOffset + kDrawIndexedIndirectSize > indirectBuffer->GetSize()) { in DrawIndexedIndirect()
111 cmd->indirectOffset = indirectOffset; in DrawIndexedIndirect()
DComputePassEncoder.cpp54 uint64_t indirectOffset) { in DispatchIndirect() argument
60 if (indirectOffset >= indirectBuffer->GetSize() || in DispatchIndirect()
61 indirectOffset + kDispatchIndirectSize > indirectBuffer->GetSize()) { in DispatchIndirect()
69 dispatch->indirectOffset = indirectOffset; in DispatchIndirect()
DCommands.h142 uint64_t indirectOffset; member
162 uint64_t indirectOffset; member
167 uint64_t indirectOffset; member
DRenderPassEncoder.h46 void DrawIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
47 void DrawIndexedIndirect(BufferBase* indirectBuffer, uint64_t indirectOffset);
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDrawIndirectValidationTests.cpp62 uint64_t indirectOffset) { in TestIndirectOffsetDrawIndexed() argument
63 TestIndirectOffset(expectation, bufferList, indirectOffset, true); in TestIndirectOffsetDrawIndexed()
68 uint64_t indirectOffset) { in TestIndirectOffsetDraw() argument
69 TestIndirectOffset(expectation, bufferList, indirectOffset, false); in TestIndirectOffsetDraw()
74 uint64_t indirectOffset, in TestIndirectOffset() argument
88 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
90 pass.DrawIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
DComputeIndirectValidationTests.cpp56 uint64_t indirectOffset) { in TestIndirectOffset() argument
63 pass.DispatchIndirect(indirectBuffer, indirectOffset); in TestIndirectOffset()
/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/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DComputeIndirectTests.cpp43 void BasicTest(std::initializer_list<uint32_t> buffer, uint64_t indirectOffset);
47 uint64_t indirectOffset) { in BasicTest() argument
82 utils::CreateBufferFromData(device, &indirectBufferData[indirectOffset / sizeof(uint32_t)], in BasicTest()
99 pass.DispatchIndirect(indirectBuffer, indirectOffset); in BasicTest()
108 EXPECT_BUFFER_U32_RANGE_EQ(&indirectBufferData[indirectOffset / sizeof(uint32_t)], dst, 0, 3); in BasicTest()
DDrawIndirectTests.cpp71 uint64_t indirectOffset, in Test() argument
83 pass.DrawIndirect(indirectBuffer, indirectOffset); in Test()
DDrawIndexedIndirectTests.cpp80 uint64_t indirectOffset, in Test() argument
93 pass.DrawIndexedIndirect(indirectBuffer, indirectOffset); in Test()
/third_party/flatbuffers/ts/flexbuffers/
Dreference-util.ts71 …const indirectOffset = keysVectorOffset - (readUInt(dataView, keysVectorOffset, bitWidth) as numbe… constant
77 const dif = diffKeys(input, mid, dataView, indirectOffset, _byteWidth);
110 …const indirectOffset = keysVectorOffset - (readUInt(dataView, keysVectorOffset, bitWidth) as numbe… constant
112 const keyOffset = indirectOffset + index * _byteWidth;
/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;
/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()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp1945 Value *indirectOffset; in visit() local
1947 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit()
1954 indirectOffset, vtxBase, info_out->in[idx].patch); in visit()
1962 Value *indirectOffset; in visit() local
1964 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit()
1977 indirectOffset, vtxBase, info_out->in[idx].patch); in visit()
1999 Value *indirectOffset; in visit() local
2001 uint32_t offset = getIndirect(&insn->src[1], 0, indirectOffset); in visit()
2005 indirectOffset, indirectIndex); in visit()
2022 Value *indirectOffset; in visit() local
[all …]

12