Home
last modified time | relevance | path

Searched refs:CreateView (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp89 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
96 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
103 texture.CreateView(&descriptor); in TEST_F()
110 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
118 texture.CreateView(&descriptor); in TEST_F()
126 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
136 texture.CreateView(&descriptor); in TEST_F()
138 texture.CreateView(&descriptor); in TEST_F()
140 texture.CreateView(&descriptor); in TEST_F()
142 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
[all …]
DRenderPassDescriptorValidationTests.cpp73 return texture.CreateView(); in Create2DAttachment()
151 utils::ComboRenderPassDescriptor renderPass({sampledTex.CreateView()}); in TEST_F()
230 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
231 wgpu::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
289 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
300 wgpu::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
312 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
324 wgpu::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
336 wgpu::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
348 wgpu::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
[all …]
DExternalTextureTests.cpp64 externalDesc.plane0 = texture.CreateView(); in TEST_F()
76 externalDesc.plane0 = texture.CreateView(); in TEST_F()
88 externalDesc.plane0 = internalTexture.CreateView(); in TEST_F()
100 externalDesc.plane0 = internalTexture.CreateView(); in TEST_F()
113 externalDesc.plane0 = internalTexture.CreateView(); in TEST_F()
124 externalDesc.plane0 = internalTexture.CreateView(); in TEST_F()
137 externalDesc.plane0 = internalTexture.CreateView(); in TEST_F()
152 internalTexture.CreateView(&errorViewDescriptor)); in TEST_F()
170 externalDesc.plane0 = texture.CreateView(); in TEST_F()
181 wgpu::TextureView renderView = renderTexture.CreateView(); in TEST_F()
[all …]
DVideoViewsValidationTests.cpp51 ASSERT_DEVICE_ERROR(videoTexture.CreateView(&viewDesc)); in TEST_F()
56 ASSERT_DEVICE_ERROR(videoTexture.CreateView(&viewDesc)); in TEST_F()
61 ASSERT_DEVICE_ERROR(videoTexture.CreateView(&viewDesc)); in TEST_F()
74 ASSERT_DEVICE_ERROR(texture.CreateView(&viewDesc)); in TEST_F()
77 ASSERT_DEVICE_ERROR(texture.CreateView(&viewDesc)); in TEST_F()
82 ASSERT_DEVICE_ERROR(texture.CreateView(&viewDesc)); in TEST_F()
86 ASSERT_DEVICE_ERROR(texture.CreateView(&viewDesc)); in TEST_F()
97 wgpu::TextureView plane0View = yuvTexture.CreateView(&planeViewDesc); in TEST_F()
100 wgpu::TextureView plane1View = yuvTexture.CreateView(&planeViewDesc); in TEST_F()
108 plane0View = yuvTexture.CreateView(&planeViewDesc); in TEST_F()
[all …]
DStorageTextureValidationTests.cpp542 .CreateView(); in TEST_F()
570 CreateTexture(usage, kStorageTextureFormat).CreateView(); in TEST_F()
612 .CreateView(); in TEST_F()
669 wgpu::TextureView storageTextureView = texture.CreateView(&textureViewDescriptor); in TEST_F()
700 utils::ComboRenderPassDescriptor renderPassDescriptor({outputAttachment.CreateView()}); in TEST_F()
708 utils::MakeBindGroup(device, bindGroupLayout, {{0, storageTexture.CreateView()}}); in TEST_F()
729 utils::ComboRenderPassDescriptor renderPassDescriptor({outputAttachment.CreateView()}); in TEST_F()
740 {{0, storageTexture.CreateView()}, {1, storageTexture.CreateView()}}); in TEST_F()
766 utils::ComboRenderPassDescriptor renderPassDescriptor({storageTexture.CreateView()}); in TEST_F()
773 utils::MakeBindGroup(device, bindGroupLayout, {{0, storageTexture.CreateView()}}); in TEST_F()
[all …]
DRenderBundleValidationTests.cpp943 tex0.CreateView(), in TEST_F()
944 tex1.CreateView(), in TEST_F()
945 tex2.CreateView(), in TEST_F()
958 tex0.CreateView(), in TEST_F()
959 tex1.CreateView(), in TEST_F()
960 tex0.CreateView(), in TEST_F()
973 tex0.CreateView(), in TEST_F()
974 tex1.CreateView(), in TEST_F()
1012 utils::ComboRenderPassDescriptor renderPass({tex0.CreateView()}, tex1.CreateView()); in TEST_F()
1023 utils::ComboRenderPassDescriptor renderPass({tex0.CreateView()}, tex2.CreateView()); in TEST_F()
[all …]
DResourceUsageTrackingTests.cpp826 wgpu::TextureView view = texture.CreateView(); in TEST_F()
849 wgpu::TextureView view = texture.CreateView(); in TEST_F()
894 wgpu::TextureView view = texture.CreateView(); in TEST_F()
936 wgpu::TextureView view = texture.CreateView(); in TEST_F()
975 wgpu::TextureView view = texture.CreateView(); in TEST_F()
1014 wgpu::TextureView viewLayer0 = texture.CreateView(&viewDesc); in TEST_F()
1017 wgpu::TextureView viewLayer1 = texture.CreateView(&viewDesc); in TEST_F()
1071 wgpu::TextureView v0 = t0.CreateView(); in TEST_F()
1074 wgpu::TextureView v1 = t1.CreateView(); in TEST_F()
1105 wgpu::TextureView view = texture.CreateView(); in TEST_F()
[all …]
DRenderPipelineValidationTests.cpp473 {multisampledColorTexture.CreateView()}); in TEST_F()
489 {}, multisampledDepthStencilTexture.CreateView()); in TEST_F()
506 {multisampledColorTexture.CreateView()}); in TEST_F()
522 {}, multisampledDepthStencilTexture.CreateView()); in TEST_F()
539 {nonMultisampledColorTexture.CreateView()}); in TEST_F()
556 {}, nonMultisampledDepthStencilTexture.CreateView()); in TEST_F()
587 utils::ComboRenderPassDescriptor renderPassDescriptor({}, depthStencilTexture.CreateView()); in TEST_F()
602 utils::ComboRenderPassDescriptor renderPassDescriptor({}, depthStencilTexture.CreateView()); in TEST_F()
626 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_F()
627 depthStencilTexture.CreateView()); in TEST_F()
[all …]
DBindGroupValidationTests.cpp58 mSampledTextureView = mSampledTexture.CreateView(); in SetUp()
244 ASSERT_DEVICE_ERROR(errorView = mSampledTexture.CreateView(&viewDesc)); in TEST_F()
313 externalDesc.plane0 = texture.CreateView(); in TEST_F()
361 errorExternalDesciptor.plane0 = texture.CreateView(); in TEST_F()
404 wgpu::TextureView outputTextureView = outputTexture.CreateView(); in TEST_F()
422 wgpu::TextureView view = device.CreateTexture(&descriptor).CreateView(); in TEST_F()
430 view = device.CreateTexture(&descriptor).CreateView(); in TEST_F()
436 view = device.CreateTexture(&descriptor).CreateView(); in TEST_F()
452 wgpu::TextureView view = device.CreateTexture(&descriptor).CreateView(); in TEST_F()
511 utils::MakeBindGroup(device, layout, {{0, texture.CreateView()}}); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp69 texture.CreateView(&descriptor); in TEST_F()
77 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
85 texture.CreateView(&descriptor); in TEST_F()
92 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
100 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
118 texture.CreateView(&descriptor); in TEST_F()
125 texture.CreateView(&descriptor); in TEST_F()
132 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
139 ASSERT_DEVICE_ERROR(texture.CreateView(&descriptor)); in TEST_F()
157 texture.CreateView(&descriptor); in TEST_F()
[all …]
DRenderPassDescriptorValidationTests.cpp225 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
236 dawn::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
248 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
260 dawn::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
272 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
284 dawn::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
318 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
329 dawn::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
341 dawn::TextureView colorTextureView = colorTexture.CreateView(&descriptor); in TEST_F()
353 dawn::TextureView depthStencilView = depthStencilTexture.CreateView(&descriptor); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilSamplingTests.cpp255 utils::ComboRenderPassDescriptor passDescriptor({}, texture.CreateView()); in UpdateInputDepth()
265 utils::ComboRenderPassDescriptor passDescriptor({}, texture.CreateView()); in UpdateInputStencil()
294 {{0, inputTexture.CreateView(&inputViewDesc)}, {1, outputBuffer}}); in DoSamplingTestImpl()
349 {{0, inputTexture.CreateView(&inputViewDesc)}, {1, outputBuffer}}); in DoSamplingTestImpl()
504 {1, inputTexture.CreateView(&inputViewDesc)}, in DoDepthCompareRefTest()
516 utils::ComboRenderPassDescriptor passDescriptor({outputTexture.CreateView()}); in DoDepthCompareRefTest()
552 {1, inputTexture.CreateView(&inputViewDesc)}, in DoDepthCompareRefTest()
654 {0, inputTexture.CreateView(&depthViewDesc)}, in TEST_P()
656 {2, inputTexture.CreateView(&stencilViewDesc)}, in TEST_P()
663 utils::ComboRenderPassDescriptor passDescriptor({}, inputTexture.CreateView()); in TEST_P()
[all …]
DMultisampledRenderingTests.cpp34 mMultisampledColorView = mMultisampledColorTexture.CreateView(); in InitTexturesForTest()
36 mResolveView = mResolveTexture.CreateView(); in InitTexturesForTest()
39 mDepthStencilView = mDepthStencilTexture.CreateView(); in InitTexturesForTest()
331 {mMultisampledColorTexture.CreateView(&desc)}, {mResolveView}, wgpu::LoadOp::Clear, in TEST_P()
425 CreateTextureForRenderAttachment(kColorFormat, kSampleCount).CreateView(); in TEST_P()
427 wgpu::TextureView resolveView2 = resolveTexture2.CreateView(); in TEST_P()
481 wgpu::TextureView resolveView2 = resolveTexture2.CreateView(); in TEST_P()
514 wgpu::TextureView resolveView = resolveTexture.CreateView(&textureViewDescriptor); in TEST_P()
541 CreateTextureForRenderAttachment(kColorFormat, kSampleCount).CreateView(); in TEST_P()
557 wgpu::TextureView resolveView1 = resolveTexture1.CreateView(&resolveViewDescriptor1); in TEST_P()
[all …]
DStorageTextureTests.cpp568 device, pipeline.GetBindGroupLayout(0), {{0, readonlyStorageTexture.CreateView()}}); in CheckDrawsGreen()
574 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in CheckDrawsGreen()
609 {{0, readonlyStorageTexture.CreateView(&descriptor)}, {1, resultBuffer}}); in CheckResultInStorageBuffer()
633 device, pipeline.GetBindGroupLayout(0), {{0, writeonlyStorageTexture.CreateView()}}); in WriteIntoStorageTextureInRenderPass()
640 utils::ComboRenderPassDescriptor renderPassDescriptor({dummyOutputTexture.CreateView()}); in WriteIntoStorageTextureInRenderPass()
660 {{0, writeonlyStorageTexture.CreateView(&descriptor)}}); in WriteIntoStorageTextureInComputePass()
683 {{0, writeonlyStorageTexture.CreateView(&descriptor)}, in ReadWriteIntoStorageTextureInComputePass()
684 {1, readonlyStorageTexture.CreateView(&descriptor)}}); in ReadWriteIntoStorageTextureInComputePass()
884 {0, storageTexture1.CreateView()}, in TEST_P()
885 {1, storageTexture2.CreateView()}, in TEST_P()
[all …]
DTextureZeroInitTests.cpp197 wgpu::TextureView view = texture.CreateView(&viewDescriptor); in TEST_P()
242 wgpu::TextureView view = texture.CreateView(&viewDescriptor); in TEST_P()
481 utils::ComboRenderPassDescriptor renderPassDescriptor({srcTexture.CreateView()}, in TEST_P()
482 depthStencilTexture.CreateView()); in TEST_P()
523 utils::ComboRenderPassDescriptor renderPassDescriptor({srcTexture.CreateView()}, in TEST_P()
524 depthStencilTexture.CreateView()); in TEST_P()
565 utils::ComboRenderPassDescriptor renderPassDescriptor({srcTexture.CreateView()}, in TEST_P()
566 depthStencilTexture.CreateView()); in TEST_P()
609 depthStencilTexture.CreateView()); in TEST_P()
639 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
[all …]
DRenderPassTests.cpp86 utils::ComboRenderPassDescriptor renderPass({renderTarget1.CreateView()}); in TEST_P()
98 utils::ComboRenderPassDescriptor renderPass({renderTarget2.CreateView()}); in TEST_P()
124 wgpu::TextureView renderTargetView = renderTarget.CreateView(); in TEST_P()
DExternalTextureTests.cpp51 wgpu::TextureView view = texture.CreateView(); in TEST_P()
92 wgpu::TextureView externalView = sampledTexture.CreateView(); in TEST_P()
133 wgpu::TextureView renderView = renderTexture.CreateView(); in TEST_P()
DTextureViewTests.cpp219 wgpu::TextureView textureView = mTexture.CreateView(&descriptor); in Texture2DViewTest()
257 wgpu::TextureView textureView = mTexture.CreateView(&descriptor); in Texture2DArrayViewTest()
336 wgpu::TextureView cubeMapTextureView = mTexture.CreateView(&descriptor); in TextureCubeMapTest()
366 wgpu::TextureView textureView = mTexture.CreateView(&descriptor); in TEST_P()
492 wgpu::TextureView textureView = texture.CreateView(&descriptor); in TextureLayerAsColorAttachmentTest()
679 wgpu::TextureView view = texture.CreateView(); in TEST_P()
696 wgpu::TextureView view = texture.CreateView(&viewDesc); in TEST_P()
712 wgpu::TextureView view = texture.CreateView(); in TEST_P()
DClipSpaceTests.cpp73 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P()
74 depthStencilTexture.CreateView()); in TEST_P()
DReadOnlyDepthStencilAttachmentTests.cpp136 wgpu::TextureView depthStencilViewInAttachment = depthStencilTexture.CreateView(); in DoTest()
150 wgpu::TextureView depthStencilViewInBindGroup = depthStencilTexture.CreateView(&viewDesc); in DoTest()
153 utils::ComboRenderPassDescriptor passDescriptor({colorTexture.CreateView()}, in DoTest()
DCreatePipelineAsyncTests.cpp81 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in ValidateCreateRenderPipelineAsync()
294 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in TEST_P()
631 wgpu::TextureView renderTargetView = renderTarget.CreateView(); in TEST_P()
721 wgpu::TextureView renderTargetView = renderTarget.CreateView(); in TEST_P()
725 wgpu::TextureView depthStencilView = depthStencilTarget.CreateView(); in TEST_P()
794 wgpu::TextureView resolveTargetView = resolveTarget.CreateView(); in TEST_P()
798 wgpu::TextureView renderTargetView = renderTarget.CreateView(); in TEST_P()
869 renderTargetViews[i] = renderTargets[i].CreateView(); in TEST_P()
DD3D12VideoViewsTests.cpp296 wgpu::TextureView textureView = wgpuTexture.CreateView(&viewDesc); in TEST_P()
348 wgpu::TextureView textureView = wgpuTexture.CreateView(&viewDesc); in TEST_P()
405 wgpu::TextureView lumaTextureView = wgpuTexture.CreateView(&lumaViewDesc); in TEST_P()
409 wgpu::TextureView chromaTextureView = wgpuTexture.CreateView(&chromaViewDesc); in TEST_P()
DDepthStencilCopyTests.cpp96 utils::ComboRenderPassDescriptor renderPassDesc({}, texture.CreateView(&viewDesc)); in InitializeDepthTextureRegion()
127 utils::ComboRenderPassDescriptor renderPassDesc({}, texture.CreateView(&viewDesc)); in InitializeDepthStencilTextureRegion()
486 utils::ComboRenderPassDescriptor passDescriptor({}, depthStencilTexture.CreateView()); in TEST_P()
542 utils::ComboRenderPassDescriptor passDescriptor({}, depthStencilTexture.CreateView()); in TEST_P()
DVertexOnlyRenderPipelineTests.cpp59 depthStencilView = depthStencilTexture.CreateView(); in SetUp()
69 utils::ComboRenderPassDescriptor({renderTargetColor.CreateView()}, depthStencilView); in SetUp()
145 utils::ComboRenderPassDescriptor({renderTargetColor.CreateView()}, depthStencilView); in ClearAttachment()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DSubresourceTrackingPerf.cpp118 wgpu::TextureView rtView = mMaterials.CreateView(&rtViewDesc); in Step()
122 wgpu::TextureView sampleView = mMaterials.CreateView(&sampleViewDesc); in Step()

1234