Lines Matching refs:compareFuncs
729 static const deUint32 compareFuncs[] =
763 params.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs));
775 params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs));
787 } compareFuncs[] =
838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++)
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++)
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs));
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs));
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_";
854 name << "depth_" << compareFuncs[depthFunc].name;
858 params.depthFunc = hasDepthFunc ? compareFuncs[depthFunc].func : 0;
873 params.stencil[visible].function = hasStencilFunc ? compareFuncs[stencilFunc].func : 0;