/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | QueryHelper.cpp | 117 DAWN_TRY_ASSIGN( in GetOrCreateTimestampComputePipeline() 124 DAWN_TRY_ASSIGN( in GetOrCreateTimestampComputePipeline() 137 DAWN_TRY_ASSIGN(layout, utils::MakeBasicPipelineLayout(device, bgl)); in GetOrCreateTimestampComputePipeline() 146 DAWN_TRY_ASSIGN(store->timestampComputePipeline, in GetOrCreateTimestampComputePipeline() 162 DAWN_TRY_ASSIGN(pipeline, GetOrCreateTimestampComputePipeline(device)); in EncodeConvertTimestampsToNanoseconds() 166 DAWN_TRY_ASSIGN(layout, pipeline->GetBindGroupLayout(0)); in EncodeConvertTimestampsToNanoseconds() 170 DAWN_TRY_ASSIGN(bindGroup, in EncodeConvertTimestampsToNanoseconds()
|
D | CopyTextureForBrowserHelper.cpp | 193 DAWN_TRY_ASSIGN( in GetOrCreateCopyTextureForBrowserPipeline() 229 DAWN_TRY_ASSIGN(pipeline, device->CreateRenderPipeline(&renderPipelineDesc)); in GetOrCreateCopyTextureForBrowserPipeline() 298 DAWN_TRY_ASSIGN(pipeline, GetOrCreateCopyTextureForBrowserPipeline( in DoCopyTextureForBrowser() 303 DAWN_TRY_ASSIGN(layout, pipeline->GetBindGroupLayout(0)); in DoCopyTextureForBrowser() 328 DAWN_TRY_ASSIGN( in DoCopyTextureForBrowser() 337 DAWN_TRY_ASSIGN(sampler, device->CreateSampler(&samplerDesc)); in DoCopyTextureForBrowser() 345 DAWN_TRY_ASSIGN(srcTextureView, in DoCopyTextureForBrowser() 350 DAWN_TRY_ASSIGN(bindGroup, utils::MakeBindGroup( in DoCopyTextureForBrowser() 366 DAWN_TRY_ASSIGN(dstView, in DoCopyTextureForBrowser()
|
D | ComputePassEncoder.cpp | 47 DAWN_TRY_ASSIGN(shaderModule, utils::CreateShaderModule(device, R"( in GetOrCreateIndirectDispatchValidationPipeline() 85 DAWN_TRY_ASSIGN( in GetOrCreateIndirectDispatchValidationPipeline() 97 DAWN_TRY_ASSIGN(pipelineLayout, in GetOrCreateIndirectDispatchValidationPipeline() 105 DAWN_TRY_ASSIGN(store->dispatchIndirectValidationPipeline, in GetOrCreateIndirectDispatchValidationPipeline() 221 DAWN_TRY_ASSIGN(validationPipeline, GetOrCreateIndirectDispatchValidationPipeline(device)); in TransformIndirectDispatchBuffer() 224 DAWN_TRY_ASSIGN(layout, validationPipeline->GetBindGroupLayout(0)); in TransformIndirectDispatchBuffer() 259 DAWN_TRY_ASSIGN(uniformBuffer, utils::CreateBufferFromData( in TransformIndirectDispatchBuffer() 272 DAWN_TRY_ASSIGN(validationBindGroup, in TransformIndirectDispatchBuffer() 337 DAWN_TRY_ASSIGN(std::tie(indirectBufferRef, indirectOffset), in APIDispatchIndirect()
|
D | IndirectDrawValidationEncoder.cpp | 142 DAWN_TRY_ASSIGN( in GetOrCreateRenderValidationPipeline() 148 DAWN_TRY_ASSIGN( in GetOrCreateRenderValidationPipeline() 161 DAWN_TRY_ASSIGN(pipelineLayout, in GetOrCreateRenderValidationPipeline() 169 DAWN_TRY_ASSIGN(store->renderValidationPipeline, in GetOrCreateRenderValidationPipeline() 325 DAWN_TRY_ASSIGN(pipeline, GetOrCreateRenderValidationPipeline(device)); in EncodeIndirectDrawValidationCommands() 328 DAWN_TRY_ASSIGN(layout, pipeline->GetBindGroupLayout(0)); in EncodeIndirectDrawValidationCommands() 372 DAWN_TRY_ASSIGN(bindGroup, device->CreateBindGroup(&bindGroupDescriptor)); in EncodeIndirectDrawValidationCommands()
|
D | DynamicUploader.cpp | 36 DAWN_TRY_ASSIGN(stagingBuffer, mDevice->CreateStagingBuffer(allocationSize)); in AllocateInternal() 82 DAWN_TRY_ASSIGN(stagingBuffer, in AllocateInternal() 120 DAWN_TRY_ASSIGN(uploadHandle, in Allocate()
|
D | ShaderModule.cpp | 681 DAWN_TRY_ASSIGN(metadata->stage, TintPipelineStageToShaderStage(entryPoint.stage)); in ReflectShaderUsingTint() 732 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 754 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 757 DAWN_TRY_ASSIGN(metadata->interStageVariables[location].componentCount, in ReflectShaderUsingTint() 760 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 763 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 793 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 796 DAWN_TRY_ASSIGN(metadata->interStageVariables[location].componentCount, in ReflectShaderUsingTint() 799 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() 802 DAWN_TRY_ASSIGN( in ReflectShaderUsingTint() [all …]
|
D | Device.cpp | 137 DAWN_TRY_ASSIGN(layoutRef, PipelineLayoutBase::CreateDefault( in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() 162 DAWN_TRY_ASSIGN(layoutRef, in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 243 DAWN_TRY_ASSIGN(mEmptyBindGroupLayout, CreateEmptyBindGroupLayout()); in Initialize() 256 DAWN_TRY_ASSIGN(mInternalPipelineStore->dummyFragmentShader, in Initialize() 648 DAWN_TRY_ASSIGN(completedSerial, CheckAndUpdateCompletedSerials()); in CheckPassedSerials() 693 DAWN_TRY_ASSIGN(result, in GetOrCreateBindGroupLayout() 784 DAWN_TRY_ASSIGN(result, CreatePipelineLayoutImpl(descriptor)); in GetOrCreatePipelineLayout() 817 DAWN_TRY_ASSIGN(result, CreateSamplerImpl(descriptor)); in GetOrCreateSampler() 857 DAWN_TRY_ASSIGN(result, CreateShaderModuleImpl(descriptor, parseResult)); in GetOrCreateShaderModule() 1261 DAWN_TRY_ASSIGN(buffer, CreateBufferImpl(descriptor)); in CreateBuffer() [all …]
|
D | RenderBundleEncoder.cpp | 33 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateColorAttachmentFormat() 45 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateDepthStencilAttachmentFormat()
|
D | Queue.cpp | 87 DAWN_TRY_ASSIGN( in UploadTextureDataAligningBytesPerRowAndOffset() 109 DAWN_TRY_ASSIGN(uploadHandle, device->GetDynamicUploader()->Allocate( in UploadTextureDataAligningBytesPerRowAndOffset() 282 DAWN_TRY_ASSIGN(uploadHandle, device->GetDynamicUploader()->Allocate( in WriteBufferImpl() 342 DAWN_TRY_ASSIGN(uploadHandle, in WriteTextureImpl()
|
D | ScratchBuffer.cpp | 36 DAWN_TRY_ASSIGN(mBuffer, mDevice->CreateBuffer(&descriptor)); in EnsureCapacity()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ResidencyManagerD3D12.cpp | 185 DAWN_TRY_ASSIGN(bytesEvicted, in EnsureCanAllocate() 214 DAWN_TRY_ASSIGN(pageable, RemoveSingleEntryFromLRU(memorySegment)); in EnsureCanMakeResident() 301 DAWN_TRY_ASSIGN(bytesEvicted, EnsureCanMakeResident(sizeToMakeResident, segment)); in MakeAllocationsResident() 321 DAWN_TRY_ASSIGN(sizeEvicted, EnsureCanMakeResident(kAdditonalSizeToEvict, segment)); in MakeAllocationsResident()
|
D | ShaderModuleD3D12.cpp | 224 DAWN_TRY_ASSIGN(dxcVersion, GetDXCompilerVersion(device->GetDxcValidator())); in Create() 458 DAWN_TRY_ASSIGN(entryPointW, ConvertStringToWstring(request.entryPointName)); in CompileShaderDXC() 640 DAWN_TRY_ASSIGN(transformedProgram, in TranslateToHLSL() 688 DAWN_TRY_ASSIGN(hlslSource, TranslateToHLSL(request, &remappedEntryPoint)); in CompileShader() 697 DAWN_TRY_ASSIGN(compiledShader->compiledDXCShader, in CompileShader() 701 DAWN_TRY_ASSIGN(compiledShader->compiledFXCShader, in CompileShader() 771 DAWN_TRY_ASSIGN(programAsValue, in Compile() 795 DAWN_TRY_ASSIGN( in Compile() 801 DAWN_TRY_ASSIGN(shaderCacheKey, request.CreateCacheKey()); in Compile() 803 DAWN_TRY_ASSIGN( in Compile()
|
D | BufferD3D12.cpp | 153 DAWN_TRY_ASSIGN( in Initialize() 164 DAWN_TRY_ASSIGN(commandRecordingContext, in Initialize() 176 DAWN_TRY_ASSIGN(commandRecordingContext, in Initialize() 358 DAWN_TRY_ASSIGN(commandContext, ToBackend(GetDevice())->GetPendingCommandContext()); in MapAsyncImpl() 481 DAWN_TRY_ASSIGN(uploadHandle, in ClearBuffer()
|
D | DeviceD3D12.cpp | 133 DAWN_TRY_ASSIGN( in Initialize() 137 DAWN_TRY_ASSIGN( in Initialize() 266 DAWN_TRY_ASSIGN(mZeroBuffer, Buffer::Create(this, &zeroBufferDescriptor)); in CreateZeroBuffer() 282 DAWN_TRY_ASSIGN(uploadHandle, in ClearBufferToZero() 464 DAWN_TRY_ASSIGN(commandRecordingContext, GetPendingCommandContext()); in CopyFromStagingToBuffer() 469 DAWN_TRY_ASSIGN(cleared, dstBuffer->EnsureDataInitializedAsDestination( in CopyFromStagingToBuffer() 500 DAWN_TRY_ASSIGN(commandContext, GetPendingCommandContext()); in CopyFromStagingToTexture()
|
D | BindGroupLayoutD3D12.cpp | 140 DAWN_TRY_ASSIGN(viewAllocation, mViewAllocator->AllocateCPUDescriptors()); in AllocateBindGroup() 149 DAWN_TRY_ASSIGN(samplerHeapCacheEntry, device->GetSamplerHeapCache()->GetOrCreate( in AllocateBindGroup()
|
D | ResourceAllocatorManagerD3D12.cpp | 203 DAWN_TRY_ASSIGN(subAllocation, CreatePlacedResource(heapType, resourceDescriptor, in AllocateMemory() 211 DAWN_TRY_ASSIGN(directAllocation, in AllocateMemory() 309 DAWN_TRY_ASSIGN(allocation, in CreatePlacedResource()
|
D | SwapChainD3D12.cpp | 120 DAWN_TRY_ASSIGN(commandContext, device->GetPendingCommandContext()); in OnBeforePresent() 312 DAWN_TRY_ASSIGN(commandContext, device->GetPendingCommandContext()); in PresentImpl() 347 DAWN_TRY_ASSIGN(mApiTexture, Texture::Create(ToBackend(GetDevice()), &descriptor, in GetCurrentTextureViewImpl()
|
D | BackendD3D12.cpp | 93 DAWN_TRY_ASSIGN(mFactory, in Initialize() 173 DAWN_TRY_ASSIGN(adapter, CreateAdapterFromIDXGIAdapter(this, options->dxgiAdapter)); in DiscoverAdapters()
|
D | QueueD3D12.cpp | 38 DAWN_TRY_ASSIGN(commandContext, device->GetPendingCommandContext()); in SubmitImpl()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ErrorTests.cpp | 139 DAWN_TRY_ASSIGN(result, ReturnSuccess()); in TEST() 160 DAWN_TRY_ASSIGN(result, ReturnError()); in TEST() 211 DAWN_TRY_ASSIGN(result, ReturnError()); in TEST() 233 DAWN_TRY_ASSIGN(result, ReturnError()); in TEST()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BackendVk.cpp | 241 DAWN_TRY_ASSIGN(mGlobalInfo, GatherGlobalInfo(mFunctions)); in Initialize() 244 DAWN_TRY_ASSIGN(usedGlobalKnobs, CreateVkInstance(instance)); in Initialize() 253 DAWN_TRY_ASSIGN(mPhysicalDevices, GatherPhysicalDevices(mInstance, mFunctions)); in Initialize() 423 DAWN_TRY_ASSIGN(mVulkanInstances[icd], VulkanInstance::Create(instance, icd)); in DiscoverAdapters()
|
D | DeviceVk.cpp | 76 DAWN_TRY_ASSIGN(usedDeviceKnobs, CreateDevice(physicalDevice)); in Initialize() 268 DAWN_TRY_ASSIGN(fence, GetUnusedFence()); in SubmitPendingCommands() 745 DAWN_TRY_ASSIGN(*outSignalSemaphore, in ImportExternalImage() 750 DAWN_TRY_ASSIGN(importParams, in ImportExternalImage() 752 DAWN_TRY_ASSIGN(*outAllocation, in ImportExternalImage() 758 DAWN_TRY_ASSIGN(semaphore, mExternalSemaphoreService->ImportSemaphore(handle)); in ImportExternalImage() 780 DAWN_TRY_ASSIGN(semaphoreHandle, in SignalAndExportExternalTexture()
|
D | ShaderModuleVk.cpp | 93 DAWN_TRY_ASSIGN(program, RunTransforms(&robustness, parseResult->tintProgram.get(), in Initialize() 164 DAWN_TRY_ASSIGN(program, RunTransforms(&transformManager, GetTintProgram(), transformInputs, in GetTransformedModuleHandle()
|
D | SwapChainVk.cpp | 278 DAWN_TRY_ASSIGN(mVkSurface, CreateVulkanSurface(adapter, GetSurface())); in Initialize() 282 DAWN_TRY_ASSIGN(surfaceInfo, GatherSurfaceInfo(*adapter, mVkSurface)); in Initialize() 284 DAWN_TRY_ASSIGN(mConfig, ChooseConfig(surfaceInfo)); in Initialize() 635 DAWN_TRY_ASSIGN(mBlitTexture, in GetCurrentTextureViewInternal()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | PipelineGL.cpp | 95 DAWN_TRY_ASSIGN(glsl, module->TranslateToGLSL(stages[stage].entryPoint.c_str(), stage, in InitializeBase() 99 DAWN_TRY_ASSIGN(shader, CreateShader(gl, GLShaderType(stage), glsl.c_str())); in InitializeBase()
|