Home
last modified time | relevance | path

Searched refs:layoutInfo (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp78 const sh::BlockMemberInfo &layoutInfo, in UpdateDefaultUniformBlock() argument
83 uint8_t *dst = uniformData->data() + layoutInfo.offset; in UpdateDefaultUniformBlock()
84 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in UpdateDefaultUniformBlock()
86 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
98 const int arrayOffset = writeIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
111 const sh::BlockMemberInfo &layoutInfo, in ReadFromDefaultUniformBlock() argument
114 ASSERT(layoutInfo.offset != -1); in ReadFromDefaultUniformBlock()
117 const uint8_t *source = uniformData->data() + layoutInfo.offset; in ReadFromDefaultUniformBlock()
119 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in ReadFromDefaultUniformBlock()
121 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp71 const auto& layoutInfo = GetLayout()->GetBindingInfo(); in BindGroup() local
72 for (uint32_t bindingIndex : IterateBitSet(layoutInfo.mask)) { in BindGroup()
80 write.descriptorType = VulkanDescriptorType(layoutInfo.types[bindingIndex], in BindGroup()
81 layoutInfo.dynamic[bindingIndex]); in BindGroup()
83 switch (layoutInfo.types[bindingIndex]) { in BindGroup()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp79 const sh::BlockMemberInfo &layoutInfo, in UpdateDefaultUniformBlock() argument
84 uint8_t *dst = uniformData->data() + layoutInfo.offset; in UpdateDefaultUniformBlock()
85 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in UpdateDefaultUniformBlock()
87 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
99 const int arrayOffset = writeIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
112 const sh::BlockMemberInfo &layoutInfo, in ReadFromDefaultUniformBlock() argument
115 ASSERT(layoutInfo.offset != -1); in ReadFromDefaultUniformBlock()
118 const uint8_t *source = uniformData->data() + layoutInfo.offset; in ReadFromDefaultUniformBlock()
120 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in ReadFromDefaultUniformBlock()
122 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp487 const BindingInfo& layoutInfo = layout->GetBindingInfo(bindingIndex); in ValidateCompatibilityOfSingleBindingWithLayout() local
490 DAWN_INVALID_IF(layoutInfo.bindingType != shaderInfo.bindingType, in ValidateCompatibilityOfSingleBindingWithLayout()
496 (layoutInfo.visibility & StageBit(entryPointStage)) == 0, in ValidateCompatibilityOfSingleBindingWithLayout()
498 layoutInfo.visibility); in ValidateCompatibilityOfSingleBindingWithLayout()
500 switch (layoutInfo.bindingType) { in ValidateCompatibilityOfSingleBindingWithLayout()
503 layoutInfo.texture.multisampled != shaderInfo.texture.multisampled, in ValidateCompatibilityOfSingleBindingWithLayout()
506 layoutInfo.texture.multisampled, shaderInfo.texture.multisampled); in ValidateCompatibilityOfSingleBindingWithLayout()
509 DAWN_INVALID_IF((SampleTypeToSampleTypeBit(layoutInfo.texture.sampleType) & in ValidateCompatibilityOfSingleBindingWithLayout()
515 layoutInfo.texture.viewDimension != shaderInfo.texture.viewDimension, in ValidateCompatibilityOfSingleBindingWithLayout()
518 layoutInfo.texture.viewDimension, shaderInfo.texture.viewDimension); in ValidateCompatibilityOfSingleBindingWithLayout()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DBindGroup.cpp101 const BindGroupLayoutBase::LayoutBindingInfo& layoutInfo = in ValidateBindGroupDescriptor() local
104 if (descriptor->bindingCount != layoutInfo.mask.count()) { in ValidateBindGroupDescriptor()
118 if (!layoutInfo.mask[bindingIndex]) { in ValidateBindGroupDescriptor()
128 switch (layoutInfo.types[bindingIndex]) { in ValidateBindGroupDescriptor()
154 ASSERT(bindingsSet == layoutInfo.mask); in ValidateBindGroupDescriptor()
DShaderModule.cpp230 const auto& layoutInfo = layout->GetBindingInfo(); in IsCompatibleWithBindGroupLayout() local
233 const auto& layoutBindingType = layoutInfo.types[i]; in IsCompatibleWithBindGroupLayout()
243 if ((layoutInfo.visibilities[i] & StageBit(mExecutionModel)) == 0) { in IsCompatibleWithBindGroupLayout()
DCommandEncoder.cpp590 const auto& layoutInfo = group->GetLayout()->GetBindingInfo(); in TrackBindGroupResourceUsage() local
592 for (uint32_t i : IterateBitSet(layoutInfo.mask)) { in TrackBindGroupResourceUsage()
593 dawn::BindingType type = layoutInfo.types[i]; in TrackBindGroupResourceUsage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProgramMtl.mm110 const sh::BlockMemberInfo &layoutInfo,
115 uint8_t *dst = uniformData->data() + layoutInfo.offset;
116 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize)
118 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride;
130 const int arrayOffset = writeIndex * layoutInfo.arrayStride;
143 const sh::BlockMemberInfo &layoutInfo,
146 ASSERT(layoutInfo.offset != -1);
149 const uint8_t *source = uniformData->data() + layoutInfo.offset;
151 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize)
153 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride;
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp212 vk::DescriptorSetLayoutCreateInfo layoutInfo; in createGraphicsPipeline() local
213 layoutInfo.bindingCount = static_cast<uint32_t>(setLayoutBindings.size()); in createGraphicsPipeline()
214 layoutInfo.pBindings = setLayoutBindings.data(); in createGraphicsPipeline()
215 descriptorSetLayout = device.createDescriptorSetLayout(layoutInfo); in createGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp143 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
152 return createDescriptorSetLayout(vkd, device, &layoutInfo); in createDescriptorSetLayout()
DvktYCbCrViewTests.cpp179 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
188 return createDescriptorSetLayout(vkd, device, &layoutInfo); in createDescriptorSetLayout()
DvktYCbCrFilteringTests.cpp144 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
153 return ::createDescriptorSetLayout(m_vkd, m_device, &layoutInfo); in createDescriptorSetLayout()
DvktYCbCrImageQueryTests.cpp271 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
280 return createDescriptorSetLayout(vkd, device, &layoutInfo); in createDescriptorSetLayout()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp775 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
784 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
1239 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
1248 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
1632 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
1641 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
DvktAtomicOperationTests.cpp928 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
937 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp747 const VkPipelineLayoutCreateInfo layoutInfo = in iterateCompute() local
757 const auto pipelineLayout = createPipelineLayout(vkd, device, &layoutInfo); in iterateCompute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp839 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createResources() local
848 m_extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in createResources()