Home
last modified time | relevance | path

Searched refs:dynamicOffsets (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DProgrammableEncoder.cpp121 ityp::span<BindingIndex, const uint32_t> dynamicOffsets(dynamicOffsetsIn, in ValidateSetBindGroup() local
127 layout->GetDynamicBufferCount() != dynamicOffsets.size(), in ValidateSetBindGroup()
130 static_cast<uint32_t>(dynamicOffsets.size()), in ValidateSetBindGroup()
133 for (BindingIndex i{0}; i < dynamicOffsets.size(); ++i) { in ValidateSetBindGroup()
155 DAWN_INVALID_IF(!IsAligned(dynamicOffsets[i], requiredAlignment), in ValidateSetBindGroup()
157 static_cast<uint32_t>(i), dynamicOffsets[i], requiredAlignment); in ValidateSetBindGroup()
166 if ((dynamicOffsets[i] > in ValidateSetBindGroup()
174 static_cast<uint32_t>(i), dynamicOffsets[i], bufferBinding.buffer, in ValidateSetBindGroup()
180 static_cast<uint32_t>(i), dynamicOffsets[i], bufferBinding.buffer, in ValidateSetBindGroup()
192 const uint32_t* dynamicOffsets) const { in RecordSetBindGroup()
[all …]
DBindGroupTracker.h38 uint32_t* dynamicOffsets) { in OnSetBindGroup() argument
58 SetDynamicOffsets(mDynamicOffsets[index].data(), dynamicOffsetCount, dynamicOffsets); in OnSetBindGroup()
127 uint32_t* dynamicOffsets) { in SetDynamicOffsets() argument
129 data[i] = static_cast<uint64_t>(dynamicOffsets[i]); in SetDynamicOffsets()
135 uint32_t* dynamicOffsets) { in SetDynamicOffsets() argument
136 memcpy(data, dynamicOffsets, sizeof(uint32_t) * dynamicOffsetCount); in SetDynamicOffsets()
DComputePassEncoder.cpp382 const uint32_t* dynamicOffsets) { in APISetBindGroup() argument
390 dynamicOffsets)); in APISetBindGroup()
395 dynamicOffsets); in APISetBindGroup()
397 dynamicOffsets); in APISetBindGroup()
DRenderEncoderBase.cpp387 const uint32_t* dynamicOffsets) { in APISetBindGroup() argument
395 dynamicOffsets)); in APISetBindGroup()
399 dynamicOffsets); in APISetBindGroup()
401 dynamicOffsets); in APISetBindGroup()
DCommandBufferStateTracker.cpp344 const uint32_t* dynamicOffsets) { in SetBindGroup() argument
346 mDynamicOffsets[index].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); in SetBindGroup()
DProgrammableEncoder.h55 const uint32_t* dynamicOffsets) const;
DComputePassEncoder.h50 const uint32_t* dynamicOffsets = nullptr);
DRenderEncoderBase.h60 const uint32_t* dynamicOffsets = nullptr);
DCommandBufferStateTracker.h44 const uint32_t* dynamicOffsets);
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUComputePassEncoder.cpp85 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) { in setBindGroup() argument
91 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
DGPURenderBundleEncoder.cpp45 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) { in setBindGroup() argument
51 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
DGPURenderPassEncoder.cpp120 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) { in setBindGroup() argument
126 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
DGPUComputePassEncoder.h57 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) override;
DGPURenderBundleEncoder.h38 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) override;
DGPURenderPassEncoder.h67 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) override;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp415 ityp::span<BindingIndex, const uint64_t> dynamicOffsets( in ApplyBindGroup() local
417 ASSERT(dynamicOffsets.size() == group->GetLayout()->GetDynamicBufferCount()); in ApplyBindGroup()
421 if (dynamicOffsets.size() != BindingIndex(0)) { in ApplyBindGroup()
424 for (BindingIndex bindingIndex{0}; bindingIndex < dynamicOffsets.size(); in ApplyBindGroup()
440 uint64_t dynamicOffset = dynamicOffsets[bindingIndex]; in ApplyBindGroup()
1129 uint32_t* dynamicOffsets = nullptr; in RecordComputePass() local
1132 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordComputePass()
1136 dynamicOffsets); in RecordComputePass()
1511 uint32_t* dynamicOffsets = nullptr; in RecordRenderPass() local
1514 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordRenderPass()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DCommandBufferEncodingTests.cpp160 uint32_t* dynamicOffsets = nullptr; in TEST_F() local
162 dynamicOffsets = commands->NextData<uint32_t>(cmd->dynamicOffsetCount); in TEST_F()
169 ASSERT_EQ(dynamicOffsets[i], offsets[i]); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DShaderCore.cpp857 , dynamicOffsets(0) in Pointer()
867 , dynamicOffsets(0) in Pointer()
877 , dynamicOffsets(offset) in Pointer()
887 , dynamicOffsets(offset) in Pointer()
895 dynamicOffsets += i; in operator +=()
902 dynamicOffsets = offsets() * i; in operator *=()
932 dynamicOffsets *= SIMD::Int(i); in operator *=()
953 …return dynamicOffsets + SIMD::Int(staticOffsets[0], staticOffsets[1], staticOffsets[2], staticOffs… in offsets()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp243 uint64_t* dynamicOffsets) { in ApplyBindGroup() argument
260 offset += dynamicOffsets[currentDynamicOffsetIndex]; in ApplyBindGroup()
939 uint32_t* dynamicOffsets = nullptr; in ExecuteComputePass() local
941 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in ExecuteComputePass()
944 cmd->dynamicOffsetCount, dynamicOffsets); in ExecuteComputePass()
1242 uint32_t* dynamicOffsets = nullptr; in ExecuteRenderPass() local
1244 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in ExecuteRenderPass()
1247 cmd->dynamicOffsetCount, dynamicOffsets); in ExecuteRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp940 uint32_t* dynamicOffsets = nullptr; in RecordComputePass() local
942 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordComputePass()
946 dynamicOffsets); in RecordComputePass()
1170 uint32_t* dynamicOffsets = nullptr; in RecordRenderPass() local
1172 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordRenderPass()
1176 dynamicOffsets); in RecordRenderPass()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDynamicBufferOffsetTests.cpp553 std::array<uint32_t, 2> dynamicOffsets = {srcBufferByteOffset, dstBufferByteOffset}; in TEST_P() local
564 computePassEncoder.SetBindGroup(0, bindGroup, dynamicOffsets.size(), dynamicOffsets.data()); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm380 uint64_t* dynamicOffsets,
426 offset += dynamicOffsets[currentDynamicBufferIndex];
1107 uint32_t* dynamicOffsets = nullptr;
1109 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount);
1113 cmd->dynamicOffsetCount, dynamicOffsets);
1424 uint32_t* dynamicOffsets = nullptr;
1426 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount);
1430 cmd->dynamicOffsetCount, dynamicOffsets);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.cpp199 const uint32_t *dynamicOffsets = Offset<uint32_t>( in executeCommands() local
204 dynamicOffsets); in executeCommands()
DSecondaryCommandBuffer.h517 const uint32_t *dynamicOffsets);
924 const uint32_t *dynamicOffsets) in bindDescriptorSets() argument
939 storePointerParameter(writePtr, dynamicOffsets, offsetSize); in bindDescriptorSets()
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.h60 const uint32_t* dynamicOffsets);

12