Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp460 if (builtins.glClipDistance.enabled) in generateVaryingLinkHLSL()
462 ASSERT(builtins.glClipDistance.indexOrSize > 0 && builtins.glClipDistance.indexOrSize < 9); in generateVaryingLinkHLSL()
463 for (unsigned int i = 0; i < (builtins.glClipDistance.indexOrSize + 3) >> 2; i++) in generateVaryingLinkHLSL()
465 unsigned int size = std::min(builtins.glClipDistance.indexOrSize - 4u * i, 4u); in generateVaryingLinkHLSL()
467 << " : " << builtins.glClipDistance.str() << i << ";\n"; in generateVaryingLinkHLSL()
624 if (vertexBuiltins.glClipDistance.enabled) in generateShaderLinkHLSL()
626 ASSERT(vertexBuiltins.glClipDistance.indexOrSize > 0 && in generateShaderLinkHLSL()
627 vertexBuiltins.glClipDistance.indexOrSize < 9); in generateShaderLinkHLSL()
629 switch (vertexBuiltins.glClipDistance.indexOrSize) in generateShaderLinkHLSL()
644 if (vertexBuiltins.glClipDistance.indexOrSize > 4) in generateShaderLinkHLSL()
[all …]
DDynamicHLSL.h108 BuiltinVarying glClipDistance; member