Searched refs:maxAlignment (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/src/gpu/ |
D | GrSubRunAllocator.h | 33 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/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 1564 int maxAlignment = std140 ? baseAlignmentVec4Std140 : 0; in getBaseAlignment() local 1571 maxAlignment = std::max(maxAlignment, memberAlignment); in getBaseAlignment() 1579 RoundToPow2(size, maxAlignment); in getBaseAlignment() 1581 return maxAlignment; in getBaseAlignment() 1658 int maxAlignment = 0; in getScalarAlignment() local 1665 maxAlignment = std::max(maxAlignment, memberAlignment); in getScalarAlignment() 1670 return maxAlignment; in getScalarAlignment()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 440 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/ |
D | GrMtlUniformHandler.mm | 158 uint32_t* maxAlignment, 162 if (alignmentMask > *maxAlignment) { 163 *maxAlignment = alignmentMask;
|
D | GrMtlPipelineStateBuilder.mm | 390 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/ |
D | GrMtlUniformHandler.mm | 182 uint32_t* maxAlignment, 186 if (alignmentMask > *maxAlignment) { 187 *maxAlignment = alignmentMask;
|
D | GrMtlPipelineStateBuilder.mm | 306 uint32_t buffer_size(uint32_t offset, uint32_t maxAlignment) { 309 uint32_t offsetDiff = offset & maxAlignment; 311 offsetDiff = maxAlignment - offsetDiff + 1;
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderExecUtil.cpp | 913 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/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1624 deUint32 maxAlignment = 0; in computeVarLayout() local 1643 maxAlignment = de::max(maxAlignment, alignment); in computeVarLayout() 1657 maxAlignment = de::max(maxAlignment, vecAlignment); in computeVarLayout() 1669 const deUint32 totalSize = (deUint32)deAlign32(curOffset, maxAlignment); in computeVarLayout()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 450 int maxAlignment = 0; in computeInterfaceBlockMemberAlignment() local 453 … maxAlignment = de::max(maxAlignment, computeInterfaceBlockMemberAlignment(memberIter->getType())); in computeInterfaceBlockMemberAlignment() 455 return maxAlignment; in computeInterfaceBlockMemberAlignment()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cGPUShaderFP64Tests.cpp | 13731 glw::GLuint maxAlignment = 0; in getResultStride() local 13738 maxAlignment = deMaxu32(maxAlignment, alignment); in getResultStride() 13743 return deAlign32(stride, maxAlignment); in getResultStride()
|