Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp471 if (builtins.glCullDistance.enabled) in generateVaryingLinkHLSL()
473 ASSERT(builtins.glCullDistance.indexOrSize > 0 && builtins.glCullDistance.indexOrSize < 9); in generateVaryingLinkHLSL()
474 for (unsigned int i = 0; i < (builtins.glCullDistance.indexOrSize + 3) >> 2; i++) in generateVaryingLinkHLSL()
476 unsigned int size = std::min(builtins.glCullDistance.indexOrSize - 4u * i, 4u); in generateVaryingLinkHLSL()
478 << " : " << builtins.glCullDistance.str() << i << ";\n"; in generateVaryingLinkHLSL()
668 if (vertexBuiltins.glCullDistance.enabled) in generateShaderLinkHLSL()
670 ASSERT(vertexBuiltins.glCullDistance.indexOrSize > 0 && in generateShaderLinkHLSL()
671 vertexBuiltins.glCullDistance.indexOrSize < 9); in generateShaderLinkHLSL()
673 switch (vertexBuiltins.glCullDistance.indexOrSize) in generateShaderLinkHLSL()
688 if (vertexBuiltins.glCullDistance.indexOrSize > 4) in generateShaderLinkHLSL()
[all …]
DDynamicHLSL.h109 BuiltinVarying glCullDistance; member