Home
last modified time | relevance | path

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

/external/angle/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 …]
/external/angle/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 …]
/external/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()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp143 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
152 return createDescriptorSetLayout(vkd, device, &layoutInfo); in createDescriptorSetLayout()
DvktYCbCrViewTests.cpp146 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
155 return createDescriptorSetLayout(vkd, device, &layoutInfo); in createDescriptorSetLayout()
DvktYCbCrImageQueryTests.cpp271 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createDescriptorSetLayout() local
280 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()
/external/deqp/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()
1604 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
1613 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
DvktAtomicOperationTests.cpp747 const VkDescriptorSetLayoutCreateInfo layoutInfo = in iterate() local
756 extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp747 const VkPipelineLayoutCreateInfo layoutInfo = in iterateCompute() local
757 const auto pipelineLayout = createPipelineLayout(vkd, device, &layoutInfo); in iterateCompute()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp838 const VkDescriptorSetLayoutCreateInfo layoutInfo = in createResources() local
847 m_extraResourcesLayout = createDescriptorSetLayout(vkd, device, &layoutInfo); in createResources()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp804 StructType::OffsetInfo const *layoutInfo, unsigned numMemberDecorations, in StructTypeStorage()
806 : memberTypesAndIsBodySet(memberTypes, false), offsetInfo(layoutInfo), in StructTypeStorage()
/external/clang/lib/CodeGen/
DCGBlocks.cpp2247 auto layoutInfo = CGM.getObjCRuntime().BuildByrefLayout(CGM, type); in emitByrefStructureInit() local
2248 storeHeaderField(layoutInfo, getPointerSize(), "byref.layout"); in emitByrefStructureInit()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp2846 auto layoutInfo = CGM.getObjCRuntime().BuildByrefLayout(CGM, type); in emitByrefStructureInit() local
2847 storeHeaderField(layoutInfo, getPointerSize(), "byref.layout"); in emitByrefStructureInit()