Home
last modified time | relevance | path

Searched refs:bindingType (Results 1 – 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupLayout.cpp72 BindingInfoType bindingType; in ValidateBindGroupLayoutEntry() local
77 bindingType = BindingInfoType::Buffer; in ValidateBindGroupLayoutEntry()
95 bindingType = BindingInfoType::Sampler; in ValidateBindGroupLayoutEntry()
100 bindingType = BindingInfoType::Texture; in ValidateBindGroupLayoutEntry()
118 bindingType = BindingInfoType::StorageTexture; in ValidateBindGroupLayoutEntry()
138 bindingType = BindingInfoType::ExternalTexture; in ValidateBindGroupLayoutEntry()
148 bindingType, entry.visibility, allowedStages); in ValidateBindGroupLayoutEntry()
187 if (a.visibility != b.visibility || a.bindingType != b.bindingType) { in operator !=()
191 switch (a.bindingType) { in operator !=()
229 bindingInfo.bindingType = BindingInfoType::Buffer; in CreateBindGroupLayoutInfo()
[all …]
DBindGroup.cpp48 ASSERT(bindingInfo.bindingType == BindingInfoType::Buffer); in ValidateBufferBinding()
138 switch (bindingInfo.bindingType) { in ValidateTextureBinding()
211 ASSERT(bindingInfo.bindingType == BindingInfoType::Sampler); in ValidateSamplerBinding()
302 switch (bindingInfo.bindingType) { in ValidateBindGroupDescriptor()
456 ASSERT(mLayout->GetBindingInfo(bindingIndex).bindingType == BindingInfoType::Buffer); in GetBindingAsBufferBinding()
465 ASSERT(mLayout->GetBindingInfo(bindingIndex).bindingType == BindingInfoType::Sampler); in GetBindingAsSampler()
472 ASSERT(mLayout->GetBindingInfo(bindingIndex).bindingType == BindingInfoType::Texture || in GetBindingAsTextureView()
473 mLayout->GetBindingInfo(bindingIndex).bindingType == in GetBindingAsTextureView()
481 ASSERT(mLayout->GetBindingInfo(bindingIndex).bindingType == in GetBindingAsExternalTexture()
DShaderModule.cpp490 DAWN_INVALID_IF(layoutInfo.bindingType != shaderInfo.bindingType, in ValidateCompatibilityOfSingleBindingWithLayout()
500 switch (layoutInfo.bindingType) { in ValidateCompatibilityOfSingleBindingWithLayout()
877 info->bindingType = TintResourceTypeToBindingInfoType(resource.resource_type); in ReflectShaderUsingTint()
879 switch (info->bindingType) { in ReflectShaderUsingTint()
1137 ASSERT(textureInfo.bindingType != BindingInfoType::Buffer && in ValidateCompatibilityWithPipelineLayout()
1138 textureInfo.bindingType != BindingInfoType::Sampler && in ValidateCompatibilityWithPipelineLayout()
1139 textureInfo.bindingType != BindingInfoType::StorageTexture); in ValidateCompatibilityWithPipelineLayout()
1141 if (textureInfo.bindingType != BindingInfoType::Texture) { in ValidateCompatibilityWithPipelineLayout()
DPassResourceUsageTracker.cpp87 switch (bindingInfo.bindingType) { in AddBindGroup()
190 switch (bindingInfo.bindingType) { in AddResourcesReferencedByBindGroup()
DBindingInfo.h62 BindingInfoType bindingType; member
DProgrammableEncoder.cpp138 ASSERT(bindingInfo.bindingType == BindingInfoType::Buffer); in ValidateSetBindGroup()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DStorageTextureValidationTests.cpp281 for (wgpu::StorageTextureAccess bindingType : kSupportedStorageTextureAccess) { in TEST_F() local
283 std::string computeShader = CreateComputeShaderWithStorageTexture(bindingType, format); in TEST_F()
297 for (wgpu::StorageTextureAccess bindingType : kSupportedStorageTextureAccess) { in TEST_F() local
300 CreateComputeShaderWithStorageTexture(bindingType, kFormat, dimension); in TEST_F()
314 for (wgpu::StorageTextureAccess bindingType : kSupportedStorageTextureAccess) { in TEST_F() local
317 device, {{0, wgpu::ShaderStage::Compute, bindingType, kFormat, dimension}})); in TEST_F()
378 for (wgpu::StorageTextureAccess bindingType : kSupportedStorageTextureAccess) { in TEST_F() local
379 errorBindGroupLayoutEntry.storageTexture.access = bindingType; in TEST_F()
391 for (wgpu::StorageTextureAccess bindingType : kSupportedStorageTextureAccess) { in TEST_F() local
394 bindGroupLayoutBinding.storageTexture.access = bindingType; in TEST_F()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fAtomicCounterTests.cpp96 , bindingType (BINDINGTYPE_BASIC) in TestSpec()
106 BindingType bindingType; member
183 switch (spec.bindingType) in generateShaderSource()
265 switch (spec.bindingType) in generateShaderSource()
928 …setType == OFFSETTYPE_INVALID_DEFAULT || m_spec.bindingType == BINDINGTYPE_INVALID || m_spec.bindi… in iterate()
1179 string layoutTypesToName (const AtomicCounterTest::BindingType& bindingType, const AtomicCounterTes… in layoutTypesToName() argument
1183 switch (bindingType) in layoutTypesToName()
1197 …if (bindingType != AtomicCounterTest::BINDINGTYPE_BASIC && offsetType != AtomicCounterTest::OFFSET… in layoutTypesToName()
1237 string layoutTypesToDesc (const AtomicCounterTest::BindingType& bindingType, const AtomicCounterTes… in layoutTypesToDesc() argument
1241 switch (bindingType) in layoutTypesToDesc()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsTestsUtils.hpp90 bindingType (BindingSSBO), in SSBOData()
106 , bindingType (bindingType_) in SSBOData()
110 if (bindingType == BindingUBO) in SSBOData()
116 return (bindingType == BindingImage); in isImage()
121 return (bindingType == BindingUBO); in isUBO()
128 BindingType bindingType; member
DvktSubgroupsBasicTests.cpp1857 inputDatas[0].bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
1863 inputDatas[1].bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
1871 inputDatas[2].bindingType = subgroups::SSBOData::BindingImage; in noSSBOtest()
2099 inputDatas[index + 3].bindingType = subgroups::SSBOData::BindingImage; in test()
2154 inputDatas[index + perStageNdx].bindingType = subgroups::SSBOData::BindingSSBO; in test()
2171 inputDatas[index + 3].bindingType = subgroups::SSBOData::BindingImage; in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.hpp90 bindingType (BindingSSBO), in SSBOData()
106 , bindingType (bindingType_) in SSBOData()
110 if (bindingType == BindingUBO) in SSBOData()
116 return (bindingType == BindingImage); in isImage()
121 return (bindingType == BindingUBO); in isUBO()
128 BindingType bindingType; member
DvktSubgroupsBasicTests.cpp1857 inputDatas[0].bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
1863 inputDatas[1].bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
1871 inputDatas[2].bindingType = subgroups::SSBOData::BindingImage; in noSSBOtest()
2099 inputDatas[index + 3].bindingType = subgroups::SSBOData::BindingImage; in test()
2154 inputDatas[index + perStageNdx].bindingType = subgroups::SSBOData::BindingSSBO; in test()
2171 inputDatas[index + 3].bindingType = subgroups::SSBOData::BindingImage; in test()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp80 const spirv_cross::Compiler& compiler, BindingInfoType bindingType, in ExtractSpirvInfo()
106 info->bindingType = bindingType; in ExtractSpirvInfo()
108 switch (bindingType) { in ExtractSpirvInfo()
DBindGroupGL.cpp33 if (bindingInfo.bindingType == BindingInfoType::StorageTexture) { in ValidateGLBindGroupDescriptor()
DPipelineLayoutGL.cpp38 switch (bindingInfo.bindingType) { in PipelineLayout()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp125 dawn::BindingType bindingType) { in ExtractSpirvInfo() argument
143 info.type = bindingType; in ExtractSpirvInfo()
/third_party/node/deps/acorn/acorn/dist/
Dacorn.js2057 pp$2.checkLValSimple = function(expr, bindingType, checkClashes) { argument
2058 if ( bindingType === void 0 ) bindingType = BIND_NONE;
2060 var isBind = bindingType !== BIND_NONE;
2067 if (bindingType === BIND_LEXICAL && expr.name === "let")
2074 if (bindingType !== BIND_OUTSIDE) { this.declareName(expr.name, bindingType, expr.start); }
2088 return this.checkLValSimple(expr.expression, bindingType, checkClashes)
2095 pp$2.checkLValPattern = function(expr, bindingType, checkClashes) { argument
2096 if ( bindingType === void 0 ) bindingType = BIND_NONE;
2103 this.checkLValInnerPattern(prop, bindingType, checkClashes);
2111 if (elem) { this.checkLValInnerPattern(elem, bindingType, checkClashes); }
[all …]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc1622 ::dawn::BindingType bindingType; in AttachBuffersAndTextures()
1626 bindingType = ::dawn::BindingType::StorageBuffer; in AttachBuffersAndTextures()
1631 bindingType = ::dawn::BindingType::UniformBuffer; in AttachBuffersAndTextures()
1661 layout_info.type = bindingType; in AttachBuffersAndTextures()
1721 ::dawn::BindingType bindingType; in AttachBuffers()
1725 bindingType = ::dawn::BindingType::StorageBuffer; in AttachBuffers()
1730 bindingType = ::dawn::BindingType::UniformBuffer; in AttachBuffers()
1760 layout_info.type = bindingType; in AttachBuffers()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DPipelineLayoutMTL.mm48 switch (bindingInfo.bindingType) {
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerHeapCacheD3D12.cpp106 if (bindingInfo.bindingType == BindingInfoType::Sampler) { in GetOrCreate()
DBindGroupLayoutD3D12.cpp27 switch (bindingInfo.bindingType) { in WGPUBindingInfoToDescriptorRangeType()
DBindGroupD3D12.cpp57 switch (bindingInfo.bindingType) { in BindGroup()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp66 switch (bindingInfo.bindingType) { in BindGroup()
DBindGroupLayoutVk.cpp51 switch (bindingInfo.bindingType) { in VulkanDescriptorType()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp2534 for (gl::BufferBinding bindingType : angle::AllEnums<gl::BufferBinding>()) in validateState()
2537 if (bindingType == gl::BufferBinding::AtomicCounter || in validateState()
2538 bindingType == gl::BufferBinding::DispatchIndirect || in validateState()
2539 bindingType == gl::BufferBinding::ShaderStorage) in validateState()
2548 if (bindingType == gl::BufferBinding::TransformFeedback) in validateState()
2553 GLenum bindingTypeGL = nativegl::GetBufferBindingQuery(bindingType); in validateState()
2554 std::string localName = "mBuffers[" + ToString(bindingType) + "]"; in validateState()
2555 ValidateStateHelper(mFunctions, mBuffers[bindingType], bindingTypeGL, localName.c_str(), in validateState()
2556 nativegl::GetBufferBindingString(bindingType).c_str()); in validateState()

12