Home
last modified time | relevance | path

Searched refs:maxAlignment (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/
DGrSubRunAllocator.h33 int requestedSize, int assumedAlignment, int blockSize, int maxAlignment) { in MinimumSizeWithOverhead() argument
35 SkASSERT_RELEASE(SkIsPow2(assumedAlignment) && SkIsPow2(maxAlignment)); in MinimumSizeWithOverhead()
37 const int minAlignment = std::min(maxAlignment, assumedAlignment); in MinimumSizeWithOverhead()
58 + maxAlignment - minAlignment; in MinimumSizeWithOverhead()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp440 uint32_t* maxAlignment, in get_ubo_aligned_offset() argument
444 if (alignmentMask > *maxAlignment) { in get_ubo_aligned_offset()
445 *maxAlignment = alignmentMask; in get_ubo_aligned_offset()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm158 uint32_t* maxAlignment,
162 if (alignmentMask > *maxAlignment) {
163 *maxAlignment = alignmentMask;
DGrMtlPipelineStateBuilder.mm390 static uint32_t buffer_size(uint32_t offset, uint32_t maxAlignment) {
393 uint32_t offsetDiff = offset & maxAlignment;
395 offsetDiff = maxAlignment - offsetDiff + 1;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm306 uint32_t buffer_size(uint32_t offset, uint32_t maxAlignment) {
309 uint32_t offsetDiff = offset & maxAlignment;
311 offsetDiff = maxAlignment - offsetDiff + 1;
DGrMtlUniformHandler.mm182 uint32_t* maxAlignment,
186 if (alignmentMask > *maxAlignment) {
187 *maxAlignment = alignmentMask;
/third_party/glslang/glslang/MachineIndependent/
DlinkValidate.cpp2118 int maxAlignment = std140 ? baseAlignmentVec4Std140 : 0; in getBaseAlignment() local
2125 maxAlignment = std::max(maxAlignment, memberAlignment); in getBaseAlignment()
2133 RoundToPow2(size, maxAlignment); in getBaseAlignment()
2135 return maxAlignment; in getBaseAlignment()
2212 int maxAlignment = 0; in getScalarAlignment() local
2219 maxAlignment = std::max(maxAlignment, memberAlignment); in getScalarAlignment()
2224 return maxAlignment; in getScalarAlignment()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderExecUtil.cpp913 deUint32 maxAlignment = 0; in computeVarLayout() local
931 maxAlignment = de::max(maxAlignment, alignment); in computeVarLayout()
945 maxAlignment = de::max(maxAlignment, vecAlignment); in computeVarLayout()
957 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp450 int maxAlignment = 0; in computeInterfaceBlockMemberAlignment() local
453maxAlignment = de::max(maxAlignment, computeInterfaceBlockMemberAlignment(memberIter->getType())); in computeInterfaceBlockMemberAlignment()
455 return maxAlignment; in computeInterfaceBlockMemberAlignment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp450 int maxAlignment = 0; in computeInterfaceBlockMemberAlignment() local
453maxAlignment = de::max(maxAlignment, computeInterfaceBlockMemberAlignment(memberIter->getType())); in computeInterfaceBlockMemberAlignment()
455 return maxAlignment; in computeInterfaceBlockMemberAlignment()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1627 deUint32 maxAlignment = 0; in computeVarLayout() local
1646 maxAlignment = de::max(maxAlignment, alignment); in computeVarLayout()
1660 maxAlignment = de::max(maxAlignment, vecAlignment); in computeVarLayout()
1672 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1627 deUint32 maxAlignment = 0; in computeVarLayout() local
1646 maxAlignment = de::max(maxAlignment, alignment); in computeVarLayout()
1660 maxAlignment = de::max(maxAlignment, vecAlignment); in computeVarLayout()
1672 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp13741 glw::GLuint maxAlignment = 0; in getResultStride() local
13748 maxAlignment = deMaxu32(maxAlignment, alignment); in getResultStride()
13753 return deAlign32(stride, maxAlignment); in getResultStride()