Home
last modified time | relevance | path

Searched refs:storageTexture (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupLayout.cpp116 if (entry.storageTexture.access != wgpu::StorageTextureAccess::Undefined) { in ValidateBindGroupLayoutEntry()
119 const StorageTextureBindingLayout& storageTexture = entry.storageTexture; in ValidateBindGroupLayoutEntry() local
120 DAWN_TRY(ValidateStorageTextureAccess(storageTexture.access)); in ValidateBindGroupLayoutEntry()
121 DAWN_TRY(ValidateStorageTextureFormat(device, storageTexture.format)); in ValidateBindGroupLayoutEntry()
124 if (storageTexture.viewDimension != wgpu::TextureViewDimension::Undefined) { in ValidateBindGroupLayoutEntry()
125 DAWN_TRY(ValidateTextureViewDimension(storageTexture.viewDimension)); in ValidateBindGroupLayoutEntry()
126 DAWN_TRY(ValidateStorageTextureViewDimension(storageTexture.viewDimension)); in ValidateBindGroupLayoutEntry()
129 if (storageTexture.access == wgpu::StorageTextureAccess::WriteOnly) { in ValidateBindGroupLayoutEntry()
203 return a.storageTexture.access != b.storageTexture.access || in operator !=()
204 a.storageTexture.viewDimension != b.storageTexture.viewDimension || in operator !=()
[all …]
DPipelineLayout.cpp117 modifiedEntry->storageTexture.access == mergedEntry.storageTexture.access; in CreateDefault()
142 if (modifiedEntry->storageTexture.access != wgpu::StorageTextureAccess::Undefined) { in CreateDefault()
145 modifiedEntry->storageTexture.format == mergedEntry.storageTexture.format && in CreateDefault()
146 modifiedEntry->storageTexture.viewDimension == in CreateDefault()
147 mergedEntry.storageTexture.viewDimension; in CreateDefault()
218 entry.storageTexture.access = shaderBinding.storageTexture.access; in CreateDefault()
219 entry.storageTexture.format = shaderBinding.storageTexture.format; in CreateDefault()
220 entry.storageTexture.viewDimension = shaderBinding.storageTexture.viewDimension; in CreateDefault()
DShaderModule.cpp523 ASSERT(layoutInfo.storageTexture.format != wgpu::TextureFormat::Undefined); in ValidateCompatibilityOfSingleBindingWithLayout()
524 ASSERT(shaderInfo.storageTexture.format != wgpu::TextureFormat::Undefined); in ValidateCompatibilityOfSingleBindingWithLayout()
527 layoutInfo.storageTexture.access != shaderInfo.storageTexture.access, in ValidateCompatibilityOfSingleBindingWithLayout()
530 layoutInfo.storageTexture.access, shaderInfo.storageTexture.access); in ValidateCompatibilityOfSingleBindingWithLayout()
533 layoutInfo.storageTexture.format != shaderInfo.storageTexture.format, in ValidateCompatibilityOfSingleBindingWithLayout()
536 layoutInfo.storageTexture.format, shaderInfo.storageTexture.format); in ValidateCompatibilityOfSingleBindingWithLayout()
538 DAWN_INVALID_IF(layoutInfo.storageTexture.viewDimension != in ValidateCompatibilityOfSingleBindingWithLayout()
539 shaderInfo.storageTexture.viewDimension, in ValidateCompatibilityOfSingleBindingWithLayout()
542 layoutInfo.storageTexture.viewDimension, in ValidateCompatibilityOfSingleBindingWithLayout()
543 shaderInfo.storageTexture.viewDimension); in ValidateCompatibilityOfSingleBindingWithLayout()
[all …]
DBindGroup.cpp175 texture->GetFormat().format != bindingInfo.storageTexture.format, in ValidateTextureBinding()
177 texture, bindingInfo.storageTexture.format); in ValidateTextureBinding()
181 bindingInfo.storageTexture.viewDimension, in ValidateTextureBinding()
184 bindingInfo.storageTexture.viewDimension); in ValidateTextureBinding()
DBindingInfo.h68 StorageTextureBindingLayout storageTexture; member
DShaderModule.h147 StorageTextureBindingLayout storageTexture; member
DBindingInfo.cpp86 } else if (entry.storageTexture.access != wgpu::StorageTextureAccess::Undefined) { in IncrementBindingCounts()
DPassResourceUsageTracker.cpp117 switch (bindingInfo.storageTexture.access) { in AddBindGroup()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DStorageTextureValidationTests.cpp361 if (bindingLayoutEntry.storageTexture.access == bindingTypeInShader) { in TEST_F()
376 errorBindGroupLayoutEntry.storageTexture.format = wgpu::TextureFormat::Undefined; in TEST_F()
379 errorBindGroupLayoutEntry.storageTexture.access = bindingType; in TEST_F()
394 bindGroupLayoutBinding.storageTexture.access = bindingType; in TEST_F()
395 bindGroupLayoutBinding.storageTexture.format = textureFormat; in TEST_F()
437 bindGroupLayoutBinding.storageTexture.format = in TEST_F()
487 bindGroupLayoutBinding.storageTexture.viewDimension = dimensionInBindGroupLayout; in TEST_F()
518 bindGroupLayoutBinding.storageTexture.access = storageBindingType; in TEST_F()
519 bindGroupLayoutBinding.storageTexture.format = kStorageTextureFormat; in TEST_F()
562 bindGroupLayoutBinding.storageTexture.access = storageBindingType; in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
DWGPUHelpers.cpp128 storageTexture.access = storageTextureAccess; in BindingLayoutEntryInitializationHelper()
129 storageTexture.format = format; in BindingLayoutEntryInitializationHelper()
130 storageTexture.viewDimension = textureViewDimension; in BindingLayoutEntryInitializationHelper()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp294 storageTexture.access = storageTextureAccess; in BindingLayoutEntryInitializationHelper()
295 storageTexture.format = format; in BindingLayoutEntryInitializationHelper()
296 storageTexture.viewDimension = textureViewDimension; in BindingLayoutEntryInitializationHelper()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp160 info->storageTexture.access = wgpu::StorageTextureAccess::WriteOnly; in ExtractSpirvInfo()
180 info->storageTexture.format = storageTextureFormat; in ExtractSpirvInfo()
181 info->storageTexture.viewDimension = in ExtractSpirvInfo()
DCommandBufferGL.cpp342 switch (bindingInfo.storageTexture.access) { in ApplyBindGroup()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBindGroupLayoutD3D12.cpp49 switch (bindingInfo.storageTexture.access) { in WGPUBindingInfoToDescriptorRangeType()
DBindGroupD3D12.cpp162 switch (bindingInfo.storageTexture.access) { in BindGroup()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DConverter.cpp960 Convert(out.texture, in.texture) && Convert(out.storageTexture, in.storageTexture); in Convert()