Home
last modified time | relevance | path

Searched refs:DAWN_ASSERT (Results 1 – 25 of 32) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/dawn/src/common/
DSerialQueue.h54 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
64 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
74 DAWN_ASSERT(values.size() > 0);
75 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
81 DAWN_ASSERT(values.size() > 0);
82 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
DAssert.h63 #define DAWN_ASSERT(condition) DAWN_ASSERT_CALLSITE_HELPER(__FILE__, __func__, __LINE__, condition) macro
66 DAWN_ASSERT(DAWN_ASSERT_LOOP_CONDITION && "Unreachable code hit"); \
71 # define ASSERT DAWN_ASSERT
DSerialMap.h61 DAWN_ASSERT(values.size() > 0);
69 DAWN_ASSERT(values.size() > 0);
DSerialStorage.h162 DAWN_ASSERT(!Empty()); in FirstSerial()
168 DAWN_ASSERT(!Empty()); in LastSerial()
DBitSetIterator.h97 DAWN_ASSERT(mBits.any());
/third_party/skia/third_party/externals/dawn/src/common/
DSerialQueue.h54 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
64 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
74 DAWN_ASSERT(values.size() > 0);
75 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
81 DAWN_ASSERT(values.size() > 0);
82 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
DAssert.h63 #define DAWN_ASSERT(condition) DAWN_ASSERT_CALLSITE_HELPER(__FILE__, __func__, __LINE__, condition) macro
66 DAWN_ASSERT(DAWN_ASSERT_LOOP_CONDITION && "Unreachable code hit"); \
71 # define ASSERT DAWN_ASSERT
DSerialMap.h62 DAWN_ASSERT(values.size() > 0);
70 DAWN_ASSERT(values.size() > 0);
DSerialStorage.h162 DAWN_ASSERT(!Empty()); in FirstSerial()
168 DAWN_ASSERT(!Empty()); in LastSerial()
DBitSetIterator.h101 DAWN_ASSERT(mBits.any());
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DPerStage.h59 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages);
63 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages);
69 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages));
74 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages));
DProgrammablePassEncoder.cpp32 DAWN_ASSERT(allocator != nullptr); in ProgrammablePassEncoder()
114 DAWN_ASSERT(bufferBinding.buffer->GetSize() >= bufferBinding.size); in SetBindGroup()
115 DAWN_ASSERT(bufferBinding.buffer->GetSize() - bufferBinding.size >= in SetBindGroup()
DCommandEncoder.cpp308 DAWN_ASSERT(*height == 0); in ValidateOrSetAttachmentSize()
311 DAWN_ASSERT(*width != 0 && *height != 0); in ValidateOrSetAttachmentSize()
323 DAWN_ASSERT(*sampleCount != 0); in ValidateOrSetColorAttachmentSampleCount()
390 DAWN_ASSERT(colorAttachment != nullptr); in ValidateRenderPassColorAttachment()
417 DAWN_ASSERT(depthStencilAttachment != nullptr); in ValidateRenderPassDepthStencilAttachment()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPerStage.h65 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages);
69 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages);
75 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages));
80 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages));
DCommandEncoder.cpp130 DAWN_ASSERT(*height == 0); in ValidateOrSetAttachmentSize()
133 DAWN_ASSERT(*width != 0 && *height != 0); in ValidateOrSetAttachmentSize()
149 DAWN_ASSERT(*sampleCount != 0); in ValidateOrSetColorAttachmentSampleCount()
258 DAWN_ASSERT(depthStencilAttachment != nullptr); in ValidateRenderPassDepthStencilAttachment()
456 DAWN_ASSERT(depthStencilAttachment != nullptr); in IsReadOnlyDepthStencilAttachment()
458 DAWN_ASSERT(IsSubset(aspects, Aspect::Depth | Aspect::Stencil)); in IsReadOnlyDepthStencilAttachment()
499 DAWN_ASSERT(querySet != nullptr); in TrackQueryAvailability()
918 DAWN_ASSERT(buffer->GetSize() >= offset); in APIClearBuffer()
DRenderEncoderBase.cpp306 DAWN_ASSERT(buffer->GetSize() >= offset); in APISetIndexBuffer()
363 DAWN_ASSERT(buffer->GetSize() >= offset); in APISetVertexBuffer()
DPassResourceUsageTracker.cpp250 DAWN_ASSERT(querySet != nullptr); in TrackQueryAvailability()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp386 DAWN_ASSERT(testWindow != nullptr); in SetUp()
388 DAWN_ASSERT(mBinding != nullptr); in SetUp()
612 DAWN_ASSERT(status == DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS); in SlotMapReadCallback()
623 DAWN_ASSERT(mReadbackSlots[expectation.readbackSlot].mappedData != nullptr); in ResolveExpectations()
633 DAWN_ASSERT(expectation.rowPitch > expectation.rowBytes); in ResolveExpectations()
732 DAWN_ASSERT(size == sizeof(T) * mExpected.size()); in Check()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp250 DAWN_ASSERT(mRTVHeap.Get() == nullptr && mDSVHeap.Get() == nullptr); in TrackRenderPass()
260 DAWN_ASSERT(mRTVHeap.Get() == nullptr && mDSVHeap.Get() == nullptr); in AllocateRTVAndDSVHeaps()
277 DAWN_ASSERT(mAllocatedRTVs + rtvCount <= mNumRTVs); in GetSubpassOMSetRenderTargetArgs()
292 DAWN_ASSERT(mAllocatedDSVs < mNumDSVs); in GetSubpassOMSetRenderTargetArgs()
659 DAWN_ASSERT(renderPassTracker.IsHeapAllocationCompleted()); in RecordCommands()
665 DAWN_ASSERT(vertexBuffersInfo != nullptr); in FlushSetVertexBuffers()
666 DAWN_ASSERT(renderPipeline != nullptr); in FlushSetVertexBuffers()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp26 DAWN_ASSERT(buffer != nullptr); in PreHandleBufferUnmap()
43 DAWN_ASSERT(buffer != nullptr); in PreHandleBufferDestroy()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1474 DAWN_ASSERT(status == WGPUBufferMapAsyncStatus_Success); in SlotMapCallback()
1486 DAWN_ASSERT(mReadbackSlots[expectation.readbackSlot].mappedData != nullptr); in ResolveExpectations()
1496 DAWN_ASSERT(expectation.bytesPerRow > expectation.rowBytes); in ResolveExpectations()
1615 DAWN_ASSERT(size == sizeof(U) * mExpected.size()); in Check()
1669 DAWN_ASSERT(size == sizeof(T) * mLowerColorChannels.size()); in Check()
1670 DAWN_ASSERT(mHigherColorChannels.size() == mLowerColorChannels.size()); in Check()
1671 DAWN_ASSERT(mValues0.size() == mValues1.size()); in Check()
1672 DAWN_ASSERT(mValues0.size() == mLowerColorChannels.size()); in Check()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientDoers.cpp22 DAWN_ASSERT(message != nullptr); in DoDeviceErrorCallback()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDrawVertexAndIndexBufferOOBValidationTests.cpp171 DAWN_ASSERT(bufferStride >= kFloat32x4Stride); in CreateBasicRenderPipeline()
185 DAWN_ASSERT(bufferStride1 >= kFloat32x4Stride); in CreateBasicRenderPipelineWithInstance()
186 DAWN_ASSERT(bufferStride2 >= kFloat32x2Stride); in CreateBasicRenderPipelineWithInstance()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DQueryInternalShaderTests.cpp45 DAWN_ASSERT(size == sizeof(uint64_t) * mExpected.size()); in Check()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp24 DAWN_ASSERT(buffer != nullptr); in PreHandleBufferUnmap()

12