Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp547 const Layout glslLayout = GlslLayoutOf(type); in introducePadding() local
551 if (glslLayout.alignOf > metalLayout.alignOf && field != first) in introducePadding()
554 metalLayoutTotal.requireAlignment(glslLayout.alignOf, true); in introducePadding()
567 if (glslLayout.sizeOf > metalLayout.sizeOf && field != fields.back()) in introducePadding()
570 const size_t padAmount = glslLayout.sizeOf - metalLayout.sizeOf; in introducePadding()