Home
last modified time | relevance | path

Searched refs:DAWN_TRY_ASSIGN (Results 1 – 25 of 68) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DQueryHelper.cpp117 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()
DCopyTextureForBrowserHelper.cpp193 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()
DComputePassEncoder.cpp47 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()
DIndirectDrawValidationEncoder.cpp142 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()
DDynamicUploader.cpp36 DAWN_TRY_ASSIGN(stagingBuffer, mDevice->CreateStagingBuffer(allocationSize)); in AllocateInternal()
82 DAWN_TRY_ASSIGN(stagingBuffer, in AllocateInternal()
120 DAWN_TRY_ASSIGN(uploadHandle, in Allocate()
DShaderModule.cpp681 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 …]
DDevice.cpp137 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 …]
DRenderBundleEncoder.cpp33 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateColorAttachmentFormat()
45 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateDepthStencilAttachmentFormat()
DQueue.cpp87 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()
DScratchBuffer.cpp36 DAWN_TRY_ASSIGN(mBuffer, mDevice->CreateBuffer(&descriptor)); in EnsureCapacity()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DResidencyManagerD3D12.cpp185 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()
DShaderModuleD3D12.cpp224 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()
DBufferD3D12.cpp153 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()
DDeviceD3D12.cpp133 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()
DBindGroupLayoutD3D12.cpp140 DAWN_TRY_ASSIGN(viewAllocation, mViewAllocator->AllocateCPUDescriptors()); in AllocateBindGroup()
149 DAWN_TRY_ASSIGN(samplerHeapCacheEntry, device->GetSamplerHeapCache()->GetOrCreate( in AllocateBindGroup()
DResourceAllocatorManagerD3D12.cpp203 DAWN_TRY_ASSIGN(subAllocation, CreatePlacedResource(heapType, resourceDescriptor, in AllocateMemory()
211 DAWN_TRY_ASSIGN(directAllocation, in AllocateMemory()
309 DAWN_TRY_ASSIGN(allocation, in CreatePlacedResource()
DSwapChainD3D12.cpp120 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()
DBackendD3D12.cpp93 DAWN_TRY_ASSIGN(mFactory, in Initialize()
173 DAWN_TRY_ASSIGN(adapter, CreateAdapterFromIDXGIAdapter(this, options->dxgiAdapter)); in DiscoverAdapters()
DQueueD3D12.cpp38 DAWN_TRY_ASSIGN(commandContext, device->GetPendingCommandContext()); in SubmitImpl()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DErrorTests.cpp139 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/
DBackendVk.cpp241 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()
DDeviceVk.cpp76 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()
DShaderModuleVk.cpp93 DAWN_TRY_ASSIGN(program, RunTransforms(&robustness, parseResult->tintProgram.get(), in Initialize()
164 DAWN_TRY_ASSIGN(program, RunTransforms(&transformManager, GetTintProgram(), transformInputs, in GetTransformedModuleHandle()
DSwapChainVk.cpp278 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/
DPipelineGL.cpp95 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()

123